/* Theme Name: Blogfolio Theme URI: http://jonathanweatherhead.com/projects/blogfolio Version: 1.2.2 Author: Jonathan Weatherhead Author URI: http://jonathanweatherhead.com Description: A lightweight HTML5 theme with responsive design for mobile to large displays, geared towards portfolio-based blogging. Features include a front page template with tiled blog posts and its own widgets. Make it yours with a custom menu, header image, and background. Extend it through the numerous action hooks and custom template fragment system. Tags: dark, blue, white, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, featured-images, flexible-header, sticky-post, theme-options, translation-ready License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: blogfolio Blogfolio WordPress Theme, Copyright 2013 Jonathan Weatherhead Blogfolio is distributed under the terms of the GNU GPL */ /* ---GENERAL--- */ html, body { height: 100%; } body { margin: 0; padding: 0; background-color: #888; color: #444; font-size: 12pt; font-family: Georgia, serif; } ul, ol { margin: 1em 0; margin-left: 1.5em; } ul { list-style-type: square; } li { margin: .5em 0; } a, a:active, a:visited { color: #369; text-decoration: none; font-family: verdana, geneva, sans-serif } a:hover{ color: #48C; } p { margin: 0 0 1em; color: inherit; } blockquote, q { quotes: '\201c' '\201d' '\2018' '\2019'; } blockquote:before, q:before { content: open-quote; } blockquote:after, q:after { content: close-quote; } blockquote { display: block; margin: 1em 2em; clear: left; font-weight: bold; font-style: italic; } blockquote:before, blockquote:after { display: block; position: relative; position: relative; font-size: 4em; color: #666; } blockquote:before { display: block; height: 0; top: -.25em; margin-left: -.6em; } blockquote:after { content: no-close-quote; } h1, h2, h3, h4, h5, h6 { margin: 0; margin-bottom: 1em; font-family: verdana, geneva, sans-serif; word-spacing: normal; } h1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.25em; } h4, h5, h6 { font-size: 1.125em; } img { max-width: 100%; height: auto; line-height: 1; } a img { border: 0; } hr { border-bottom: 1px dotted #444; } input, textarea { padding: 8px; color: #369; background-color: #ddd; border: 1px solid #aaa; border-radius: 2px; } input[type="submit"], input[type="reset"], button { color: #369; background-color: #000; cursor: pointer; border: 1px solid #444; } input[type="submit"]:hover, input[type="reset"]:hover, button:hover { color: #48C; } nav { text-transform: capitalize; } nav ul { list-style-type: none; } nav .menu { margin: 0; padding: 0; } nav .menu a { font-family: inherit; } nav.secondary { font-size: 0.825em; } nav.secondary .menu-item, nav.secondary .page_item { margin: 0; padding: 0 1em; } .float-left { float: left; } .float-right { float: right; } .anchor { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; } .clear-left { clear: left; } .clear-right { clear: right; } /* ---CONTAINERS--- */ .container { position: relative; } .page-container { width: 75%; min-height: 100%; margin: 0 auto; } .widget-container { position: relative; } /* ---HEADER--- */ #page-header { position: relative; } #page-header .site-banner { position: relative; overflow: auto; margin: 16px 0; } #page-header .site-title { margin-bottom: 0; } #page-header h1.site-title{ font-size: 4em; } #top-bar { position: relative; } #top-bar > .container { min-height: 1.5em; background-color: #787878; background-color: rgba(192, 192, 192, .4); padding: 0 32px 32px; border-radius: 0 0 8px 8px; } /* ---MAIN NAV--- */ #page-header nav.primary { position: relative; background-color: #fff; z-index: 99; } #page-header nav.primary .menu { font-size: 1.25em; border-collapse: collapse; } #page-header nav.primary .menu-item { display: inline-block; position: relative; margin: 0; color: #369; } #page-header nav.primary .menu-item:hover { background-color: #48C; color: #fff; } #page-header nav.primary .menu-item a { display: block; margin: 0; padding: 16px 1em; text-align: center; white-space: nowrap; color: inherit; } /* ---MAIN NAV DROPDOWN--- */ #page-header nav.primary .sub-menu { display: block; position: absolute; left: -9999px; z-index: 2; min-width: 125%; margin: 0; padding: 0; background: #369; font-size: .825em; box-shadow: 4px 4px 4px #222; } #page-header nav.primary .sub-menu .menu-item { width: 100%; color: #fff; } #page-header nav.primary .sub-menu .menu-item:hover { background-color: #48c; } #page-header nav.primary .menu-item:hover .sub-menu { left: 0; } #page-header nav.primary .sub-menu .menu-item a { width: 100%; padding-left: 8px; padding-right: 8px; text-align: left; border-style: none; } /* ---PAGE CONTENT--- */ #page-content { position: relative; background-color: #787878; background-color: rgba(192, 192, 192, .4); padding: 32px 32px 0; border-radius: 8px 8px 0 0; } #page-content > .container { overflow: auto; padding: 8px; background-color: #fff; } .content-container { position: relative; float: left; width: 68%; margin-right: 2%; padding: 0; } .content-container > .title { margin-bottom: 1em; } .main-content { position: relative; overflow: auto; margin-bottom: 16px; border-bottom: 1px dotted #888; } .main-content header { overflow: auto; margin-bottom: 1em; } .main-content header .excerpt { margin-top: 1.5em; font-style: italic; font-weight: bold; } .main-content header .wp-post-image { float: left; width: 160px; margin-right: 8px; border: 2px solid #222; border-radius: 6px; } .main-content header .entry-summary { margin-top: 1.5em; } .main-content p { color: #222; line-height: 1.5em; } .main-content a { font-weight: bold; } .main-content ul, .main-content ol { margin-bottom: 1em; } .main-content li { margin: .5em 0; } .title { margin: 0; } .title a { font-family: inherit; } .post-meta { font-size: .825em; line-height: 1.5em; } /* ---BLOG PAGES--- */ .blog-post footer { margin-top: 2em; padding: 1em 0; } /* Post Tiles */ .post-tile { display: inline-block; overflow: hidden; position: relative; width: 272px; height: 204px; margin: 0 8px 8px 0; background-color: #000; } .post-tile img { position: absolute; width: 268px; border: 2px solid #222; border-radius: 6px; } .post-tile a { display: block; position: relative; width: 100%; height: 100%; font-size: 1.25em; } .post-tile .text { position: absolute; bottom: 16px; padding: 8px 24px; background-color: rgb(255, 255, 255); background-color: rgba(255, 255, 255, 0.8); } /* Pagination */ .pagination { margin: 1em 0; text-align: center; } .pagination .page-numbers { font-family: verdana, geneva, sans-serif; padding: 8px; background-color: black; border-radius: 4px; } /* ---FOOTER--- */ #page-footer { position: relative; background-color: #787878; background-color: rgba(192, 192, 192, .4); padding: 0 32px 32px; border-radius: 0 0 8px 8px; } #page-footer > .container { padding: 8px; background-color: #fff; } /* ---WIDGETS--- */ .site-header-widget-container { overflow: auto; } .site-header-widget-container .widget-box { float: right; } .content-sidebar { float: right; width: 30%; min-width: 240px; font-size: .825em; font-family: verdana, geneva, sans-serif; } .content-sidebar > .container { overflow: auto; padding: 4px; } .content-sidebar .widget-box { float: left; width: 100%; } .after-content-widget-container { float: left; width: 68%; min-width: 600px; margin-right: 2%; padding: 0; } /* widgets */ .widget-box { overflow: hidden; } .widget-title { margin-bottom: 1em; } .widget-title .text { color: inherit; } /* Image widget */ .widget_sp_image-description p { font-size: 1em; } /* Search widget */ #searchform { position: relative; float: right; margin: 8px 1em; z-index: 100; } @media screen and (max-width: 1280px) { .page-container { width: 100%; } } @media screen and (max-width: 1024px) { .content-container, .widget-container{ width: 100%; min-width: auto; } .widget-box { margin-right: 8px; } }