|
1 /* |
|
2 * Skeleton V1.2 |
|
3 * Copyright 2011, Dave Gamache |
|
4 * www.getskeleton.com |
|
5 * Free to use under the MIT license. |
|
6 * http://www.opensource.org/licenses/mit-license.php |
|
7 * 6/20/2012 |
|
8 */ |
|
9 |
|
10 |
|
11 /* Table of Content |
|
12 ================================================== |
|
13 #Reset & Basics |
|
14 #Basic Styles |
|
15 #Site Styles |
|
16 #Typography |
|
17 #Links |
|
18 #Lists |
|
19 #Images |
|
20 #Buttons |
|
21 #Forms |
|
22 #Misc */ |
|
23 |
|
24 |
|
25 /* #Reset & Basics (Inspired by E. Meyers) |
|
26 ================================================== */ |
|
27 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { |
|
28 margin: 0; |
|
29 padding: 0; |
|
30 border: 0; |
|
31 font-size: 100%; |
|
32 font: inherit; |
|
33 vertical-align: baseline; } |
|
34 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { |
|
35 display: block; } |
|
36 body { |
|
37 line-height: 1; } |
|
38 ol, ul { |
|
39 list-style: none; } |
|
40 blockquote, q { |
|
41 quotes: none; } |
|
42 blockquote:before, blockquote:after, |
|
43 q:before, q:after { |
|
44 content: ''; |
|
45 content: none; } |
|
46 table { |
|
47 border-collapse: collapse; |
|
48 border-spacing: 0; } |
|
49 |
|
50 |
|
51 /* #Basic Styles |
|
52 ================================================== */ |
|
53 body { |
|
54 background: #fff; |
|
55 font: 14px/21px 'Source Sans Pro', sans-serif; |
|
56 color: #444; |
|
57 -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ |
|
58 -webkit-text-size-adjust: 100%; |
|
59 } |
|
60 |
|
61 |
|
62 /* #Typography |
|
63 ================================================== */ |
|
64 h1, h2, h3, h4, h5, h6 { |
|
65 color: #181818; |
|
66 font-family: "Georgia", "Times New Roman", serif; |
|
67 font-weight: normal; } |
|
68 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; } |
|
69 h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;} |
|
70 h2 { font-size: 35px; line-height: 75px; margin-bottom: 10px; } |
|
71 h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; } |
|
72 h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; } |
|
73 h5 { font-size: 17px; line-height: 24px; } |
|
74 h6 { font-size: 14px; line-height: 21px; } |
|
75 .subheader { color: #777; } |
|
76 |
|
77 p { margin: 0 0 20px 0; } |
|
78 p img { margin: 0; } |
|
79 p.lead { font-size: 21px; line-height: 27px; color: #777; } |
|
80 |
|
81 em { font-style: italic; } |
|
82 strong { font-weight: bold; color: #333; } |
|
83 small { font-size: 80%; } |
|
84 |
|
85 /* Blockquotes */ |
|
86 blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; } |
|
87 blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; } |
|
88 blockquote cite { display: block; font-size: 12px; color: #555; } |
|
89 blockquote cite:before { content: "\2014 \0020"; } |
|
90 blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; } |
|
91 |
|
92 hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; } |
|
93 |
|
94 |
|
95 /* #Links |
|
96 ================================================== */ |
|
97 a, a:visited { color: #333; text-decoration: underline; outline: 0; } |
|
98 a:hover, a:focus { color: #000; } |
|
99 p a, p a:visited { line-height: inherit; } |
|
100 |
|
101 |
|
102 /* #Lists |
|
103 ================================================== */ |
|
104 ul, ol { margin-bottom: 20px; } |
|
105 ul { list-style: none outside; } |
|
106 ol { list-style: decimal; } |
|
107 ol, ul.square, ul.circle, ul.disc { margin-left: 30px; } |
|
108 ul.square { list-style: square outside; } |
|
109 ul.circle { list-style: circle outside; } |
|
110 ul.disc { list-style: disc outside; } |
|
111 ul ul, ul ol, |
|
112 ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; } |
|
113 ul ul li, ul ol li, |
|
114 ol ol li, ol ul li { margin-bottom: 6px; } |
|
115 li { line-height: 18px; margin-bottom: 12px; } |
|
116 ul.large li { line-height: 21px; } |
|
117 li p { line-height: 21px; } |
|
118 |
|
119 /* #Images |
|
120 ================================================== */ |
|
121 |
|
122 img.scale-with-grid { |
|
123 max-width: 100%; |
|
124 height: auto; } |
|
125 |
|
126 |
|
127 |
|
128 |
|
129 |
|
130 /* #Forms |
|
131 ================================================== */ |
|
132 |
|
133 form { |
|
134 margin-bottom: 20px; } |
|
135 fieldset { |
|
136 margin-bottom: 20px; } |
|
137 input[type="text"], |
|
138 input[type="password"], |
|
139 input[type="email"], |
|
140 textarea, |
|
141 select { |
|
142 border: 1px solid #ccc; |
|
143 padding: 6px 4px; |
|
144 outline: none; |
|
145 font: 13px 'Source Sans Pro', sans-serif; |
|
146 color: #fff; |
|
147 margin: 0; |
|
148 width: 210px; |
|
149 max-width: 100%; |
|
150 display: block; |
|
151 margin-bottom: 20px; |
|
152 background: #fff; } |
|
153 select { |
|
154 padding: 0; } |
|
155 input[type="text"]:focus, |
|
156 input[type="password"]:focus, |
|
157 input[type="email"]:focus, |
|
158 textarea:focus { |
|
159 border: 1px solid #aaa; |
|
160 color: #444; |
|
161 -moz-box-shadow: 0 0 3px rgba(0,0,0,.2); |
|
162 -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2); |
|
163 box-shadow: 0 0 3px rgba(0,0,0,.2); } |
|
164 textarea { |
|
165 min-height: 60px; } |
|
166 label, |
|
167 legend { |
|
168 display: block; |
|
169 font-weight: bold; |
|
170 font-size: 13px; } |
|
171 select { |
|
172 width: 220px; } |
|
173 input[type="checkbox"] { |
|
174 display: inline; } |
|
175 label span, |
|
176 legend span { |
|
177 font-weight: normal; |
|
178 font-size: 13px; |
|
179 color: #444; } |
|
180 |
|
181 /* #Misc |
|
182 ================================================== */ |
|
183 .remove-bottom { margin-bottom: 0 !important; } |
|
184 .half-bottom { margin-bottom: 10px !important; } |
|
185 .add-bottom { margin-bottom: 20px !important; } |
|
186 |
|
187 |