-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
193 lines (177 loc) · 2.9 KB
/
style.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
/**Styling comments...The worst of all comments.**/
html{
/* scrolls to anchor id when user clicks internal link */
scroll-behavior: smooth;
}
body{
font-family: Georgia, serif;
margin:0px;
/* Removes the springy reaction when the user scrolls to the bottom of the page **/
overscroll-behavior:none;
text-align:center;
}
figure svg{
width:100%;
}
/* Team logo icons (SVG) */
#scorpio{
width:31%;
display:inline-block;
margin:25px;
}
#aries{
width:31%;
display:inline-block;
margin:25px
}
#taurus{
width:31%;
display:inline-block;
margin:25px;
}
nav>a, h1>a, nav>a:visited{
text-decoration:none;
color:black;
}
nav>a:hover, h1>a:hover{
text-decoration:underline;
}
p, h2, li {
line-height: 150%;
color:rgb(72, 72, 72);
}
a:visited, a{
color:rgb(72,72,72)
}
/* the sidebar images */
#officers figure img{
width:100%;
border-radius:20%;
}
/* sidebar images on hover */
#officers figure img:hover{
opacity:0.8;
z-index:0;
}
li {
text-align:left;
}
ul {
display:inline-block;
margin:auto;
}
/* Remove link-like properties from images and svgs */
figure a{
text-decoration:none;
color:black;
}
a:active{
outline:none;
}
/* team logos, add background on hover */
figure a:hover circle, figure a:hover rect, figure a:hover polygon{
fill:#DDD;
}
/* Google Calendar */
iframe{
width:100%;
height:500px;
border:none;
}
h1, h2, h3 {
font-family: 'Orbitron', sans-serif;
text-align:center;
}
nav{
text-align:center;
}
figure{
text-align:center;
}
#teams{
text-align:center;
}
p{
font-size:1.2em;
text-align:left;
}
li{
font-size:1.2em;
}
#teams>figure{
width:310px;
}
#about{
margin-bottom:calc(-20px - 1.2em);
max-width: 700px;
width:90%;
display:inline-block;
}
#officers>figure {
min-width:100px;
width:10%;
margin:5px;
display:inline-block;
vertical-align:top;
}
#officers figcaption{
font-family:sans-serif;
font-weight:bold;
color:black;
font-size:0.7em;
}
.names {
font-size:1.5em;
}
/*The sidebar in the About Us section */
#officers{
text-align:center;
}
/* Top Header */
h1{
font-size:3.5em;
}
/* Sub headers of each section */
h2 {
border-bottom:1px solid #DDD;
width:300px;
margin:auto;
margin-top:10px;
margin-bottom:10px;
font-size:1.5em;
}
/* Navigation bar */
nav{
position: -webkit-sticky;
position:sticky;
top:0px;
background:#777;
padding:10px;
font-size:1.2em;
opacity:0.99;
z-index:1;
}
/* This is for anchor link purposes, so that the navigation bar doesn't overlap the header when auto scrolling to the teams section */
#teams{
padding-top:calc(20px + 1.2em);
margin-bottom:calc(-20px - 1.2em);
}
/* Same here */
#events{
padding-top:calc(20px + 1.2em);
}
/* Images in navigation bar */
nav img{
height:1em;
}
/* Medium Sized Devices */
@media screen and (min-width: 500px) and (max-width: 720px), print {
#break {
display:block;
}
}
@media print {
nav{
display:none;
}
}