4 Description: Sample layout for HTML5 and CSS3 goodness.
6 License: MIT <https://opensource.org/licenses/MIT>
7 Licensed by: Smashing Media GmbH <https://www.smashingmagazine.com/>
8 Original author: Enrique RamÃrez <http://enrique-ramirez.com/>
12 @import url("reset.css");
13 @import url("pygment.css");
14 @import url("typogrify.css");
15 @import url("fonts.css");
22 font-size: 87.5%; /* Base font size: 14px */
23 font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
32 h2 {font-size: 1.571em} /* 22px */
33 h3 {font-size: 1.429em} /* 20px */
34 h4 {font-size: 1.286em} /* 18px */
35 h5 {font-size: 1.143em} /* 16px */
36 h6 {font-size: 1em} /* 14px */
38 h1, h2, h3, h4, h5, h6 {
42 font-family: 'Yanone Kaffeesatz', arial, serif;
45 h3, h4, h5, h6 { margin-top: .8em; }
47 hr { border: 2px solid #EEEEEE; }
51 a img {border: 0px; text-decoration: none;}
55 text-decoration: underline;
58 background-color: #C74350;
60 text-decoration: none;
61 text-shadow: 1px 1px 1px #333;
65 background-color: inherit
73 strong, b {font-weight: bold;}
74 em, i {font-style: italic;}
78 list-style: outside disc;
79 margin: 0em 0 0 1.5em;
83 list-style: outside decimal;
84 margin: 0em 0 0 1.5em;
87 li { margin-top: 0.5em;
101 .readmore { float: right }
103 dl {margin: 0 0 1.5em 0;}
104 dt {font-weight: bold;}
105 dd {margin-left: 1.5em;}
107 pre{background-color: rgb(238, 238, 238); padding: 10px; margin: 10px; overflow: auto;}
126 table {margin: .5em auto 1.5em auto; width: 98%;}
129 thead th {padding: .5em .4em; text-align: left;}
133 tbody td {padding: .5em .4em;}
144 header, section, footer,
145 aside, nav, article, figure {
150 .body {clear: both; margin: 0 auto; width: 800px;}
151 img.right, figure.right, div.figure.align-right {
155 img.left, figure.left, div.figure.align-left {
161 div.figure img, figure img { /* to fill figure exactly */
164 div.figure p.caption, figure p.caption { /* margin provided by figure */
174 padding: 2.5em 0 0 0;
178 #banner h1 {font-size: 3.571em; line-height: 0;}
179 #banner h1 a:link, #banner h1 a:visited {
183 margin: 0 0 .6em .2em;
184 text-decoration: none;
186 #banner h1 a:hover, #banner h1 a:active {
192 #banner h1 strong {font-size: 0.36em; font-weight: normal;}
200 margin: 0 auto 2em auto;
206 -moz-border-radius: 5px;
207 -webkit-border-radius: 5px;
210 #banner nav ul {list-style: none; margin: 0 auto; width: 800px;}
211 #banner nav li {float: left; display: inline; margin: 0;}
213 #banner nav a:link, #banner nav a:visited {
215 display: inline-block;
218 text-decoration: none;
220 #banner nav a:hover, #banner nav a:active,
221 #banner nav .active a:link, #banner nav .active a:visited {
224 text-shadow: none !important;
227 #banner nav li:first-child a {
228 border-top-left-radius: 5px;
229 -moz-border-radius-topleft: 5px;
230 -webkit-border-top-left-radius: 5px;
232 border-bottom-left-radius: 5px;
233 -moz-border-radius-bottomleft: 5px;
234 -webkit-border-bottom-left-radius: 5px;
248 -moz-border-radius: 10px;
249 -webkit-border-radius: 10px;
253 border: 2px solid #eee;
255 margin: 0.786em 2em 0 5em;
258 #featured figure img {display: block; float: right;}
260 #featured h2 {color: #C74451; font-size: 1.714em; margin-bottom: 0.333em;}
261 #featured h3 {font-size: 1.429em; margin-bottom: .5em;}
263 #featured h3 a:link, #featured h3 a:visited {color: #000305; text-decoration: none;}
264 #featured h3 a:hover, #featured h3 a:active {color: #fff;}
277 -moz-border-radius: 10px;
278 -webkit-border-radius: 10px;
284 #extras {margin: 0 auto 3em auto; overflow: hidden;}
286 #extras ul {list-style: none; margin: 0;}
287 #extras li {border-bottom: 1px solid #fff;}
291 margin-bottom: .25em;
295 #extras a:link, #extras a:visited {
298 border-bottom: 1px solid #F4E3E3;
299 text-decoration: none;
303 #extras a:hover, #extras a:active {color: #fff;}
311 #extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;}
319 #extras div[class='social'] a {
320 background-repeat: no-repeat;
321 background-position: 3px 6px;
326 .social a[href*='about.me'] {background-image: url('../images/icons/aboutme.png');}
327 .social a[href*='bitbucket.org'] {background-image: url('../images/icons/bitbucket.png');}
328 .social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');}
329 .social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');}
330 .social a[href*='gitorious.org'] {background-image: url('../images/icons/gitorious.png');}
331 .social a[href*='github.com'],
332 .social a[href*='git.io'] {
333 background-image: url('../images/icons/github.png');
334 background-size: 16px 16px;
336 .social a[href*='gittip.com'] {background-image: url('../images/icons/gittip.png');}
337 .social a[href*='plus.google.com'] {background-image: url('../images/icons/google-plus.png');}
338 .social a[href*='groups.google.com'] {background-image: url('../images/icons/google-groups.png');}
339 .social a[href*='news.ycombinator.com'],
340 .social a[href*='hackernewsers.com'] {background-image: url('../images/icons/hackernews.png');}
341 .social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
342 .social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.png');}
343 .social a[href*='reddit.com'] {background-image: url('../images/icons/reddit.png');}
344 .social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('../images/icons/rss.png');}
345 .social a[href*='slideshare.net'] {background-image: url('../images/icons/slideshare.png');}
346 .social a[href*='speakerdeck.com'] {background-image: url('../images/icons/speakerdeck.png');}
347 .social a[href*='stackoverflow.com'] {background-image: url('../images/icons/stackoverflow.png');}
348 .social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}
349 .social a[href*='vimeo.com'] {background-image: url('../images/icons/vimeo.png');}
350 .social a[href*='youtube.com'] {background-image: url('../images/icons/youtube.png');}
365 -moz-border-radius: 10px;
366 -webkit-border-radius: 10px;
369 #about .primary {float: left; width: 165px;}
370 #about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
371 #about .photo {float: left; margin: 5px 20px;}
373 #about .url:link, #about .url:visited {text-decoration: none;}
375 #about .bio {float: right; width: 500px;}
380 #contentinfo {padding-bottom: 2em; text-align: right;}
382 /***** Sections *****/
387 border-bottom: 1px solid #eee;
390 li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
391 #content > .hentry {padding: 1em 0;}
392 .hentry img{display : none ;}
393 .entry-title {font-size: 3em; margin-bottom: 10px; margin-top: 0;}
394 .entry-title a:link, .entry-title a:visited {text-decoration: none; color: #333;}
395 .entry-title a:visited {background-color: #fff;}
397 .hentry .post-info * {font-style: normal;}
400 .hentry footer {margin-bottom: 2em;}
401 .hentry footer address {display: inline;}
402 #posts-list footer address {display: block;}
405 #posts-list {list-style: none; margin: 0;}
406 #posts-list .hentry {padding-left: 10px; position: relative;}
416 /* About the Author */
422 padding: 10px 20px 15px 20px;
425 -moz-border-radius: 5px;
426 -webkit-border-radius: 5px;
429 #about-author strong {
436 #about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;}
439 #comments-list {list-style: none; margin: 0 1em;}
440 #comments-list blockquote {
448 -moz-border-radius: 5px;
449 -webkit-border-radius: 5px;
451 #comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;}
453 #comments-list li:nth-child(2n) blockquote {background: #F5f5f5;}
456 #add-comment label {clear: left; float: left; text-align: left; width: 150px;}
457 #add-comment input[type='text'],
458 #add-comment input[type='email'],
459 #add-comment input[type='url'] {float: left; width: 200px;}
461 #add-comment textarea {float: left; height: 150px; width: 495px;}
463 #add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;}
465 #add-comment input[type='submit'] {float: right; margin: 0 .5em;}
466 #add-comment * {margin-bottom: .5em;}