This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
227 lines (179 loc) · 4.29 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
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
/*
Design and Code by
Nick Charlton (http://nickcharlton.net)
Based upon the excellent
Less Framework 3 by Joni Korpi
(http://lessframework.com)
*/
/* Resets
------ */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em,
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup,
menu, footer, header, nav, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
}
article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
display: block;
}
a img {border: 0;}
figure {position: relative;}
figure img {width: 100%;}
/* Typography presets
------------------ */
.gigantic {
font-size: 110px;
line-height: 120px;
letter-spacing: -2px;
}
.huge, h1 {
font-size: 68px;
line-height: 72px;
letter-spacing: -1px;
}
.large, h2 {
font-size: 42px;
line-height: 48px;
}
.big, h3 {
font-size: 26px;
line-height: 36px;
}
.normal, body {
font: 16px/24px Helvetica, Arial, sans-serif;
}
.small {
font-size: 13px;
line-height: 18px;
}
.center {
text-align: center;
}
hr {
color: #4E5963;
background: #4E5963;
border: 0px;
height: 1px;
margin: 10px 0 10px 0;
}
.warning {
color: #A00;
}
/*
Form Styles
*/
form fieldset li {
list-style: none;
padding: 5px;
margin: 0;
}
form label {
width: 200px;
display: inline-block;
line-height: 1.8;
vertical-align: top;
}
form input {
font-size: 14px;
}
form textarea {
font-family: Monaco, monospace;
font-size: 14px;
}
form input.post, textarea.post {
width: 420px;
}
/* Default 8-column layout
60 px columns, 24 px gutters, 60 px margins, 768 px total
---------------------------------------------------------
1 2 3 4 5 6 7 8
60px 144px 228px 312px 396px 480px 564px 648px */
body {
background: rgb(232,232,232);
padding: 84px 60px 0;
width: 648px;
margin: 0 auto;
-webkit-tap-highlight-color: rgb(255,255,0);
}
::selection {background: rgb(255,255,0);}
::-moz-selection {background: rgb(255,255,0);}
img::selection {background: transparent;}
img::-moz-selection {background: transparent;}
body header {
text-align: center;
}
body section {
margin-top: 25px;
width: 700px;
margin: 0 auto;
}
footer {
text-align: center;
font-style: italic;
text-transform: lowercase;
font-size: 13px;
line-height: 18px;
}
fieldset {
padding: 10px;
text-align: center;
}
/* 13-column layout
60 px columns, 24 px gutters, 72 px margins, 1212 px total (extra space for scrollbars)
---------------------------------------------------------------------------------------
1 2 3 4 5 6 7 8 9 10 11 12 13
60px 144px 228px 312px 396px 480px 564px 648px 732px 816px 900px 984px 1068px */
@media only screen and (min-width: 1212px) {
body {
padding: 96px 72px 0;
width: 1068px;
}
}
/* 5-column layout
60 px columns, 24 px gutters, 42 px margins, 480 px total
---------------------------------------------------------
1 2 3 4 5
60px 144px 228px 312px 396px */
@media only screen and (max-width: 767px) and (min-width: 480px) {
body {
padding: 60px 30px 0;
width: 396px;
/* Prevents Mobile Safari from bumping up font sizes in landscape */
-webkit-text-size-adjust: 100%;
}
body section {
width: 300px;
}
}
/* 3-column layout
60 px columns, 24 px gutters, 46 px margins, 320 px total
---------------------------------------------------------
1 2 3
60px 144px 228px */
@media only screen and (max-width: 479px) {
body {
padding: 20px 20px 0;
width: 228px;
/* Prevents Mobile Safari from bumping up font sizes in landscape */
-webkit-text-size-adjust: 100%;
}
body section {
width: 200px;
}
}
/* Overrides for iPhone 4
and other high device-pixel-ratio devices
----------------------------------------- */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
#example {
background: rgb(255,158,97);
}
}