/* Theme Name: Britt Theme URI: http://theme.blue/themes/britt Author: theme.blue Author URI: http://theme.blue Description: Description Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: britt Tags: light, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-colors, custom-background, custom-header, custom-menu, featured-images, theme-options, threaded-comments, translation-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. Britt is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Normalize # Typography # Elements # Forms # Navigation ## Links ## Menus # Accessibility # Alignments # Clearings # Widgets # Content ## Posts and pages ## Asides ## Comments # Infinite scroll # Media ## Captions ## Galleries --------------------------------------------------------------*/ body { color: #000; font-family: 'Merriweather', serif; font-size: 16px; line-height: 1.9; letter-spacing: 1px; background-color: #000; } h1,h2,h3,h4,h5,h6 { color: #000; font-family: 'Playfair Display', serif; letter-spacing: 2px; line-height: 1.4; } p { margin-bottom: 30px; } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ button, input, select, textarea { font-size: 100%; /* Corrects font size not being inherited in all browsers */ margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ vertical-align: baseline; /* Improves appearance and consistency in all browsers */ } button, .button, input[type="button"], input[type="reset"], input[type="submit"] { padding: 15px 35px; background-color: #000; text-transform: uppercase; color: #fff; border: 0; font-size: 14px; font-weight: 400; -webkit-transition: all 0.3s; transition: all 0.3s; border-radius: 5px; letter-spacing: 3px; cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ } input[type="submit"] { margin-top: 5px; } button:hover, .button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background-color: #000; color: #fff; text-decoration: none; opacity: 0.9; } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { border-color: #aaa #bbb #bbb; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } input[type="checkbox"], input[type="radio"] { padding: 0; /* Addresses excess padding in IE8/9 */ } input[type="search"] { -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ -moz-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ -webkit-appearance: none; } button::-moz-focus-inner, input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ border: 0; padding: 0; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { color: #666; border: 1px solid #f3f2f2; background-color: #F7F7F7; border-radius: 3px; width: 100%; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { color: #111; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"] { padding: 14px; } textarea { overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ padding-left: 8px; vertical-align: top; /* Improves readability and alignment in all browsers */ width: 100%; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ .main-navigation { clear: both; display: block; width: 100%; background-color: #000; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); } .main-navigation ul { display: none; list-style: none; margin: 0; padding-left: 0; } .main-navigation li { display: inline-block; position: relative; text-transform: uppercase; padding: 15px 0; font-size: 18px; letter-spacing: 3px; font-weight: 600; } .main-navigation li a::after { content: ''; width: 10px; height: 10px; margin: 0 15px 0 20px; background-color: rgba(255, 255, 255, 0.25); display: inline-block; position: relative; top: -1px; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .main-navigation li:last-of-type a::after { display: none; } .main-navigation a { display: block; text-decoration: none; color: #A9A6A6; } .main-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; position: absolute; top: 1.5em; left: -999em; z-index: 99999; } .main-navigation ul ul ul { left: -999em; top: 0; } .main-navigation ul ul a { width: 200px; } .main-navigation ul ul li { } .main-navigation li:hover > a, .main-navigation li.focus > a { } .main-navigation ul ul :hover > a, .main-navigation ul ul .focus > a { } .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { } .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; } .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { left: 100%; } .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation .current-menu-ancestor > a { } /* Small menu. */ .menu-toggle, .main-navigation.toggled ul { display: block; } @media screen and (min-width: 37.5em) { .menu-toggle { display: none; } .main-navigation ul { display: block; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 1.5em; overflow: hidden; clear: both; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 50%; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; width: 50%; } /*-------------------------------------------------------------- # 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. */ } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { outline: 0; } /*-------------------------------------------------------------- # Alignments --------------------------------------------------------------*/ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } /*-------------------------------------------------------------- # Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ .widget { padding: 30px; background-color: #fff; } .widget:last-of-type { margin-bottom: 0; } .widget, .widget a, .widget select { color: #000; } .widget-title { text-transform: uppercase; margin: 0 0 30px; } .widget-title::before { content: ''; width: 10px; height: 10px; margin: 5px 15px 0 0; background-color: rgba(136, 136, 136, 0.25); display: inline-block; position: relative; top: -1px; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } /* Make sure select elements fit in widgets. */ .widget select { max-width: 100%; } .widget ul { padding: 0; list-style: none; } .widget li { padding-top: 2px; padding-bottom: 2px; } .widget .children { padding-left: 20px; } .widget-fixed { padding: 30px; background-color: #000; width: 360px; } .britt_about .photo-wrapper { margin-bottom: 30px; } .britt_about .about-photo { border-radius: 50%; } /*-------------------------------------------------------------- # Footer --------------------------------------------------------------*/ .site-footer, .site-footer a { color: #fff; } .site-footer .container { background-color: #000; padding-top: 120px; padding-bottom: 120px; } .site-info { text-align: center; } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .sticky { display: block; } .hentry { background-color: #fff; } .posts-wrapper .hentry { margin-bottom: 60px; width: 425px; float: left; } .posts-wrapper .hentry:nth-of-type(n) { margin-left: 0; margin-right: 15px; } .posts-wrapper .hentry:nth-of-type(2n) { margin-left: 15px; margin-right: 0; } .byline, .updated:not(.published) { display: none; } .single .byline, .group-blog .byline { display: inline; } .page-content, .entry-content, .entry-summary { } .entry-thumb { overflow: hidden; } .entry-thumb img { -webkit-transition: -webkit-transform 8s; transition: transform 8s; } .entry-thumb img:hover { -webkit-transform: scale(1.4); -ms-transform: scale(1.4); transform: scale(1.4); } .large-thumb { position: relative; margin-bottom: 60px; } .large-thumb .single-thumb::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); -webkit-transition: opacity 1s; transition: opacity 1s; } .large-thumb .entry-header { position: absolute; width: 100%; padding: 0 15px; top: 36%; text-align: center; -webkit-transition: opacity 1s; transition: opacity 1s; } .large-thumb .entry-title { color: #fff; margin: 0 auto 20px; padding-bottom: 30px; display: table; border-bottom: 1px solid rgba(167, 167, 167, 0.3); } .large-thumb .entry-meta { border: 0; } .featured-top .single-thumb::after, .featured-top .entry-header { opacity: 0; } .page-links { clear: both; margin: 0 0 1.5em; } .entry-title a { color: #000; position: relative; z-index: 11; display: block; -webkit-transition: all 0.7s; transition: all 0.7s; } .entry-title a:hover { color: #fff; text-decoration: none; } .entry-title a::after { position: absolute; content: ''; height: 100%; width: 0; bottom: 0; background: #000; left: 0; -webkit-transition: all 0.7s; transition: all 0.7s; z-index: -1; } .entry-title a:hover::after { width: 100%; } .entry-title { margin: 0; } .entry-header { padding: 0 30px 30px; margin-bottom: -1px; } .entry-meta { margin-bottom: 30px; border-bottom: 1px solid #EFEFEF; } .entry-footer { margin-top: 10px; border-top: 1px solid #EFEFEF; overflow: hidden; } .entry-meta, .entry-footer { font-size: 14px; padding: 10px 0; } .entry-footer span:first-of-type, .entry-meta span:first-of-type { float: left; } .entry-footer span:last-of-type, .entry-meta span:last-of-type { float: right; } .entry-footer a, .entry-meta a { padding: 5px 0; } .entry-meta, .entry-footer, .entry-footer a, .entry-meta a { color: #A7A7A7; } .post-inner { padding: 30px 30px 0; } .loop-ribbon { margin-bottom: 60px; padding: 60px; background-color: #000; color: #fff; clear: both; text-align: center; width: 100%; } .loop-ribbon a { color: #fff; } .single .entry-meta span, .single .entry-footer span { float: none; } .single .entry-footer .cat-links { margin-right: 15px; } .single .entry-footer .edit-link { margin-left: 15px; } /* Flexing */ .posts-row { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .posts-row .hentry { position: relative; } .posts-row .post-inner { padding: 30px 30px 45px; } .posts-row .entry-footer { position: absolute; bottom: 0; left: 0; width: 100%; max-width: 365px; margin: 0 0 0 30px; } /*-------------------------------------------------------------- ## Asides --------------------------------------------------------------*/ .blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } /*-------------------------------------------------------------- ## Carousel --------------------------------------------------------------*/ .owl-carousel .owl-wrapper:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .owl-carousel{ display: none; position: relative; -ms-touch-action: pan-y; -webkit-transition: all 0.3s !important; transition: all 0.3s !important; } .owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); } .owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; } .owl-carousel .owl-wrapper-outer.autoHeight{ -webkit-transition: height 500ms ease-in-out; -moz-transition: height 500ms ease-in-out; -ms-transition: height 500ms ease-in-out; -o-transition: height 500ms ease-in-out; transition: height 500ms ease-in-out; } .owl-carousel .owl-item{ float: left; } .owl-controls .owl-page, .owl-controls .owl-buttons div{ cursor: pointer; } .owl-controls { -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .owl-carousel .owl-wrapper, .owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); } .owl-theme .owl-controls{ text-align: center; margin: 30px 0 0; line-height: 1; } .owl-theme .owl-controls .owl-page{ display: inline-block; zoom: 1; *display: inline;/*IE7 life-saver */ } .owl-theme .owl-controls .owl-page span{ display: block; width: 20px; height: 6px; margin: 4px; background-color: transparent; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; border: 1px solid #A9A6A6; -webkit-transition: background 0.3s; transition: background 0.3s; } .owl-theme .owl-controls .owl-page.active span{ background-color: #A9A6A6; } .posts-carousel { margin: 60px 0; } .posts-carousel .owl-item { padding: 0 15px; position: relative; } .posts-carousel .entry-title { margin: 0; position: absolute; bottom: 0; padding: 5px 10px; background-color: #000; } .posts-carousel .entry-title a { color: #A9A6A6; } .carousel-inner { padding-left: 30px; margin-right: -30px; } /*-------------------------------------------------------------- # Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */ .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none; } /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- # 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%; } img { max-width: 100%; height: auto; } /*-------------------------------------------------------------- ## 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.8075em 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; } /*-------------------------------------------------------------- ## Header --------------------------------------------------------------*/ .site-header { text-align: center; background-color: #fff; position: relative; } .site-branding { padding: 120px 0; } .site-title { font-size: 78px; font-family: 'Playfair Display', serif; margin: 0; text-transform: uppercase; letter-spacing: 20px; } .site-title a { color: #000; text-decoration: none; } .site-description { margin-top: 15px; margin-bottom: 0; letter-spacing: 5px; } .site-description:empty { display: none; } /*-------------------------------------------------------------- ## Decoration Bars --------------------------------------------------------------*/ .site-content, .posts-carousel .container, .main-navigation, .site-content > .container { position: relative; } .left-bar, .header-bar { position: absolute; height: 100%; background-color: #fff; } .left-bar { left: 0; top: 0; } /*-------------------------------------------------------------- ## Layout --------------------------------------------------------------*/ .site-content { position: relative; } .site-content > .container { background-color: #fff; padding-top: 60px; overflow: hidden; } .content-area { width: 880px; float: left; } .widget-area { width: 360px; float: right; margin-right: -15px; }