forked from nodeschool/nodeschool.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
274 lines (234 loc) · 10.5 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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
body {margin: 0; padding: 0; overflow: auto; font-family: Source Sans Pro; color: #333;}
/*#ee3c30 rgb(238, 60, 48)*/
/*#AAA688*/
h1, .big-heading {font-size: 3em; margin: 10px 0;}
h2, h3 {font-size: 2em;}
h3 a { color: black; }
#international {
border-top: 3px solid black;
background-image: url(/images/international-day-bg.jpg);
background-position: center;
background-size: cover;
text-align: center;
padding-bottom: 4em;
text-shadow: 1px 1px 10px #333333;
}
#international img {
display: block;
margin-left: auto;
margin-right: auto;
width: 20%;
margin-bottom: -1.5em;
}
#international h3 {
font-size: 3em;
margin-top: 0;
margin-bottom: 0;
}
#international time {
font-size: 1.5em;
font-weight: 100;
}
#international h3, time {
color: white;
font-family: Helvetica, Arial, "sans-serif"
}
code {font-family: Source Code Pro; font-size: 12px; background: #fafafa; border-radius: 3px; padding: 3px 5px; line-height: 20px;}
img {width: 100%;}
p, li {line-height: 1.4em;}
li {padding-bottom: 4px;}
p:first-child {padding-top: 0; margin-top: 0;}
a {color: #333; text-decoration: none; border-bottom: 1px solid #888;}
a:hover {border-color: #333;}
a.imglink {border: none; outline: none;}
hr {border: 2px solid #333; margin: 0;}
header {color: #333; background-image: url('images/test-bg.png'); background-size: 25%; background-position: 0 -100px; z-index: -1; display: block; background-color: #FFE51F; background-blend-mode: multiply; }
header h1 {font-size: 500%; font-weight: 900; margin-bottom: 0px; margin-top: 20px; line-height: 1;}
header .big-link { color: #333; font-weight: bold; border-color: #333;}
header .big-link:hover { border-color: #777; color: #777; }
header h1 { text-transform: uppercase; }
header p { font-size: 1.5em; font-weight: 500; margin: 10px 0 0 0; }
header .full { width: 47%; }
header .subtitle { margin-bottom: 20px; letter-spacing: .05em; }
header .nav a {color: #333; border-color: #fff; border: none;}
header img {width: 400px; padding-right: 60px; position: relative; display: block; margin: 0 auto; padding-right: 20px; }
header .container {padding: 100px 40px;}
.events header .container,
.about header .container,
.host header .container,
.building-workshops header .container,
.chapters header .container {padding: 20px;}
.events .logo,
.about .logo,
.host .logo,
.building-workshops .logo,
.chapters .logo {padding: 15px 0;}
/*.events .first-photo,
.about .first-photo,
.host .first-photo,
.building-workshops .first-photo,
.chapters .first-photo {background-color: #CFB914;}*/
.container {clear: both;}
.container {padding: 60px 40px;}
.get-started code {font-size: 24px; background: #fff;}
.get-started h3 {margin-top: 0;}
.window-pane {height: 400px; width: 100%; background-image: url('images/hero3.jpg'); background-position: 0 -200px; background-size: 100%; background-repeat: no-repeat;}
.caption {color: #fff; font-size: 11px; padding: 40px; display: inline-block; opacity: .5;}
.other-photo {background-image: url('images/hero.jpg'); background-repeat: no-repeat; position: fixed; background-size: 100%; background-position: 0 600px; z-index: -1; display: block; height: 200%; width: 100%; }
/*ul.inner-nav {list-style: none;}
ul.inner-nav li {padding-right: 30px; display: inline;}
.inner-nav a {border-color: #F7DA03; color: #333; border-color: #F7DA03; padding: 0 10px 3px 10px; border-bottom-width: 2px;}
.inner-nav a:hover {color: #F7DA03; border-color: #F7DA03;}*/
ul.inner-nav {list-style: none;}
ul.inner-nav li {margin-right: 12px; display: inline-block; line-height: 3em;}
ul.inner-nav li:last-of-type {margin-right: 0;}
.inner-nav a {background-color: #F7DA03; color: #333; border: none; padding: 8px 12px; border-radius: 3px;}
.inner-nav a:hover {color: #fff; background-color: #333;}
span.no-break {display:inline-block;}
ul.nav {display: inline; list-style: none; color: #333; /*text-transform: uppercase;*/ font-weight: 700; letter-spacing: .1em; padding-left: 0;}
ul.nav li {display: inline; font-size: 16px; margin-right: 10px;}
ul.nav li:last-of-type {margin-right: 0;}
ul.nav li a {display: inline-block; padding: 6px 8px; border: 2px solid #333; border-radius: 3px; margin-bottom: 10px;}
ul.nav li:hover a {color: #F7DA03; background: #333; cursor: pointer;}
ul.nav li.current-page a {background: #333; color: #FFE51F;}
header .full:after {content: ''; display: block; clear: both;}
ul.nav-lang {list-style: none; margin: 0; padding: 5px 20px; text-align: right}
ul.nav-lang li {border: none; margin-right: none; display: inline;}
ul.nav-lang li a {color: #333; text-decoration: none; border-color: #333;}
ul.nav-lang li a:hover {color: #666; border-color: #666;}
ul.nav-lang li:after {content: "|"; margin-right: 5px; margin-left: 5px;}
ul.nav-lang li:last-child:after {content: none; color: #333;}
ul.nav-lang li.selected {text-decoration: none; color: #666;}
#map {width: 100%; min-height: 375px; background: #eaeaea;}
#map .past-event { border-radius: 50%; background: #9f9b9b; border: 2px solid #c6c4c4;}
.key {padding: 8px 0;}
.key span {padding-right: 12px;}
.key-past::before {content: ""; width: 12px; height: 12px; background: #A09C9C; display: inline-block; border-radius: 3px; margin-right: 8px;}
.key-future::before {content: ""; width: 12px; height: 12px; background: #F7DA03; display: inline-block; border-radius: 3px; margin-right: 8px;}
.events #map {margin: 0; padding: 0;}
.leaflet-container .leaflet-control-attribution a {border: none;}
.leaflet-container a {font-family: Source Sans Pro; color: #333;}
.half {width: 45%; display: inline-block; vertical-align: top;}
.half + .half {padding: 0 20px;}
.third {width: 30%; display: inline-block; vertical-align: top; }
.third + .third {padding-left: 30px;}
.third p, .third h3, .third h4 {margin-top: 0; line-height: 28px;}
.full {width: 63%; text-align: center; margin: 0 auto;}
.full p {font-size: 26px;}
#calendar .full, .events .workshops .full {width: 100%;}
.logo {text-align: center;}
.two-thirds {width: 60%; display: inline-block; vertical-align: top;}
.two-thirds + .third {padding-left: 30px;}
.third + .two-thirds {padding-left: 30px;}
.core-workshoppers h3,
.elective-workshoppers h3 {font-weight: 500; font-size: 3em; margin: 10px 0}
.workshopper h4 a { border-radius: 3px; font-size: 20px; padding: 6px 10px; font-family: Source Code Pro; font-weight: 500; text-decoration: none; display: block; border: none;}
.elective-workshoppers h4 a {background: #333; color: #fff;}
.core-workshoppers h4 a {background: #FFE51F; color: #333; }
.elective-workshoppers h4 a:hover {background: #000; }
.core-workshoppers h4 a:hover {background: #F7DA03;}
.workshopper {padding-bottom: 20px;}
.workshopper p{ min-height: 2.8em;}
#workshoppers {background-color: #F8F8F8; z-index: 99;}
#upcoming-workshops { margin-bottom: 15px;}
#upcoming-workshops ul { margin: 0;}
#upcoming-workshops>div { display: none; }
#upcoming-workshops>div.loading { display: block; }
#upcoming-workshops.success>div.loading,
#upcoming-workshops.empty>div.loading,
#upcoming-workshops.error>div.loading { display: none; }
#upcoming-workshops.success>div.success { display: block; }
#upcoming-workshops.error>div.error { display: block; }
#upcoming-workshops.empty>div.empty { display: block; }
.term,
.term .chrome,
.term .chrome .btn{ border:solid 2px #777;}
.term{ display: block; border-radius: 4px; margin-bottom:10px; text-align: left; }
.term .shell{ min-height:130px; overflow:hidden; }
.term .chrome{ height:34px; padding-left:4px; border-top:0 none; border-right:0 none; border-left:0 none; }
.term .chrome:before{ content:" "; display:inline-block; height:100%; vertical-align:middle; }
.term .chrome .btn{ display:inline-block; vertical-align:middle; width:8px; height:8px; border-radius:100%; }
.term .shell{ padding:10px; color:#494949; }
.term .workshopper{ background: #F8F0BD; padding:2px; }
.term .workshopper code{ border:0 none; }
.term code{ display:block; margin:12px 0; padding: 4px 10px; border-left: 8px solid #F7DA03; border-radius: 0; background:none; }
.term .chrome .btn:hover{ border-color:#404040;}
.term .chrome .btn.close:hover{ background:red; }
.term .chrome .btn.max:hover{ background:green; }
.term .chrome .btn.min:hover{ background:#F7DA03; }
.term.max{ top:0; left:0; position:absolute; width:100%; height:100%; max-width:none; }
.term.min{ position:absolute; bottom:0; }
.term.min .shell{ min-height:0; height:0; padding:0; }
.term.min .chrome{ border:0 none; }
footer {border-top: 3px solid #333; padding-top: 60px; padding-bottom: 40px; color: #333; padding-top: 20px;}
footer ul {display: inline-block; padding-right: 60px; vertical-align: top; margin: 0; padding: 0;}
footer ul + ul {padding-left: 80px;}
footer ul {list-style: none;}
footer strong {line-height: 2em;}
footer li a {font-size: 14px; text-decoration: none; border: none;}
footer a {border: none;}
footer p {margin: 0; padding: 0;}
footer .container {padding: 0 40px;}
.hexdex img.hex {width: 240px; padding: 10px;}
@media only screen and (max-width : 1366px) {
h1, .big-heading { font-size: 2.0em}
.get-started code { font-size: 12px; }
header img { height: 75px; }
header h1 { font-size: 2.0em; margin-top: 0; }
header .subtitle { margin: 0 auto 20px; width: 75%; }
header .full { width: 80%; }
.full p { font-size: 16px; }
h2 { font-size: 18px; }
h4 { font-size: 16px; }
.container { padding: 20px; }
header .container { padding: 20px; }
.full { width: 95%; }
.core-workshoppers h4 a, .elective-workshoppers h4 a { font-size: 16px; }
ul.inner-nav li {display: inline-block; line-height: 3em;}
.window-pane { display: none; }
#international img {
width: 30%;
}
}
@media (max-width: 768px) {
h1 { font-size: 2.0em; }
.container {padding: 20px;}
.first-photo {background-image: none;}
p {font-size: 1em;}
.third, .two-thirds, .full {width: 100%;}
.two-thirds + .third, .third + .third, .third + .two-thirds {padding-left: 0;}
header .container {padding: 40px 20px;}
header .full { width: 80%; }
header img {width: 100%; padding: 0;}
header h1 { font-size: 2.5em; margin-top: 0; }
header h1 span {margin: 0 -3.8px;}
header p {font-size: 1em; }
#map {margin: 0; padding: 0; width: 100%;}
.window-pane {background-position: 0 0; height: 200px;}
footer ul {width: 100%;}
footer ul + ul {padding-left: 0;}
footer li a {font-size: 14px;}
#international img {
width: 70%;
}
}
/* skip naviation links */
.skip {
position: absolute;
top: -1000px;
left: -1000px;
height: 1px;
width: 1px;
text-align: left;
overflow: hidden;
background-color: white;
}
a.skip:active,
a.skip:focus,
a.skip:hover {
left: 0;
top: 0;
width: auto;
height: auto;
overflow: visible;
}