/* Theme Name: Blogfolio Theme URI: http://portfolio.planetjon.ca/projects/blogfolio/ Version: 1.6.3 Author: Jonathan Weatherhead Author URI: http://portfolio.planetjon.ca Description: A lightweight HTML5 theme with responsive design for mobile to large displays, geared towards portfolio-based blogging. Features include a homepage template with tiled blog posts, and 5 widget areas. 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, post-formats, 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 { background-color: #00152a; color: #333; font-size: 14pt; font-family: Georgia, serif; } a { color: #369; text-decoration: none; font-family: verdana, geneva, sans-serif; } a:hover{ color: #48C; } thead a:hover, tfoot a:hover { color: #fff; } blockquote:before { color: #666; } h1, h2, h3, h4, h5, h6 { margin: 0; margin-bottom: 1em; color: #48c; 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; } table, th, td { border: 1px solid #48c; } thead, tfoot { background-color: #48c; color: #fff; } th, td { padding: 0.5em; } 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; 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 { display: block; clear: both; overflow: hidden; visibility: hidden; width: 100%; height: 1px; margin: 0 0 -1px; } .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; font-size: 4em; } #page-header .site-title .text { vertical-align: top; } #page-header .site-subtitle { font-size: 1.5em; } #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 a { width: 100%; padding-left: 8px; padding-right: 8px; text-align: left; border-style: none; } #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 .sub-menu { min-width: 66.67%; font-size: 1em; } #page-header nav.primary .sub-menu > .menu-item:hover > .sub-menu { top: 0; left: 102%; } /* ---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; } .full-width-content .content-container { width: 100%; min-width: auto; margin-right: 0; } .content-container > .title { margin-bottom: 1em; } .archive > .synopsis, .author-page > .synopsis { margin: 16px auto; padding: 16px; background: #ececec; border-radius: 8px; } .main-content { position: relative; overflow: auto; margin-bottom: 16px; padding: 2px; word-wrap: break-word; } .main-content .wp-post-image { width: 160px; border: 2px solid #333; border-radius: 6px; } .post-feature .wp-post-image { float: left; margin-right: 8px; margin-bottom: 8px; } .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 .entry-summary { margin-top: 1.5em; } .main-content footer { clear: left; margin-top: 2em; padding: 1em 0; } .main-content p { 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; } .attachment .parent-link:before { content: '\21E6'; } .title { margin: 0; } .title a { font-family: inherit; } .post-meta { color: #555; font-family: verdana, geneva, sans-serif; font-size: .825em; line-height: 1.5em; font-weight: bold; } .post-classification .data { display: block; } footer .post-meta { padding: 16px; background: #ececec; border-radius: 8px; } /* ---BLOG PAGES--- */ .post-meta .entry-date:before { } .post-meta .entry-author:before { } /* Post Tiles */ .post-tiles { display: block; overflow: auto; word-spacing: 0; } .post-tile { display: block; float: left; position: relative; overflow: hidden; width: 272px; height: 204px; vertical-align: top; margin: 0 8px 8px 0; background-color: #67696b; background-image: url('resources/images/tile-ridges.png'); background-position: top left; background-repeat: repeat-x; color: #369; font-size: .825em; font-weight: bold; box-shadow: 2px 2px 4px #222; } .latest-post { display: block; float: left; width: 552px; height: 416px; font-size: 1.65em; background-size: 240px; } .post-tile .wp-post-image { position: absolute; width: 268px; border: 2px solid #222; border-radius: 6px; } .latest-post .wp-post-image { width: auto; max-width: 552px; } .post-tile .post-link { display: block; position: relative; width: 100%; height: 100%; color: #48c; } .post-tile .title-text { position: absolute; bottom: 16px; padding: 8px 24px; font-size: 1.25em; background-color: #181818; background-color: rgba(24, 24, 24, 0.8); } .post-tile:hover .title-text { visibility: hidden; } .post-tile .post-preview { display: block; position: absolute; visibility: hidden; width: 100%; height: 100%; } .post-tile:hover .post-preview { visibility: visible; } .post-tile .post-format { display: block; position: relative; width: 96%; height: 96%; padding: 2%; background-position: center; background-repeat: no-repeat; } .post-tile .audio-post { background-image: url('resources/images/postformat-audio.png'); } .post-tile .video-post { background-image: url('resources/images/postformat-video.png'); } .post-tile .image-post { background-image: url('resources/images/postformat-image.png'); } .post-tile .gallery-post { background-image: url('resources/images/postformat-gallery.png'); } .post-tile .link-post { background-image: url('resources/images/postformat-link.png'); } .post-tile .chat-post { background-image: url('resources/images/postformat-chat.png'); } .post-tile .quote-post { background-image: url('resources/images/postformat-quote.png'); } .post-tile .status-post { background-image: url('resources/images/postformat-status.png'); } .post-tile .aside-post { background-image: url('resources/images/postformat-aside.png'); } .post-tile .standard-post { background-color: #000; } .post-tile .post-flag { position: absolute; width: 32px; } .post-tile.sticky:after { position: absolute; top: 0; left: 0; content: url('resources/images/post-sticky_32x32.png'); } .post-tile.post-password-required:after { position: absolute; top: 0; right: 0; content: url('resources/images/post-protected_32x32.png'); } .post-tile.sticky:hover:after, .post-tile.post-password-required:hover:after { content: none; } /* Pagination */ .pagination { margin: 1em 0; text-align: center; } .pagination .page-numbers { padding: 8px; font-family: verdana, geneva, sans-serif; font-weight: normal; 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--- */ .full-width-content .widget-container{ width: 100%; min-width: auto; } .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; } .full-width-content .widget-box { margin-right: 8px; } .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; } }