/* Theme Name: BlogNowLite Theme URI: http://www.happythemes.com/wordpress-themes/blognow Author: HappyThemes Author URI: http://www.happythemes.com Description: BlogNowLite is a free WordPress theme by HappyThemes. Version: 1.3 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: blognowlite Tags: two-columns, right-sidebar */ /* TABLE OF CONTENT 0. Reset 1. Defaults 2. Header --2.1 Logo --2.2 Navigation Menu 3. Homepage --3.1 Featured Content --3.2 Recent Content --3.3 Pagination 4. Single Post/Page 5. Archive/Search Page 6. Comments 7. Sidebar 8. Footer 9. Misc. */ /*-------------------------------------------------------------- 0. Reset --------------------------------------------------------------*/ *, *:before, *:after { box-sizing: border-box; } html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; word-wrap: break-word; } body { line-height: 1; } article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section,main { display: block; } nav ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; } ins { color: #333; text-decoration: none; } mark { background-color: #ff9; color: #333; font-style: italic; font-weight: bold; } del { text-decoration: line-through; } abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; } table { border-collapse: collapse; border-spacing: 0; } hr { display: block; height: 1px; border: 0; border-top: 1px solid #eee; margin: 1em 0; padding: 0; } input, select { vertical-align: middle; } sup { top: -.5em; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } .no-list-style { list-style: none; margin: 0; padding: 0; } figure > img { display: block; } img { height: auto; max-width: 100%; } img[class*="align"], img[class*="attachment-"] { height: auto; } embed, iframe, object { max-width: 100%; width: 100%; } /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; } .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.5075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; } /*-------------------------------------------------------------- 1. Defaults --------------------------------------------------------------*/ // Project base color $accent-1: #0079c1 !default; // Selection color $selection-bg-color: $accent-1 !default; $selection-font-color: #fff !default; // Typography color $body-font-color: #000 !default; $heading-font-color: #000 !default; // Link color $link-color: $accent-1 !default; $link-hover-color: $accent-1 !default; //lighten($link-color, 10%) !default; $link-visited-color: $accent-1 !default; //darken($link-color, 5%) !default; $body-font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; $georgia: Georgia, "Helvetica Neue", Helvetica, Arial, sans-serif; h1,h2,h3,h4,h5,h6 { color: #222; font-weight: bold; } strong, b { font-weight: bold; } input, textarea, select { -webkit-appearance: none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } input, input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea { font-family: $body-font-family; font-size: 15px; font-weight: normal; background-color: #fff; border: 1px solid #ddd; outline: none; color: #333; &:focus { border-color: #bfbfbf; outline: none; } } textarea { padding: 10px 15px; } input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"] { height: 38px; line-height: 38px; padding: 0 15px; } button, #respond #commentform .btn, input[type="submit"] { border: none; padding: 0 15px; white-space: nowrap; vertical-align: middle; cursor: pointer; background-color: #f0f0f0; color: #222; font-family: $body-font-family; font-size: 13px; font-weight: bold; height: 38px; line-height: 36px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-appearance: none; -webkit-backface-visibility: hidden; } button:hover, #respond #commentform .btn:hover, input[type="submit"]:hover { background-color: $accent-1; color: #fff; text-decoration: none; } button:focus, textarea:focus { outline:0; } table { font-family: $body-font-family; font-size: 14px; color: #333333; border-width: 1px; border-color: #e9e9e9; border-collapse: collapse; width: 100%; } table th { border-width: 1px; padding: 8px; border-style: solid; border-color: #e6e6e6; background-color: #f0f0f0; } table tr:hover td { background-color: #f9f9f9; } table td { border-width: 1px; padding: 8px; border-style: solid; border-color: #e6e6e6; background-color: #ffffff; } .alignleft { float: left; margin-right: 1.5em; } .alignright { float: right; margin-left: 1.5em; } .aligncenter { display: block; margin: 0 auto; text-align: center; clear: both; } .alignnone { display: block; } /* Clear Floats */ .clear:before, .clear:after { content: ""; display: table; } .clear:after { clear: both; } .clear { clear: both; } .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute; } .sticky, .bypostauthor { background: inherit; color: inherit; } /* Link Hover */ a:hover { color: $link-color; } /* CSS3 Effects */ .box-shadow { box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; -webkit-box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; } body { background: #E6E9EE; color: #414141; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; font-size: 15px; font-weight: 400; line-height: 1.6em; } a { color: #222; text-decoration: none; &:hover { color: $link-hover-color; } &:visited { color: #222; } &:active, &:focus { outline: 0; } } .container { margin: 0 auto; } /* =Genericons, thanks to FontSquirrel.com for conversion! -------------------------------------------------------------- */ @font-face { font-family: 'Genericons'; src: url('genericons/font/genericons-regular-webfont.eot'); src: url('genericons/font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'), url('genericons/font/genericons-regular-webfont.woff') format('woff'), url('genericons/font/genericons-regular-webfont.ttf') format('truetype'), url('genericons/font/genericons-regular-webfont.svg#genericonsregular') format('svg'); font-weight: normal; font-style: normal; } /* Genericons */ .bypostauthor > article .fn:before, .comment-edit-link:before, .comment-reply-link:before, .comment-reply-login:before, .comment-reply-title small a:before, .comment-list .children li:before, .contributor-posts-link:before, .menu-toggle:before, .search-toggle:before, .slider-direction-nav a:before, .widget_happythemes_ephemera .widget-title:before { -webkit-font-smoothing: antialiased; display: inline-block; font: normal 16px/1 Genericons; text-decoration: inherit; vertical-align: text-bottom; } /*-------------------------------------------------------------- # Header --------------------------------------------------------------*/ #top-bar { background-color: #f5f5f5; border-bottom: 1px solid #e9e9e9; height: 42px; position: relative; } #masthead { .container { position: relative; } } .site-header { background-color: #fff; width: 100%; position: relative; line-height: 1; .fixed-search-icon { display: none; } &.stickytop { border-top: 3px solid #222; border-bottom: 1px solid #dfdfdf; position: fixed; top: 0; width: 1120px; height: 64px; margin: 0 0 0 -20px; padding: 0 20px; z-index: 999; box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; -webkit-box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; .site-start { float: left; height: 60px; .site-title { font-size: 20px; line-height: 50px; } } .site-branding { height: 50px; margin: 5px 0 0 0; #logo { height: 50px; margin: 0; } img { max-height: 50px; } } #top-bar, .header-ad { display: none; } .fixed-search-icon { display: block; position: absolute; top: 15px; right: 20px; &:hover { cursor: pointer; span { border-color: #999; color: #222; } } span { color: #666; font-size: 18px; vertical-align: middle; border: 1px solid #e6e6e6; background: #f5f5f5; font-weight: 600; width: 36px; height: 30px; vertical-align: middle; line-height: 28px; border-radius: 3px; } .genericon-search.active { display: none; } .genericon-close { display: none; } .genericon-close.active { display: inline-block; } } #secondary-bar { float: left; clear: none !important; border: none; margin-left: 10px; } #secondary-nav { .sf-menu { li { //border-right: none; line-height: 60px; a { //text-transform: none; } &.menu-item-home { display: none; } ul li { line-height: 44px; } } } } } } .paddingtop { padding-top: 229px; } .site-start { height: 120px; line-height: 1; } .search-input { background: #fff; border: 1px solid #ddd; outline: none; height: 38px; line-height: 38px; color: #333; text-indent: 5px; &:focus { background-color: #fff; border-color: #bfbfbf; } } .search-submit { border-left: none; color: #777; font-size: 15px; font-weight: 600; height: 38px; line-height: 1; outline: none; cursor: pointer; text-align: center; vertical-align: middle; } /* Header Search */ .header-search { background-color: #f5f5f5; border-left: 1px solid #e9e9e9; line-height: 1; position: absolute; top: 0; right: 0; height: 42px; &:after { font-family: 'Genericons'; font-size: 16px; content: '\f400'; position: absolute; top: 13px; left: 10px; } .search-input { border: none; border-bottom: 1px solid #e9e9e9; height: 42px; width: 220px; padding-left: 28px; padding-right: 10px; &:focus { border-color: #e9e9e9; } } .search-submit { background: #f5f5f5; color: #222; font-size: 12px; height: 41px; position: absolute; top: 0; right: 0; padding: 0 10px; text-transform: uppercase; &:hover { background-color: $accent-1; color: #fff; } } } /* Header Search 2 */ .header-search2 { background-color: #fff; display: none; position: absolute; top: 61px; right: 0; padding: 10px; height: 60px; box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; -webkit-box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; &:after { font-family: 'Genericons'; font-size: 16px; content: '\f400'; position: absolute; top: 23px; left: 20px; } .search-input2 { border: 1px solid #e9e9e9; height: 40px; width: 180px; padding-left: 32px; padding-right: 10px; &:hover, &:focus { border-color: #ddd; } } .search-submit2 { background: #f5f5f5; border: 1px solid #e9e9e9; color: #222; font-size: 12px; font-weight: 600; height: 40px; padding: 0 10px; text-transform: uppercase; &:hover { background-color: $accent-1; border-color: $accent-1; color: #fff; } } } .header-search3 { @extend .header-search2; } .header-ad { float: right; width: 728px; line-height: 0.5; margin-top: 15px; } /*-------------------------------------------------------------- 2.1 Logo --------------------------------------------------------------*/ .site-branding { float: left; text-align: left; #logo { height: 90px; margin: 15px 0; } .helper { display: inline-block; height: 100%; vertical-align: middle; } img { max-height: 90px; vertical-align: middle; } } .site-title { font-size: 28px; font-weight: bold; line-height: 120px; a { color: $accent-1; display: block; &:hover { color: #222; } } } /*-------------------------------------------------------------- 2.1 Navigation Menu --------------------------------------------------------------*/ /* Essential Styles */ .sf-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu { margin: 0; padding: 0; list-style: none; li { position: relative; &:hover > ul, &.sfHover > ul { display: block; } } ul { position: absolute; display: none; top: 100%; left: 0; z-index: 99; ul { top: 0; left: 100%; } } > li { float: left; } a { display: block; position: relative; } } /* Theme Navigation Skin */ .sf-menu { float: left; ul { background-color: #fff; border-top: 1px solid #f0f0f0; width: 240px; box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; -webkit-box-shadow: rgba(190, 190, 190, 0.45882) 0px 1px 5px; } a { color: #555; text-decoration: none; zoom: 1; /* IE7 */ } li { line-height: 40px; white-space: nowrap; /* no need for Supersubs plugin */ *white-space: normal; /* ...unless you support IE7 (let it wrap) */ -webkit-transition: background .2s; transition: background .2s; a { padding: 0 20px; font-size: 14px; &:hover { color: #000; } } } ul li { border-bottom: 1px solid #f0f0f0; line-height: 1; padding: 0; a { border-top: none; font-size: 14px; font-weight: normal; padding: 0 20px; } ul { margin-top: -1px; } } ul ul li { background: #fff; } li:hover, li.sfHover, li.current-menu-item { /* only transition out, not in */ //-webkit-transition: none; //transition: none; a { color: #000; } li a { color: #555; display: block; &:hover { background-color: #f7f7f7; color: $accent-1; } } } li.menu-item-home a { } } /*** arrows (for all except IE7) **/ .sf-arrows .sf-with-ul { padding-right: 27px; //margin-right: 2px; } /* styling for both css and generated arrows */ .sf-arrows .sf-with-ul:after { //content: ''; position: absolute; top: 50%; right: 24px; margin-top: -6px; height: 0; width: 0; content: '\f431'; font: normal 14px/1 'Genericons'; display: inline-block; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after { //border-top-color: white; /* IE8 fallback colour */ } /* styling for right-facing arrows */ .sf-arrows ul .sf-with-ul:after { margin-top: -5px; margin-right: 0; content: '\f501'; font: normal 9px/1 'Genericons'; display: inline-block; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .sf-arrows ul li > .sf-with-ul:focus:after, .sf-arrows ul li:hover > .sf-with-ul:after, .sf-arrows ul .sfHover > .sf-with-ul:after { //border-left-color: white; } /* Primary Navigation */ #primary-nav { .sf-menu { li { border-right: 1px solid #e9e9e9; line-height: 41px; &.current-menu-item { a { background-color: #efefef; } ul li a { background-color: #fff; } } a { font-family: Georgia, Arial; font-size: 15px; &:hover { background-color: #efefef; } } ul li { line-height: 44px; a { font-size: 15px; &:hover { background-color: #f5f5f5; } } } } } } #secondary-bar { background-color: #fff; border-top: 3px solid #222; border-bottom: 1px solid #dfdfdf; position: relative; } /* Secondary Navigation */ #secondary-nav { .sf-menu { li { border-right: 1px solid #f0f0f0; line-height: 50px; padding: 0; &.current-menu-item { a { color: $accent-1; } ul li { a { color: #222; &:hover { color: $accent-1; } } } } a { color: #222; font-size: 13px; font-weight: bold; text-transform: uppercase; &:hover { background-color: #f5f5f5; color: $accent-1; } } ul li { line-height: 44px; } } } } /*-------------------------------------------------------------- 3. Homepage --------------------------------------------------------------*/ #page { background-color: #ffffff; width: 1120px; margin: 0 auto; padding: 0 20px; } /* Site Content */ .site-content { background-color: #ffffff; margin: 20px 0 0 0; } #primary { float: left; width: 760px; } /*-------------------------------------------------------------- # 3.1 Featured Content --------------------------------------------------------------*/ #featured-content { margin: 0 0 20px 0; .entry-title { } .featured-left { float: left; display: block; width: 370px; height: 265px; position: relative; .thumbnail-link { float: left; margin: 0 0 10px 0; } .thumbnail-wrap { width: 370px; height: auto; line-height: 0.8; } .entry-info { background-color: rgba(0,0,0, 0.3); position: absolute; bottom: 0; left: 0; width: 100%; } .entry-category { font-family: Georgia; font-size: 13px; position: absolute; top: 10px; left: 10px; a { border: 1px solid #FFA500; border-radius: 4px; line-height: 1; color: #FFA500; padding: 1px 4px; } } .entry-title { line-height: 1.3; a { color: #fff; display: block; font-size: 22px; padding: 10px 10px; } } } .featured-right { float: right; width: 370px; margin: 0; .hentry { list-style: none; margin: 0 0 20px 0; .thumbnail-wrap { float: left; width: 120px; height: auto; margin: 0 15px 0 0; line-height: 0.8; } .entry-info { display: table; } .entry-title { clear: none; font-size: 14px; line-height: 1.35; margin-bottom: 2px; a { &:hover { color: $accent-1; } } } .entry-thumbnail { } .entry-meta { font-size: 13px; .entry-date { &:before { content: '\002022'; margin: 0 5px; } } } .entry-category { a { border-bottom: 1px dotted #ddd; padding-bottom: 2px; &:hover { border-bottom-color: #999; } } } &:last-child { margin: 0; } } } } .thumbnail-wrap { position: relative; .video-length { display: none; position: absolute; right: 3px; bottom: 3px; background-color: #333; background-color: rgba(0,0,0,0.7); color: #fff; color: rgba(255,255,255,0.9); line-height: 1; font-size: 11px; padding: 2px 3px; } } /*-------------------------------------------------------------- 3.2 Recent Content --------------------------------------------------------------*/ #recent-content { .section-header { margin-bottom: 26px; position: relative; h1,h2,h3 { background-color: #fff; font-size: 16px; height: 24px; line-height: 24px; float: left; margin-bottom: -11px; padding-right: 12px; text-transform: uppercase; span { color: $accent-1; } em { color: #999; font-style: normal; } } .recent-nav { background-color: #fff; height: 22px; position: absolute; top: -2px; right: 0; padding-left: 12px; span.genericon { color: #bbb; font-size: 10px; line-height: 20px; margin: 0; padding: 0; } a { background-color: #f3f3f3; color: #999; display: block; font-size: 11px; letter-spacing: 1px; height: 20px; line-height: 20px; display: inline-block; text-align: center; text-transform: uppercase; &:hover { background-color: $accent-1; color: #fff; span { color: #fff; } } } .nav-left a { padding: 0 6px 0 1px; } .nav-right a { padding: 0 1px 0 6px; } } border-bottom: 1px solid #dfdfdf; } } .content-loop { .hentry { border-bottom: 1px solid #e9e9e9; width: 100%; margin-bottom: 20px; padding-bottom: 20px; position: relative; &:last-child { border-bottom: none; padding-bottom: 0; } } .thumbnail-link { display: block; float: left; width: 270px; position: relative; margin: 0 20px 0 0; line-height: 0.5; } .entry-overview { display: table; } .entry-category { margin-right: 7px; a { border-radius: 4px; border: 1px solid #FFA500; color: #FFA500; line-height: 1; padding: 1px 4px; &:hover { color: #222; border-color: #222; } } } .entry-title { font-size: 24px; margin: 0 0 12px 0; } .entry-meta { margin-bottom: 10px; } .entry-summary { display: table; margin-bottom: 15px; p { display: inline; } } .read-more { a { color: $accent-1; font-size: 14px; font-weight: bold; &:hover { color: #222; } } } } .featured-left, .content-loop { .entry-title { font-weight: bold; line-height: 1.35; margin-bottom: 10px; a { color: #222; &:hover { color: $accent-1; } } } .entry-meta { font-size: 13px; line-height: 1.4; .entry-date, .entry-comment { &:before { content: '\002022'; margin: 0 5px; } } .entry-author a { } } } .featured-left { .entry-title { font-size: 24px; } .video-length { z-index: 20; } } .post-link { display: block; position: relative; } .entry-meta { color: #777; font-family: Georgia; a { color: #777; &:hover { color: #222; } } } .setup-notice { color: #777; text-align: center; strong { color: #333; } p { a { color: $accent-1; } } .btn { margin: 28px 0 15px; a { background-color: #f5f5f5; color: $accent-1 !important; font-size: 14px; padding: 10px 20px; vertical-align: middle; &:hover { background-color: $accent-1; color: #fff !important; text-decoration: none; } } } } #featured-content { .setup-notice { p { margin-bottom: 20px; } .home-more { margin-top: 40px; } } } /*-------------------------------------------------------------- 3.3 Pagination --------------------------------------------------------------*/ .pagination { border-top: 1px solid #e9e9e9; padding: 40px 0; width: 100%; text-align: center; .page-numbers { background-color: #f5f5f5; display: inline-block; font-size: 14px; font-weight: bold; height: 36px; line-height: 36px; padding: 0 13px; text-transform: uppercase; &:hover { background-color: $accent-1; color: #fff; text-decoration: none; } &.current { color: $accent-1; &:hover { color: #fff; } } } .nav-prev { float: left; position: relative; } .nav-next { float: right; position: relative; &:hover { } } } .entry-share { margin: 0 10px 0 0; a { display: inline-block; font-size: 13px; margin: 0 1px 0 0; opacity: 0.8; span { color: #fff; } &:hover { opacity: 1; text-decoration: none; } .genericon { color: #fff; width: 26px; height: 26px; text-align: center; line-height: 26px; } } .icon-comment { background-color: #089E00; } .icon-facebook { background-color: #3b5998; } .icon-twitter { background-color: #55acee; } .icon-google-plus { background-color: #dd4b39; } .icon-pinterest { background-color: #cc2127; } } /*-------------------------------------------------------------- 4. Single Post/Page --------------------------------------------------------------*/ .page-title { font-size: 30px; margin-bottom: 20px; line-height: 1.2; } .single, .page { #primary article.hentry { background-color: #fff; position: relative; .entry-thumbnail { margin-bottom: 10px; } } h1.entry-title { font-size: 30px; line-height: 1.2em; display: block; margin-bottom: 15px; } .entry-header { margin: 0 0 15px 0; .entry-meta { font-size: 13px; position: relative; .entry-author { .avatar { border-radius: 50%; width: 32px; height: auto; margin: 0 7px -10px 0; } a { color: $accent-1; &:hover { color: #222; } } } .entry-date, .entry-comment { &:before { content: '\002022'; margin: 0 5px; } } .entry-category { margin-left: 7px; a { border-radius: 4px; border: 1px solid #FFA500; color: #FFA500; line-height: 1; padding: 1px 4px; &:hover { color: #222; border-color: #222; } } } .entry-comment { margin-left: 5px; a { color: #777; line-height: 1; &:hover { color: #222; border-color: #222; } } .genericon { font-size: 16px; vertical-align: middle; margin-top: -4px; } } } } .entry-share { display: inline; } .entry-footer { margin-bottom: 20px; } } /* Related Posts */ .entry-related { border-top: 1px solid #dfdfdf; margin-top: 20px; padding: 20px 0 0 0; h3 { font-size: 18px; margin-bottom: 15px; } .hentry { float: left; width: 240px; margin: 0 20px 0 0; &.last { margin-right: 0; } .entry-title { line-height: 1.35; margin-bottom: 3px; a:hover { color: $accent-1; } } .entry-meta { font-size: 13px; } .thumbnail-wrap { height: auto; line-height: 0.8; margin-bottom: 10px; } } } /* Entry Tags */ .entry-tags { span { font-size: 13px; margin-right: 10px; } .tag-links a { background-color: #f5f5f5; border: 1px dotted #bbb; border-radius: 4px; color: #777; font-size: 11px; margin: 0 2px 0 0; padding: 2px 4px; text-transform: uppercase; &:hover { background-color: #fff; border-color: #999; border-style: solid; color: #222; } } .edit-link a { color: $accent-1; &:hover { color: #222; } } } /* Author Box */ .author-box { border-top: 1px solid #dfdfdf; margin: 20px 0 0 0; padding: 20px 0 0 0; a { color: $accent-1; &:hover { color: #222; } } .avatar { border-radius: 50%; float: left; width: 72px; height: auto; line-height: 0.8; margin: 0 15px 0 0; } .author-meta { display: table; .author-name { margin-bottom: 5px; span { } } .author-desc { color: #777; font-size: 15px; font-family: Georgia; margin-bottom: 5px; a { } } .author-posts-link a { font-size: 14px; } } } /* Entry Content */ .page-content, .entry-content { .wp-post-image { margin-bottom: 10px; width: 100%; } a { color: $accent-1; &:hover { color: #222; } } h1, h2, h3, h4, h5, h6 { margin-bottom: 20px; } h1 { font-size: 28px; } h2 { font-size: 24px; } h3 { font-size: 18px; } h4 { font-size: 16px; } h5,h6 { font-size: 14px; } p { line-height: 1.65em; margin-bottom: 20px; br { } } ul, ol { margin: 0 0 20px 0; ul, ol { margin: 8px 0 0 20px; } } ul li { list-style: none; margin: 0 0 8px 0; &:hover { &:before { color: #ffa500; } } &:before { font-family: "genericons"; content: '\f428'; color: #777; font-size: 15px; margin-left: -4px; padding-right: 2px; vertical-align: middle; text-align: left; } ul li { list-style: none; } } ol li { list-style: inside decimal; margin: 0 0 10px 0; } select { padding: 0 5px; &:focus, &:active { outline: none; } } dl { margin-bottom: 20px; } fieldset { border: 1px solid #e9e9e9; margin: 0 2px 20px 2px; padding: 0.35em 0.625em 0.75em; } input[type="radio"] { -webkit-appearance: radio; } input[type="checkbox"] { -webkit-appearance: checkbox; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } label { display: block; font-weight: bold; } table { margin-bottom: 20px; } select { border: 1px solid #e9e9e9; font-size: 1em; -webkit-border-radius: 3px; border-radius: 3px; height: 2em; max-width: 100%; -webkit-appearance: menulist; } input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"] { width: 300px; } input[type="file"] { border: none; } textarea { width: 100%; height: 200px; } .wp-caption { background-color: #f7f7f7; padding: 0 0 1px 0; } .wp-caption-text { font-size: 13px; font-style: italic; color: #999; } } blockquote { color: #999999; font-size: 18px; font-style: italic; padding: 0.25em 50px; line-height: 1.45; position: relative; &:before { display: block; content: "\201C"; font-size: 64px; position: absolute; left: 0; top: -15px; color: #cccccc; } cite { color: #333333; display: block; margin-top: 10px; &:before { content: "\2014 \2009"; } } } .entry-footer { a { color: $accent-1; &:hover { color: #222; } } } /*-------------------------------------------------------------- 5. Archive/Search Page --------------------------------------------------------------*/ .search-no-results { .page-title { font-size: 18px; margin-bottom: 10px; } } .paged, .archive, .search { #recent-content .section-header, #primary .section-header { margin-bottom: 20px; h1,h2,h3 { height: auto; line-height: auto; float: none; margin-bottom: 0; padding: 0 0 12px 0; } .recent-nav { top: -3px; } } } /*-------------------------------------------------------------- 6. Comments --------------------------------------------------------------*/ .comments-area { border-top: 1px solid #dfdfdf; background-color: #fff; margin: 20px 0 0 0; padding: 20px 0 0 0; } .comments-title { font-size: 18px; margin-bottom: 20px; } .comment-reply-title { font-size: 18px; margin-bottom: 10px; } .comment-list { border-bottom: 1px solid #e9e9e9; list-style: none; margin: 0 0 20px 0; } .comment-author { font-size: 14px; } .comment-list .reply, .comment-metadata { font-family: Georgia; font-size: 13px; } .comment-list .reply { margin-top: 10px; } .comment-author .fn { font-weight: bold; } .comment-author a { color: #2b2b2b; } .comment-list .trackback a, .comment-list .pingback a, .comment-metadata a, .comment-list .reply a { color: #767676; } .comment-list .trackback a:hover, .comment-list .pingback a:hover, .comment-metadata a:hover, .comment-list .reply a:hover { color: #333; } .comment-author a { color: $accent-1; &:hover { color: #222; } } .comment-list article, .comment-list .pingback, .comment-list .trackback { margin: 0 0 20px 0; } .comment-list > li:first-child > article, .comment-list > .pingback:first-child, .comment-list > .trackback:first-child { border-top: 0; } .comment-author { position: relative; } .comment-author .avatar { border-radius: 50%; position: absolute; top: 0; left: 0; width: 48px; height: auto; } .bypostauthor > article .fn:before { color: #fbb034; content: "\f408"; margin: 0 2px 0 -2px; position: relative; top: -1px; } .says { display: none; } .comment-author, .comment-awaiting-moderation, .comment-content, .comment-list .reply { padding-left: 64px; } .comment-author { display: inline; } .comment-metadata { display: inline; margin-left: 7px; } .comment-edit-link { margin-left: 10px; &:hover { text-decoration: none; } } .comment-edit-link:before { content: "\f411"; } .comment-reply-link:hover { text-decoration: none; } .comment-reply-link:before, .comment-reply-login:before { content: '\f467'; color: #aaa; margin-right: 2px; } .comment-content { -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; word-wrap: break-word; a { color: $accent-1; } } .comment-content ul, .comment-content ol { margin: 0 0 24px 22px; } .comment-content li > ul, .comment-content li > ol { margin-bottom: 0; } .comment-content > :last-child { margin-bottom: 0; } .comment-list .children { list-style: none; margin-left: 64px; } .comment-respond { padding: 0 0 20px 0; } .comment .comment-respond { margin-top: 24px; } .comment-respond h3 { margin-top: 0; } .comment-notes, .comment-awaiting-moderation, .logged-in-as, .no-comments, .form-allowed-tags, .form-allowed-tags code { color: #767676; a { color: #767676; &:hover { color: #222; } } } .comment-notes, .comment-awaiting-moderation, .logged-in-as { font-family: Georgia; font-size: 14px; font-style: italic; margin-bottom: 10px; } .no-comments { font-size: 16px; font-weight: 900; line-height: 1.5; margin-top: 24px; text-transform: uppercase; } .comment-form { .comment-notes, .comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url { margin-bottom: 20px; } textarea { width: 100%; } .comment-form-author { float: left; width: 240px; margin-right: 20px; } .comment-form-email { float: left; width: 240px; margin-right: 20px; } .comment-form-url { float: left; width: 240px; } &:after { content: ''; display: block; clear: both; } .submit { font-size: 14px; padding: 0 18px; } } .comment-form label { display: block; font-size: 14px; font-weight: bold; } .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; } .form-allowed-tags, .form-allowed-tags code { font-size: 12px; line-height: 1.5; } .required { color: #c0392b; } .comment-reply-title small a { color: #2b2b2b; float: right; height: 24px; overflow: hidden; width: 24px; } .comment-reply-title small a:hover { color: $accent-1; } .comment-reply-title small a:before { content: "\f405"; font-size: 20px; } .comment-navigation { font-size: 12px; line-height: 2; margin-bottom: 48px; text-transform: uppercase; } .comment-navigation .nav-next, .comment-navigation .nav-previous { display: inline-block; } .comment-navigation .nav-previous a { margin-right: 10px; } #comment-nav-above { margin-top: 36px; margin-bottom: 0; } /*-------------------------------------------------------------- 7. Sidebar --------------------------------------------------------------*/ .sidebar { float: right; width: 300px; .widget { background-color: #fff; margin-bottom: 20px; a { color: $accent-1; &:hover { } } .widget-title { color: #222; font-size: 16px; font-weight: bold; margin-bottom: 25px; span { border-bottom: 3px solid #FFA500; padding-bottom: 5px; } } p { margin-bottom: 15px; } ul { .children, .sub-menu { padding-left: 1.5em; li:first-child { padding: 15px 0; border-top: 1px solid #e9e9e9; } } } ul > li { list-style: none; margin-bottom: 7px; &:before { font-family: "genericons"; content: '\f428'; color: #777; font-size: 15px; margin-left: -4px; padding-right: 2px; vertical-align: middle; text-align: left; } &:hover { &:before { color: #ffa500; } } a { color: #333; &:hover { color: $accent-1; } } } ul li:last-child { margin-bottom: 0; } select { width: 100%; max-width: 100%; } } .widget_search { input[type='search'] { width: 200px; } input[type='submit'] { width: 95px; text-align: center; padding-left: 0; padding-right: 0; } } .widget_social_icons, .widget_posts_thumbnail { ul li { list-style: none; &:before { content: none; display: none; } } } .widget_posts_thumbnail { line-height: 1.4; ul > li { margin-bottom: 15px; padding: 0 !important; } .thumbnail-wrap, .wp-post-image, img { width: 100px; height: auto; } } .widget_social_icons { ul > li { width: 150px; } } } /* Text Widget */ .widget_text { a { &:hover { color: #222; } } } /* Posts with Thumbnail Widget */ .widget_posts_thumbnail { ul li { margin: 0 0 15px 0; } li:after { content: ""; display: block; clear: both; } .entry-thumbnail { float: left; margin: 0 10px 0 0; } .entry-wrap { display: table; line-height: 1.2; a { color: #222; font-size: 13px; font-weight: bold; } } .thumbnail-wrap { float: left; margin: 0 10px 0 0; line-height: 0; } .entry-meta { font-size: 13px; font-family: Georgia; margin-top: 5px; } } /* Tag Cloud Widget */ .widget_tag_cloud { .tagcloud a { background-color: #f5f5f5; border: 1px dotted #bbb; border-radius: 4px; color: #777 !important; display: inline-block; font-size: 11px !important; line-height: 1.3; margin: 0 2px 2px 0; padding: 2px 4px; text-transform: uppercase; &:hover { border-color: #999 !important; border-style: solid; color: #222 !important; } } } /* Recent Posts Widget */ .widget_recent_entries { .post-date { font-family: Georgia; font-size: 13px; color: #777; margin-left: 5px; } } /* Categories Widget */ .widget_categories { ul li { color: #777; } } /* Social Icons Widget */ .widget_social_icons { ul > li { border: none; display: inline-block; margin: 0 0 10px 0; padding: 0; &.twitter a { background: url("assets/img/icon-twitter.png") 0 0 no-repeat; } &.facebook a { background: url("assets/img/icon-facebook.png") 0 0 no-repeat; } &.google-plus a { background: url("assets/img/icon-google-plus.png") 0 0 no-repeat; } &.pinterest a { background: url("assets/img/icon-pinterest.png") 0 0 no-repeat; } &.youtube a { background: url("assets/img/icon-youtube.png") 0 0 no-repeat; } &.rss a { background: url("assets/img/icon-rss.png") 0 0 no-repeat; } &.linkedin a { background: url("assets/img/icon-linkedin.png") 0 0 no-repeat; } &.instagram a { background: url("assets/img/icon-instagram.png") 0 0 no-repeat; } &.tumblr a { background: url("assets/img/icon-tumblr.png") 0 0 no-repeat; } a { display: inline-block; background-size: 24px 24px !important; padding-left: 30px; } } } /*-------------------------------------------------------------- 7. Footer --------------------------------------------------------------*/ .footer-columns { background-color: transparent; border-bottom: 3px solid #222; padding: 20px 0 0 0; .section-header { font-size: 32px; font-weight: normal; margin-bottom: 20px; } .setup-notice { padding-bottom: 5px; } .widget { margin-bottom: 20px; } .widget_posts_thumbnail { .thumbnail-wrap, .wp-post-image, img { width: 100px; height: auto; } } .footer-column-1, .footer-column-2, .footer-column-3, .footer-column-4 { float: left; width: 247px; margin: 0 30px 0 0; box-sizing: content-box; position: relative; } .footer-column-4 { margin-right: 0; } } .site-footer { border-top: 1px solid #dfdfdf; .widget { color: #666; font-size: 14px; margin-bottom: 20px; a { color: $accent-1; &:hover { color: $accent-1; } } .widget-title { color: #333; font-size: 16px; margin-bottom: 15px; } p { color: #666; margin-bottom: 15px; } ul { .children, .sub-menu { padding-left: 1.5em; li:first-child { border-top: none; padding-top: 0; } li:last-child { border-bottom: none; padding-bottom: 0; } } } ul > li { list-style: none; padding: 0; margin-bottom: 5px; a { color: #333; &:hover { color: $accent-1; } } } ul li:first-child { border-top: none; padding-top: 0; } ul li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } select { width: 100%; max-width: 100%; } } .widget_posts_thumbnail { ul li { margin-bottom: 15px; a { font-family: $body-font-family; font-size: 13px; font-weight: bold; } } .thumbnail-wrap { line-height: 0.5; } } .widget_search { input[type='search'] { width: 100%; margin-bottom: 10px; } input[type='submit'] { width: 100%; } } .widget_social_icons { ul > li { width: 123px; } } } /* Back to top button */ #back-top { background-color: #ffa500; display: none; position: fixed; bottom: 10px; left: 50%; margin-left: 570px } #back-top a { span { background-color: #666; color: #fff; font-size: 18px; width: 30px; height: 30px; display: block; line-height: 30px; text-align: center; text-decoration: none; vertical-align: middle; } &:hover span { background-color: #888; color: #fff; } } /* Site Bottom */ #site-bottom { color: #666; font-size: 12px; padding: 15px 0; .site-info { float: left; a { color: #666; &:hover { color: $accent-1; } } } .footer-nav { float: right; ul { li { border-right: 1px solid #dfdfdf; display: inline-block; list-style: none; line-height: 1; padding: 0 15px; &:last-child { border-right: none; padding-right: 0; } a { color: #666; &:hover { color: $accent-1; } } li { display: none; } } } } } /*-------------------------------------------------------------- 9. Misc. --------------------------------------------------------------*/ .step { color: red; } /* Mobile Menu */ .mobile-menu-icon { display: none; position: absolute; top: 46px; right: 50px; .menu-icon-close, .menu-icon-open { background: #f5f5f5; border: 1px solid #e9e9e9; border-radius: 3px; color: #666; display: block; font-size: 13px; font-weight: 600; width: 60px; height: 30px; line-height: 28px; text-align: center; text-transform: uppercase; &:hover { border-color: #999; color: #222; cursor: pointer; } } .menu-icon-close { display: none; .genericon { margin-top: -2px; font-size: 18px; font-weight: 600; line-height: 1; vertical-align: middle; } } .menu-icon-open.active { display: none; } .menu-icon-close { display: none; } .menu-icon-close.active { display: inline-block; } } .mobile-menu { background-color: #fff; display: none; position: absolute; width: 100%; top: 94px; padding: 20px; z-index: 99; @extend .box-shadow; .menu-left, .menu-right { float: left; width: 50%; } h3 { color: #222; font-size: 14px; margin-bottom: 15px; text-transform: uppercase; } ul { li { display: block; list-style: none; margin-bottom: 15px; &:hover { &:before { color: #ffa500; } } &:before { font-family: "genericons"; content: '\f428'; color: #777; font-size: 15px; margin-left: -4px; padding-right: 2px; vertical-align: middle; text-align: left; } &:last-child { margin-bottom: 0; } &.menu-item-home { display: none; } a { color: #666; font-size: 14px; &:hover { color: $accent-1; } } ul li { //display: none; } } } } /* Mobile Search */ .mobile-search-icon { color: #222; display: none; position: absolute; top: 46px; right: 0; &:hover { cursor: pointer; } span { background: #f5f5f5; border: 1px solid #e9e9e9; border-radius: 3px; color: #666; display: block; font-size: 18px; font-weight: 600; width: 36px; height: 30px; line-height: 28px; text-align: center; vertical-align: middle; &:hover { border-color: #999; color: #222; } } .genericon-search.active { display: none; } .genericon-close { display: none; } .genericon-close.active { display: inline-block; } }