9dcadd066b47df8738c35878b25cbfbd4d4cff3d
[Ultimately_Untrue_Thought.git] / theme / static / css / main.css
1 /*
2 Colors :
3 - #40403F
4 - #4D4D4C
5 - #7F7F7E
6 - #E5E5E3
7 - #F0F0F0
8 */
9
10 /* Imports */
11
12 @import url("pygment.css");
13
14
15 /* Latout */
16
17 article,
18 figcaption,
19 figure,
20 footer,
21 header,
22 nav,
23 section,
24 time {
25   display: block;
26 }
27
28 html {
29   font-size: 100%;
30   -ms-text-size-adjust: 100%;
31   -webkit-text-size-adjust: 100%;
32 }
33 body {
34   font-family: 'Source Sans Pro', sans-serif;
35   font-size: 16px;
36   line-height: 150%;
37   text-align: left;
38   color: #1D1D1D;
39   padding: 0;
40   min-width: 740px;
41 }
42
43 header {
44   background-color: #101030;
45   height: 50px;
46   line-height: 50px;
47   padding: 0 1em;
48 }
49
50 .wrapper {
51   display: table;
52   width: 100%;
53 }
54
55 .content {
56   display: table-cell;
57   border-left: 1px solid #d6d6d6;
58   border-right: 1px dotted #D6D6D6;
59   padding: 0 20px 1em 20px;
60 }
61
62 .sidebar {
63   display: table-cell;
64   width: 25%;
65   border-right: 1px solid #d6d6d6;
66   padding: 0 20px 1em 20px;
67 }
68
69 footer {
70   border-top: 1px dotted #D6D6D6;
71   line-height: 30px;
72   padding: 0 1em;
73   font-size: 0.8em;
74 }
75
76
77 /* Header */
78
79 header a {
80   color: #E5E5E3;
81   border-bottom: none;
82 }
83
84 header a.title {
85   font-size: 1.25em;
86 }
87
88 header .feeds {
89   float: right;
90   text-align: right;
91   width: 25%;
92   height: 41px;
93   padding-top: 9px;
94 }
95
96 header .feeds a {
97   display: block;
98   float: right;
99   padding-right: 5px;
100   width: 40px;
101 }
102
103 header .feeds a:hover,
104 header .feeds a:active {
105   border-bottom: none;
106 }
107
108 header .pages {
109   float: right;
110 }
111
112 header .pages a {
113   font-size: 1.1em;
114 }
115
116
117 /* Sidebar */
118
119
120 /* Titles */
121
122 h1, h2, h3, h4, h5, h6 {
123     font-family: "Source Sans Pro",sans-serif;
124     font-weight: 400;
125     text-shadow: 0.1em 0.1em 0.1em #EFEFEF;
126     line-height: 125%;
127 }
128
129 h1 {
130   font-size: 2em;
131 }
132
133 h1 a {
134   color: inherit;
135   border-bottom: none;
136 }
137
138
139 /* Texts */
140
141 p {
142   margin: 0.8em 0 0.5em;
143 }
144
145 a {
146   text-decoration: none;
147   border-bottom: 1px dotted #4D4D4C;
148   color: #2D2D2C;
149 }
150
151 a:hover, a:active {
152   text-decoration: none;
153   border-bottom: 1px dotted #4271AE;
154   color: #4271AE;
155 }
156
157 .literal {
158   font-size: 0.9em;
159   border: 1px solid #F0F0F0;
160   padding: 0px 5px;
161 }
162
163 pre {
164   font-family: 'Source Code Pro',monospace;
165   background: none repeat scroll 0 0 #F0F0F0;
166   border-radius: 2px;
167   font-size: 0.9em;
168   font-style: normal;
169   letter-spacing: 0.015em;
170   line-height: 130%;
171   padding: 0.7em;
172   white-space: pre-wrap;
173   word-wrap: break-word;
174 }
175
176 hr {
177   color: #d6d6d6;
178   box-shadow: 0.1em 0.1em 0.1em #EFEFEF;
179   border-radius: 5px;
180 }
181
182
183 /* Article */
184
185 article.summary {
186   margin-bottom: 40px;
187   clear: both;
188 }
189
190 article.summary > div {
191   margin-left: 28%;
192 }
193
194 article .metadata,
195 article.full .metadata,
196 article.summary .metadata {
197   padding: 1%;
198   border: 1px dotted #EFEFEF;
199   box-shadow: 0.1em 0.1em 0.1em #EFEFEF;
200   font-style: italic;
201 }
202
203 article .metadata,
204 article.full .metadata {
205   width: 25%;
206   float: right;
207   margin: 0 0 2% 1%;
208 }
209
210 article.summary .metadata {
211   width: 23%;
212   float: left;
213   margin: 0 1% 2% 0 ;
214 }
215
216 .metadata p {
217   margin: 0;
218 }
219
220 /* Listings */
221
222 ol.archive li {
223   margin: 8px 0;
224 }
225
226 ol.archive li time,
227 ol.archive li .tags
228  {
229   line-height: 140%;
230   font-size: 0.8em;
231   margin: 0;
232 }
233
234
235 /* Social */
236
237 .social {
238   list-style-type: none;
239   padding-left: 20px;
240 }
241
242 .social li {
243   clear: both;
244 }
245
246 .social a {}
247
248 .social i {
249   float: left;
250   margin-right: 3px;
251   padding-top: 4px;
252 }
253 .social a[href*='twitter.com'] + i:before {content: url('../images/icons/twitter-18px.png'); }
254 .social a[href*='linkedin.com'] + i:before {content: url('../images/icons/linkedin-18px.png'); }
255 .social a[href*='github.com'] + i:before {content: url('../images/icons/github-18px.png'); }
256 .social a[href*='google.com'] + i:before {content: url('../images/icons/google-18px.png'); }
257 .social a[href*='delicious.com']:before {content: url('../images/icons/delicious-18px.png'); }
258 .social a[href*='digg.com']:before {content: url('../images/icons/digg-18px.png'); }
259 .social a[href*='facebook.com']:before {content: url('../images/icons/facebook-18px.png'); }
260 .social a[href*='stackoverflow.com']:before {content: url('../images/icons/stackoverfow-18px.png'); }
261 .social a[href*='rss.xml']:before {content: url('../images/icons/feed-18px.png'); }
262 .social a[href*='atom.xml']:before {content: url('../images/icons/feed-18px.png'); }
263
264
265 /* Tag cloud */
266
267 ul.tagcloud {
268   list-style: none;
269   padding: 0;
270   width: 50%;
271   margin: 0 auto;
272   line-height: 200%;
273 }
274
275 ul.tagcloud li {
276     display: inline-block;
277 }
278
279 li.tag-1 { font-size: 175%; margin: 0 1em; }
280 li.tag-2 { font-size: 150%; margin: 0 1em; }
281 li.tag-3 { font-size: 125%; margin: 0 1em; }
282 li.tag-4 { font-size: 110%; margin: 0 1em; }
283
284 /* Pagination */
285
286 .pagination {
287   width: 100px;
288   margin: 1em auto;
289 }
290
291 /* Responsive */
292
293 @media (min-width: 1280px) {
294   body {
295     margin: 0 16%;
296   }
297 }
298
299 @media (max-width: 1280px) {
300   body {
301     margin: 0 12%;
302   }
303 }
304
305 @media (max-width: 979px) {
306   body {
307     margin: 0 4%;
308   }
309 }