-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
144 lines (122 loc) · 2.79 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/* All pages */
.pageContent{
margin-left: 10%;
margin-right: 10%;
}
.pageList h3{
color: #E84855;
font-size: 25px;
}
.pageList p{
font-size: 16px;
}
.pageList a{
text-decoration: none;
color: #242038;
}
.pageList a:hover{
color: #9067C6;
}
/* Homepage - index.html */
.homePage{
margin-left: 10%;
margin-right: 10%;
}
.homePage h3{
color: #242038;
font-size: 22px;
}
.homePage #discover{
color: #f2f2f2;
background-color: #EC7178;
width: 60%;
border-radius: 30px;
border: 2px solid #E84755;
text-align: center;
font-size: 18px;
margin-left: 20%;
padding-top: 2%;
padding-bottom: 2%;
}
#womenTitle{
text-align: center;
font-size: 60px;
color: #E84855;
}
#contributions table, th, td{
border: 0.5px solid #242038;
border-collapse: collapse;
text-align: center;
}
/* Navigation */
/* Add a black background color to the top navigation */
.topnav {
background-color: #9067C6;
overflow: hidden;
text-align: center;
width: 80%;
margin-left: 10%;
border-top-left-radius:30px;
border-bottom-left-radius:30px;
border-top-right-radius:30px;
border-bottom-right-radius:30px;
}
/* Style the links inside the navigation bar */
.topnav a {
display: inline-block;
text-align: center;
color: #242038;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover {
background-color: #CAC1D6;
color: #242038;
}
/* Add an active class to highlight the current page */
.topnav a.active {
background-color: #9D96CB;
color: #242038;
}
/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
display: none;
}
/* All informative pages - e.g. Marie Curie */
#WomanName{
font-size: 30px;
text-align: center;
}
#field{
font-size: 25px;
text-align: center;
}
/*** Mobile responsiveness ***/
/* Navigation */
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home").
Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
.topnav a:not(:first-child) {display: none;}
.topnav a.icon {
float: right;
display: block;
}
}
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon.
This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive a.icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
}