/* Theme Name: Biogenic Theme URI: http://underscores.me/ Author: theme-essentials Author URI: http://theme-essentials.com Description: Custom responsive theme build on underscores Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: two-columns, right-sidebar, responsive-layout, accessibility-ready, custom-header, custom-menu, editor-style, featured-images, sticky-post, threaded-comments, translation-ready Text Domain: biogenic Domain Path: /languages 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. biogenic 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. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Normalize # Typography # Elements # Forms # Header # Navigation ## Links ## Menus ## Paging Navigation # Accessibility # Alignments # Clearings # Widgets # Content ## Posts and pages ## Asides ## Comments # Infinite scroll # Media ## Captions ## Galleries # Woocommerce # Footer --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Normalize --------------------------------------------------------------*/ html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background-color: transparent; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1 { font-size: 1.3em; margin: 0.5em 0; } mark { background: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 0 auto; } hr { box-sizing: content-box; height: 0; } pre { overflow: auto; } code, kbd, pre, samp { font-style: italic; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { border: 0; padding: 0; } textarea { overflow: auto; } optgroup { font-weight: bold; } /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ body, button, input, select, textarea { color: #333; font-family: 'Lato', sans-serif; font-size: 14px; line-height: 1.5; word-wrap: break-word; } h1, h2, h3, h4, h5, h6 { clear: both; font-weight: 400; color: #333; margin: 8px 0; } h1 { font-size: 26px; } h2 { font-size: 24px; } h3 { font-size: 22px; } h4 { font-size: 20px; } h5 { font-size: 18px; } h6 { font-size: 16px; } p { clear: both; margin: 0 0 5px 0; } dfn, cite, em, i { font-style: italic; } blockquote { background: #f2f2ed; border-left: 3px solid #888; margin: 1.5em 1em; padding: 1em 1em; line-height: 1.5; font-size: 16px; font-style: italic; quotes: "\201C" "\201D" "\2018" "\2019"; } blockquote:before { color: #999; content: open-quote; font-size: 4em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; } blockquote p { display: inline; } blockquote cite, blockquote small { color: #333; display: block; font-size: 16px; line-height: 1.5; } blockquote cite:before, blockquote small:before { content: "\f007"; color: #777; font-family: FontAwesome; font-size: 12px; margin: 0 5px; } blockquote em, blockquote i, blockquote cite { font-style: normal; } blockquote strong, blockquote b { font-weight: 400; } blockquote > :last-child { margin-bottom: 0; } address { margin: 0 0 1.5em; font-style: italic; } code, kbd, tt, var, samp, pre { font-style: italic; } pre { border: 1px solid #ccc; background: #f2f2ed; font-size: 14px; line-height: 1.3; margin: 0 0 1em; max-width: 100%; overflow: auto; padding: 1em; white-space: pre; white-space: pre-wrap; word-wrap: break-word; } code { background-color: #555; padding: 0.125em 0.25em; color: #fff; font-size: 14px; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } big { font-size: 125%; } /*-------------------------------------------------------------- # Elements --------------------------------------------------------------*/ html { box-sizing: border-box; } *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit; } body { background: #fff; /* Fallback for when there is no custom background color defined. */ } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 12px; } ul, ol { margin: 0 0 .3em 1em; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 2em; padding: 0; } dt { font-weight: bold; } dd { margin: 0 1em 1em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ border: solid 1px #ccc; } table, th, td { border: 1px solid #d1d1d1; } table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.75em; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; } caption, th, td { font-weight: normal; text-align: left; } th { border-width: 0 1px 1px 0; font-weight: 700; } td { border-width: 0 1px 1px 0; } th, td { padding: 0.4375em; } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #5589b5; border-radius: 4px; background: #5589b5; color: #f9f9f9; font-size: 13px; line-height: 1; padding: 8px 8px 6px; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background: #f9f9f9; color: #5589b5; font-weight: bold; } 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="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea { color: #666; border: 1px solid #ccc; border-radius: 3px; } select { border: 1px solid #ccc; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus { color: #111; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"] { padding: 3px; } textarea { padding-left: 3px; width: 100%; } /*-------------------------------------------------------------- # Header --------------------------------------------------------------*/ .header-image { display: none; position: relative; height: 300px; background-position: center; background-size: cover; background-repeat: no-repeat; border-bottom: 1px solid #999; } .site-branding { padding: 20px; text-align: right; background: #7793aa; } .site-title { font-size: 22px; line-height: normal; } .site-description { font-size: 18px; margin-bottom: 20px; } .site-branding a { text-decoration: none; } .site-title a, .site-description { color: #fff; } /* Header search */ .search-toggle { float: right; font-size: 16px; padding: 8px; margin-right: 20px; color: #fff; text-align: center; cursor: pointer; } .search-toggle:hover, .search-toggle.active { background: #555; } .search-toggle .screen-reader-text { top: 0; right: 0; } .search-box-wrapper { z-index: 2; width: 100%; } .search-box { padding: 10px; background: #555; clear: both; } .search-box .search-field { max-width: 362px; float: right; padding: 5px; font-size: 16px; background-color: #fff; border: 0; } .hide { display: none; } .error404 .search-submit, .search .search-submit, .search-box .search-submit { display: none; } @media screen and (max-width: 600px) { .search-toggle { display: none; } } /*-------------------------------------------------------------- # Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Links --------------------------------------------------------------*/ a { color: #3C14A6; text-decoration: none; } a:visited { color: #701932; } a:hover, a:focus, a:active { color: blue; } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ #site-navigation { padding-left: 0; } .main-navigation { clear: both; display: block; float: left; width: 100%; text-transform: uppercase; background: #444; } .main-navigation ul { display: none; list-style: none; margin: 0; padding-left: 0; } .main-navigation li { float: left; position: relative; } .main-navigation a { display: block; text-decoration: none; padding: 10px; color: #ededed; } .main-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; position: absolute; padding: 0; left: -999em; z-index: 99999; background: #555; } .main-navigation ul ul ul { left: -999em; top: 0; background: #666; } .main-navigation ul ul a { width: 200px; } .main-navigation ul ul li { } .main-navigation li:hover > a, .main-navigation li.focus > a { background: #666; } .main-navigation ul ul :hover > a, .main-navigation ul ul .focus > a { background: #555; } .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { background: #777; } .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 { background: #555; } /* Small menu. */ .menu-toggle { cursor: pointer; display: inline-block; font-weight: normal; font-size: 16px; text-decoration: none; color: #ededed; background: #444; margin: 0; } .menu-toggle a:hover, .menu-toggle a:focus { background: #666; } .main-navigation.toggled ul { display: block; border-top: 1px solid #ccc; } .main-navigation.toggled li { float: none; } .main-navigation.toggled ul ul, .main-navigation.toggled ul ul ul { display: none; } @media screen and (min-width: 37.5em) { .menu-toggle { display: none; } .main-navigation ul { display: block; } #site-navigation { padding-left: 3%; } } /*-------------------------------------------------------------- ## Paging Navigation --------------------------------------------------------------*/ .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 1.5em; overflow: hidden; } .post-nav-box { margin-top: 20px; padding: 1em 0; margin-bottom: 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 40%; font-size: 12px; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; width: 40%; font-size: 12px; } .paging-navigation ul { margin: 15px 0; } .paging-navigation li { display: inline; font-size: 18px; } a.page-numbers, span.page-numbers { padding: .3em .7em; color: #333; } a:hover.page-numbers, a:focus.page-numbers { color: #333; } .paging-navigation .current { font-weight: bold; color: #000; } /*-------------------------------------------------------------- # 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-bottom-widgets:before, .content-bottom-widgets:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after, .content-bottom-widgets:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ .widget { margin: 0 0 1.5em; } .widget-title { font-size: 22px; border-bottom: 1px solid #ccc; } .widget a { color: midnightblue; } .widget ul, .widget ol { padding: 0; margin-left: 0.8em; list-style-type: none; } .widget li li { margin-left: .5em; } .widget_recent_entries li:before, .widget_recent_comments li:before, .widget_archive li:before, .widget_categories li:before, .widget_meta li:before { display: block; float: left; padding-top: 3px; padding-right: 7px; font-family: 'fontawesome'; font-size: 12px; clear: both; } .widget_recent_entries li:before { content: "\f11d"; } .widget_recent_comments li:before { content: "\f0e5"; } .widget_archive li:before { content: "\f0a0"; } .widget_categories li:before { content: "\f046"; } .widget_meta li:before { content: "\f011"; } .widget_nav_menu a, .widget_pages a { display: block; padding: 3px 0; border-bottom: solid 1px #ccc; } .widget_rss .rss-date, .widget_rss cite { display: block; font-size: 85%; } /* Make sure select elements fit in widgets. */ .widget select { max-width: 100%; } .content-widgets { clear: both; padding: 1.5em 0; } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .article-well { margin-top: 20px; background: #f9f9f7; border: solid 1px #ccc; border-radius: 10px; padding-left: 10px; padding-right: 10px; padding-bottom: 20px; clear: both; } .single-post-thumbnail, .small-index-thumbnail { padding-top: 10px; } .sticky { display: block; } .sticky-post { float: right; padding-top: 5px; } .hentry { margin: 0; } .single .byline, .group-blog .byline { display: inline; } .entry-meta { font-size: 12px; } .byline:before { padding-right: 3px; padding-left: 2px; font-family: 'fontawesome'; font-size: 12px; content: "\f044"; } .posted-on:before { padding-right: 3px; padding-left: 4px; font-family: 'fontawesome'; font-size: 12px; content: "\f274"; } .comments-link:before { padding-right: 3px; padding-left: 4px; font-family: 'fontawesome'; font-size: 12px; content: "\f27b"; } .edit-link:before { padding-right: 2px; padding-left: 4px; font-family: 'fontawesome'; font-size: 12px; content: "\f040"; } .category-list:before { display: block; float: left; padding-top: 2px; padding-right: 4px; padding-left: 2px; font-family: 'fontawesome'; font-size: 12px; content: "\f115"; clear: both; } .category-list { margin-top: 5px; } .category-list a { color: #333; font-size: 12px; } .entry-content { margin: 10px 0; } .continue-reading > a > i { padding-left: 5px; } .page-links { clear: both; font-size: 16px; margin: 0; } .image-shifter { background: inherit; } .comment-author .avatar { border: 1px solid #ccc; border-radius: 5px; margin-bottom: -4px; } .entry-footer { margin: 1em 0; } .entry-footer ul { padding: 0; margin: 0; font-size: 14px; list-style-type: none; } .entry-footer li { display: inline-block; margin-right: 1em; } .entry-footer i { margin-right: 5px; } /*-------------------------------------------------------------- ## Asides --------------------------------------------------------------*/ .blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .bypostauthor { display: block; } .reply { margin-top: -7px; margin-left: 5px; } .comment-body { margin-top: 20px; } .comment-list { background: #f9f9f7; border: solid 1px #ccc; border-radius: 10px; padding-top: 10px; padding-bottom: 10px; } .comment-metadata:before { padding-right: 3px; padding-left: 4px; font-family: 'fontawesome'; font-size: 11px; content: "\f274"; } .comment-metadata { font-size: 12px; } /*-------------------------------------------------------------- # 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%; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; } .wp-caption .wp-caption-text { margin: 0; } .wp-caption-text { text-align: center; } .wp-caption .wp-caption-text, .gallery-caption { padding: 0.5em 1em; font-size: 14px;; font-family: 'Lato', sans-serif; background: #f9f9f7; border: solid 1px #ccc; border-radius: 5px; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .site-main .gallery { margin-bottom: 1em; } .gallery-caption { position: absolute; bottom: 0; left: 0; max-height: 50%; width: 100%; padding: 6px 8px; margin: 0; font-size: 12px; line-height: 1.5; color: #fff; text-align: left; background-color: #111; opacity: 0; } .gallery-item:hover .gallery-caption, .gallery-item:focus .gallery-caption { opacity: 1; } .site-main .gallery a img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: none; } .site-main .gallery-item { position: relative; float: left; max-width: 100%; margin-right: 3.333333333%; margin-bottom: 1.5em; overflow: hidden; background: #333; } .site-main .gallery dd, .site-main .gallery figcaption { margin: 0; } .site-main .gallery-columns-4 .gallery-item { } .site-main .gallery-columns-4 .gallery-item img { } /*-------------------------------------------------------------- # Woocommerce --------------------------------------------------------------*/ .woocommerce-shop { margin-top: 20px; background: #f9f9f7; border: solid 1px #ccc; border-radius: 10px; padding: 15px; clear: both; margin-bottom: 20px; } .woocommerce form .form-row-last, .woocommerce-page form .form-row-last { float: none; } /*-------------------------------------------------------------- # Footer --------------------------------------------------------------*/ .site-footer { padding: 1.5em; color: #fff; background: #444; border-top: 2px solid #ccc; } .site-footer a { color: #fff; } .left-footer-widget { float: left; width: 49%; margin: 0 auto; } .left-footer-widget .widget-title { color: #fff; } .right-footer-widget { float: right; width: 49%; margin: 0 auto; } .right-footer-widget .widget-title { color: #fff; } .site-info { text-align: center; clear: both; }