diff --git a/lib/site_template/css/main.css b/lib/site_template/css/main.css index 2ce8e749..59356e3d 100755 --- a/lib/site_template/css/main.css +++ b/lib/site_template/css/main.css @@ -1,10 +1,6 @@ -/*****************************************************************************/ -/* -/* Common -/* -/*****************************************************************************/ +/* Base */ +/* ----------------------------------------------------------*/ -/* Global Reset */ * { margin: 0; padding: 0; @@ -14,154 +10,211 @@ html, body { height: 100%; } body { background-color: #FFF; - font: 13.34px Helvetica, Arial, sans-serif; - font-size: small; - text-align: center; + font-family: Helvetica, Arial, sans-serif; + font-size: 16px; + line-height: 1.5; + font-weight: 300; + background-color: #fdfdfd; } -h1, h2, h3, h4, h5, h6 { - font-size: 100%; } +h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400; } -h1 { margin-bottom: 1em; } -p { margin: 1em 0; } +a { color: #2a7ae2; text-decoration: none; } +a:hover { color: #000; text-decoration: underline; } +a:visited { color: #205caa; } -a { color: #00a; } -a:hover { color: #000; } -a:visited { color: #a0a; } +/* Utility */ -/*****************************************************************************/ -/* -/* Home -/* -/*****************************************************************************/ -.posts { - list-style-type: none; - margin-bottom: 2em; +.wrap:before, +.wrap:after { content:""; display:table; } +.wrap:after { clear: both; } +.wrap { + max-width: 750px; + padding: 0 30px; + margin: 0 auto; + zoom: 1; } -.posts li { - line-height: 1.75em; + +/* Layout Styles */ +/* ----------------------------------------------------------*/ + +/* Site header */ + +.site-header { + border-top: 5px solid #333; + border-bottom: 1px solid #e8e8e8; + min-height: 56px; + background-color: white; } -.posts span { - color: #aaa; - font-family: Monaco, "Courier New", monospace; - font-size: 80%; -} - -/*****************************************************************************/ -/* -/* Site -/* -/*****************************************************************************/ - -.site { - font-size: 115%; - text-align: justify; - width: 42em; - margin: 0 auto 2em; - padding-top: 3em; - line-height: 1.5em; -} - -@media screen and (max-width: 44em) { - .site { - width: 90%; - } -} - -.header a { - font-weight: bold; - text-decoration: none; -} - -.title { - display: inline-block; - margin-bottom: 2em; -} - -.title a { - color: #a00; -} - -.title a:hover { - color: #000; -} - -.header a.extra { - color: #aaa; - margin-left: 1em; -} - -.header a.extra:hover { - color: #000; -} - -.meta { - color: #aaa; -} - -.footer { - font-size: 80%; - color: #666; - border-top: 4px solid #eee; - margin-top: 2em; - overflow: hidden; -} - -.footer .contact { +.site-title, +.site-title:hover, +.site-title:visited { + display: block; + color: #333; + font-size: 26px; + letter-spacing: -1px; float: left; - margin-right: 3em; + line-height: 56px; } -.footer .contact a { - color: #8085C1; -} - -.footer .rss { - margin-top: 1.1em; - margin-right: -.2em; +.site-nav { float: right; + line-height: 56px; } -.footer .rss img { - border: 0; +.site-nav > a { + margin-left: 20px; + color: #727272; + letter-spacing: -.5px; } -/*****************************************************************************/ -/* -/* Posts -/* -/*****************************************************************************/ +/* Site footer */ -/* standard */ -.post pre { - border: 1px solid #ddd; - background-color: #eef; - padding: 0 .4em; +.site-footer { + border-top: 1px solid #e8e8e8; + padding: 30px 0; } -.post ul, .post ol { - margin-left: 1.35em; +.footer-heading { + font-size: 18px; + font-weight: 300; + letter-spacing: -.5px; + margin-bottom: 15px; } +.site-footer .column { float: left; margin-bottom: 15px; } + +.footer-col-1 { width: 250px; margin-right: 10px } +.footer-col-2 { width: 215px; margin-right: 10px } +.footer-col-3 { width: 265px; } + +.site-footer ul { list-style: none; } + +.site-footer li, +.site-footer p { + font-size: 15px; + letter-spacing: -.3px; + color: #828282; +} + + +/* Page Content styles */ +/* ----------------------------------------------------------*/ + +.page-content { + padding: 30px 0; + background-color: #fff; +} + + +/* Home styles */ +/* ----------------------------------------------------------*/ + +.home h1 { margin-bottom: 25px; } + +.posts { list-style-type: none; } + +.posts li { margin-bottom: 30px; } + +.posts .post-link { + font-size: 24px; + letter-spacing: -1px; + line-height: 1; +} + +.posts .post-date { + display: block; + font-size: 15px; + color: #818181; +} + + +/* Post styles */ +/* ----------------------------------------------------------*/ + +.post-header { margin: 10px 0 30px; } + +.post-header h1 { + font-size: 42px; + letter-spacing: -1.75px; + line-height: 1; + font-weight: 300; +} + +.post-header .meta { + font-size: 15px; + color: #818181; + margin-top: 5px; +} + +.post-content { margin: 0 0 30px; } + +.post-content > * { margin: 20px 0; } + + +.post-content h1, +.post-content h2, +.post-content h3, +.post-content h4, +.post-content h5, +.post-content h6 { + line-height: 1; + font-weight: 300; + margin: 40px 0 20px; +} + +.post-content h2 { + font-size: 32px; + letter-spacing: -1.25px; +} + +.post-content h3 { + font-size: 26px; + letter-spacing: -1px; +} + +.post-content h4 { + font-size: 20px; + letter-spacing: -1px; +} + +.post-content blockquote { + border-left: 4px solid #e8e8e8; + padding-left: 20px; + font-size: 18px; + opacity: .6; + letter-spacing: -1px; + font-style: italic; + margin: 30px 0; +} + +.post-content ul, +.post-content ol { padding-left: 20px; } + +.post pre, .post code { - border: 1px solid #ddd; + border: 1px solid #d5d5e9; background-color: #eef; - padding: 0 .2em; + padding: 8px 12px; + border-radius: 3px; + font-size: 15px; } -.post pre code { - border: none; -} +.post code { padding: 1px 5px; } + +.post ul, +.post ol { margin-left: 1.35em; } + +.post pre code { border: none; } /* terminal */ .post pre.terminal { border: 1px solid #000; background-color: #333; color: #FFF; + border-radius: 3px; } -.post pre.terminal code { - background-color: #333; -} +.post pre.terminal code { background-color: #333; }