-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyle.css
270 lines (232 loc) · 7.43 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
* { margin: 0; padding: 0; }
body { font: 19px 'Merriweather'; letter-spacing: 0.01rem; font-weight: 300; line-height: 1.8; width: 100%; }
.clear { clear: both; }
section { margin: 0 auto; max-width: 1000px; padding-left: 20px; padding-right: 20px; }
section > header { text-align: center; margin-top: 50px; }
h1 { font-size: 35px; font-weight: 400; display: inline; }
h2 { margin-top: 40px; margin-bottom: 20px; font-size: 30px; }
h3 span { float: right; font: 22px 'Open Sans', serif; font-style: italic; font-size: 18px; color: #999; font-weight: normal; }
h3 { font-size: 20px;}
h3.margin-top { margin-top: 30px;}
p { margin: 0 0 25px 0; }
a { color: #000000; }
a:hover { text-decoration: none; }
time { color: #666; font-size: 12px; font-style: italic; }
header > time { display: block; }
.postPreview { margin: 50px 0; }
.postPreview h3 { line-height: 1; }
.postPreview img { max-width: 250px; float: right; margin-left: 20px;}
.postPreview::after {
content: "";
clear: both;
display: table;
}
article { margin: 50px auto 0 auto; max-width: 800px; }
article img { display: block; max-width: 100%; height: auto; }
hr { display: block; width: 100px; margin: 61px auto 41px auto; border: 0; border-top: 1px solid #ccc;}
footer { margin: 50px auto 0 auto; max-width: 800px; font-size: 16px; text-align: right; }
footer input[type=email] {
width: 200px;
padding: .5rem .75rem;
font-size: 1rem;
line-height: 1.25;
color: #55595c;
background-color: #fff;
background-image: none;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: 1px solid rgba(0,0,0,.15);
border-radius: .25rem; }
footer input[type=submit] {
-webkit-appearance: none;
background-color: #c0c0c0;
display: inline-block;
font-weight: 400;
line-height: 1.25;
text-align: center;
white-space: nowrap;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
padding: .5rem .5rem;
font-size: 1rem;
border-radius: .25rem;
}
img {}
img.fill { width: 100%; }
img.left { float: left; max-width: 450px; margin-right: 20px; margin-left: -100px; }
img.right { float: right; max-width: 450px; margin-left: 20px; margin-right: -100px; }
img.center { margin-left: auto; margin-right: auto; display: block; }
img.logo { max-width: 150px; max-height: 150px; margin-right: 20px; margin-top: 20px; margin-bottom: 20px; float: left; }
blockquote {
position: relative;
font-size: 0.9em;
padding-left: 1.75em;
}
blockquote:before {
position: absolute;
top: 0;
left: 0;
content: '\201C';
color: #aaa;
line-height: 40px;
font-size: 40px;
font-family: Times;
}
.twitter-follow-button {
float: left;
width: 179px;
height: 38px;
display: block;
background-image: url("images/follow-on-twitter.png");
background-size: contain;
background-repeat: no-repeat;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
.photos { margin: 0 auto; padding: 0; overflow: hidden; }
.photos li { list-style: none; float: left; margin: 0.5%; padding: 1px; background: #eee; -moz-box-shadow: 0 0 4px #444; -webkit-box-shadow: 0 0 2px #000; width: 15%; height: 150px; }
.photos li div { background-size: cover; background-position: center; background-repeat: no-repeat; width: 100%; height: 100%; }
.photos li a { }
.photos li img { width: 100%; height: 100%; object-fit: cover; /* Do not scale the image */ object-position: center; /* Center the image within the element */ }
.photos li a img { border: none; }
ul { margin: 0 0 16px 17px; }
#corner-logo {
position: absolute; top: 0; left: 0; border: 0;
width: 175px;
height: 175px;
background-image: url('images/corner.png');
background-size: 100%;
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
filter: gray; /* IE6-9 */
-webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}
#corner-logo:hover {
filter: none;
-webkit-filter: grayscale(0%);
}
.video-container {
position:relative;
padding-bottom:56.25%;
padding-top:30px;
height:0;
overflow:hidden;
}
.video-container iframe, .video-container object, .video-container embed {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}
.blog-navigation {
font-size: 14px;
display: block;
width: auto;
overflow: hidden;
margin-top: 20px;
}
.blog-navigation a {
display: block;
width: 50%;
float: left;
margin: 1em 0;
}
.blog-navigation .next {
text-align: right;
}
.pagination {
height: 36px;
}
.pagination ul {
display: inline-block;
margin: 0;
padding: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.pagination li {
display: inline;
}
.pagination li:first-child a {
border-left-width: 1px;
-webkit-border-radius: 3px 0 0 3px;
-moz-border-radius: 3px 0 0 3px;
border-radius: 3px 0 0 3px;
}
.pagination li:last-child a {
-webkit-border-radius: 0 3px 3px 0;
-moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
}
.pagination a {
float: left;
padding: 0 14px;
line-height: 34px;
border: 1px solid #DDD;
border-left-width: 0;
}
.pagination a:hover, .active a {
background-color: whiteSmoke;
}
.disabled a, .disabled a:hover,
.active a, .active a:hover {
color: #999;
cursor: default;
}
.disabled a:hover {
background-color: transparent;
}
@media (max-width: 1024px) {
body { font-size: 16px; }
footer { font-size: 14px; }
h3 span { float: none; display: block; }
h1 { font-size: 25px; }
h2 { font-size: 25px; }
h3 { font-size: 20px; }
.photos li { width: 23%; }
.postPreview > header a { font-size: 20px; }
.postPreview img { display: none; }
#corner-logo {
width: 100px;
height: 100px;
}
}
@media (max-width: 700px) {
img.left, img.right { float: none; width: 100%; max-width: none; margin: 0; }
footer { text-align: center; }
.blog-navigation { display: none; }
.twitter-follow-button { float: none; margin-bottom: 20px; margin-left: auto; margin-right: auto; }
footer input[type=email] { width: 100px; }
}
/* index page */
#about { width: 600px; padding-left: 20px; padding-right: 20px; margin: 20px auto 0 20px; }
#about p { color: #000; font-size: 18px; font-weight: 400; line-height: 1.3; margin-bottom: 16px; }
#about a { color: #000; }
#about h1 { color: #000; margin-bottom: 20px; display: block; }
#about { position: relative; width: auto; margin: 0 !important; }
#headerimage { display: block; width: 100%; padding-bottom: 35%; background-repeat: no-repeat; background-size: cover; margin-bottom: 20px; }
body {
background-repeat no-repeat;
background-position: center center;
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
@media (max-width: 1024px) {
#about p, #about a, #about h1 { font-weight: 300; }
#about a { text-decoration: underline; }
#about p, #about ul { font-size: 16px; }
#monogram { position: relative; width: auto; padding: 20px; margin: 0; }
body { background: none !important; }
}