/* Theme Name: Artfolio Theme URI: # Author: Artem Solovev Author URI: http://anart.work Description: Artfolio is a free responsive, accessible, high-resolution blog theme featuring custom header and custom link colors, large images, logo image and easy to read typography that scales to fit all screens. Other features include keyboard accessible navigation, optional social menu (supports 27 social icons of the popular networks), landing menu sidebar and footer widgets, no-sidebar page template, aside post format and stylish recent posts widget. Artfolio will make your WordPress look beautiful everywhere. Version: 0.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: artfolio Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, sticky-post, 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. Artfolio is based on Underscores http://underscores.me/, (C) 2012-2016 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: ---------------------------------------------------------------- 1.0 Normalize 2.0 Typography 3.0 Elements 4.0 Forms 5.0 Navigation 5.1 Links 5.2 Menus 5.3 Social menu 6.0 Accessibility 7.0 Alignments 8.0 Clearings 9.0 Header 9.1 Landing menu 9.2 Header search 10.0 Widgets 10.1 Search widget 10.2 Arfolio recent posts 11.0 Content 11.1 Posts and pages 11.2 Asides 11.3 Comments 11.4 Index and Archive 12.0 Infinite scroll 13.0 Media 13.1 Captions 13.2 Galleries 13.3 Featured Images 14.0 Footer --------------------------------------------------------------*/ /*-------------------------------------------------------------- 1.0 Normalize --------------------------------------------------------------*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { border: 0; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; margin: 0; outline: 0; padding: 0; vertical-align: baseline; } html { font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */ overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */ -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */ -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ } *, *:before, *:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */ -webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */ -moz-box-sizing: border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */ box-sizing: border-box; } body { background: #fff; } 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: 2em; margin: 0.67em 0; } mark { background: #E98E1B; color: #231E1A; } 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: 1em 40px; } hr { box-sizing: content-box; height: 0; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; 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-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; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } /*-------------------------------------------------------------- 2.0 Typography --------------------------------------------------------------*/ body, button, input, select, textarea { font-family: "Open Sans", sans-serif; font-size: 18px; font-size: 1.8rem; line-height: 1.5; color: #65625D; } h1, h2, h3, h4, h5, h6 { clear: right; font-weight: 900; font-family: "Merriweather", serif; -ms-word-break: break-word; word-break: break-word; color: #231E1A; } p { margin-bottom: 1.5em; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; } pre { overflow: auto; padding: 1.6em; margin-bottom: 1.6em; max-width: 100%; background: #F1EEE9; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375rem; line-height: 1.6; } code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #FAE8D0; text-decoration: none; } big { font-size: 125%; } /*-------------------------------------------------------------- 3.0 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. */ } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; } hr { border: 0; height: 1px; margin-bottom: 1.5em; background-color: #D7D3C9; } ul, ol { margin: 0 0 1.5em 3em; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } table { margin: 0 0 1.5em; width: 100%; } /*-------------------------------------------------------------- 4.0 Forms --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { padding: 1em 2em; font-size: 16px; font-size: 1.6rem; font-family: "Open Sans", sans-serif; text-transform: uppercase; line-height: 1; color: hsl(0, 0%, 100%); background: #3c3c3c; background: hsl(0, 0%, 24%); border: none; border-radius: 3px; cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background: #231E1A; } 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 { background: #231E1A; } 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 { padding: 3px; border: 1px solid #D7D3C9; border-radius: 3px; color: #666; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { padding: 8px; font-family: "Open Sans", sans-serif; border: 1px solid #D7D3C9; color: #333; } select { border: 1px solid #D7D3C9; } 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; } textarea { width: 100%; } /*-------------------------------------------------------------- 5.0 Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- 5.1 Links --------------------------------------------------------------*/ a { text-decoration: none; transition: color 0.3s; color: #231E1A; } a:visited { color: #181511; } a:hover, a:focus, a:active { color: #3B9C61; } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } /*-------------------------------------------------------------- 5.2 Menus --------------------------------------------------------------*/ .main-navigation { position: relative; height: 3em; width: 100%; font-family: "Open Sans", sans-serif; text-transform: uppercase; background: #231E1A; } .main-navigation ul { margin: 0; padding-left: 0; list-style: none; } .main-navigation li { position: relative; float: left; } .main-navigation a { display: block; padding: 1.3em 1em; line-height: 1.3em; font-size: 14px; font-size: 1.4rem; text-decoration: none; color: #D3D3D3; } .main-navigation ul ul { position: absolute; left: -999em; z-index: 99999; padding: 0; float: left; background: #D2CFCB; box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); } .main-navigation ul ul ul { left: -999em; top: 0; } .main-navigation ul ul a { width: 200px; color: #65625D; } .main-navigation li:hover > a { color: #fff; background: #3B9C61; } .main-navigation ul ul a:hover { background: #A9A59D; } .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_item > a:hover, .main-navigation .current-menu-item > a:hover { background: #F1EEE9; color: #313131; color: hsl(0, 0%, 19%); } .main-navigation .current_page_ancestor { background: #4d4d4d; background: hsl(0, 0%, 30%); } .main-navigation ul ul .current_page_parent, .main-navigation .current_page_parent .current_page_item > a { background: #313131; background: hsl(0, 0%, 19%); color: #fff; color: hsl(0, 0%, 100%); } /* Small menu. */ .menu-toggle { display: none; cursor: pointer; background-color: #231E1A; } .menu-toggle:focus, .menu-toggle:active { background-color: #65625D; } @media screen and (max-width: 1050px) { .menu-toggle { display: inline-block; height: 3.75em; padding: 0 1em; border-radius: 0; line-height: 3.75em; font-weight: normal; font-size: 14px; font-family: "Open Sans", sans-serif; font-size: 1.4rem; text-decoration: none; color: white; } .main-navigation.toggled .nav-menu { display: block; border-top: 1px solid; border-top-color: #fff; border-top-color: hsla(0, 0%, 100%, .5); } .main-navigation ul { display: none; padding-left: 0; } .menu-all-pages-container ul li { background-color: #231E1A; z-index: 1000; } .main-navigation li { float: none; } .main-navigation li a { padding: 1.3em 2em; } .main-navigation li li a { padding-left: 4em; } .main-navigation li li li a { padding-left: 6em; } .main-navigation li:hover > a { background: #313131; background: hsl(0, 0%, 19%); } .main-navigation ul ul, .main-navigation ul ul ul { display: block; position: relative; top: inherit; left: 0; float: none; background: #313131; background: hsl(0, 0%, 19%); } .main-navigation ul ul a { width: 100%; } .main-navigation ul a:hover, .main-navigation ul ul a:hover { background: #4d4d4d; background: hsl(0, 0%, 30%); } .main-navigation .current_page_ancestor { background: inherit; } .main-navigation ul ul .current_page_parent { color: inherit; background: inherit; } .main-navigation .current_page_item > a, .main-navigation .current_page_item > a:hover, .main-navigation .current_page_item li:hover, .main-navigation .current_page_parent .current_page_item > a { background: #4d4d4d; background: hsl(0, 0%, 30%); color: #fff; color: hsl(0, 0%, 100%); } } /* End responsive menu */ /*-------------------------------------------------------------- 5.3 Social Menu --------------------------------------------------------------*/ .menu-social ul { float: right; text-align: center; list-style: none; } .menu-social ul li { position: relative; display: inline-block; } .menu-social li a:before { display: inline-block; padding: 0 5px; vertical-align: top; font-family: "Fontawesome"; font-size: 20px; content: "\f0c0"; color: #fff; -webkit-font-smoothing: antialiased; } .menu-social li a[href*="facebook.com"]::before { content: "\f09a"; } .menu-social li a[href*="twitter.com"]::before { content: "\f099"; } .menu-social li a[href*="dribbble.com"]::before { content: "\f17d"; } .menu-social li a[href*="plus.google.com"]::before { content: "\f0d5"; } .menu-social li a[href*="pinterest.com"]::before { content: "\f0d2"; } .menu-social li a[href*="github.com"]::before { content: "\f09b"; } .menu-social li a[href*="tumblr.com"]::before { content: "\f173"; } .menu-social li a[href*="youtube.com"]::before { content: "\f167"; } .menu-social li a[href*="flickr.com"]::before { content: "\f16e"; } .menu-social li a[href*="vimeo.com"]::before { content: "\f194"; } .menu-social li a[href*="instagram.com"]::before { content: "\f16d"; } .menu-social li a[href*="linkedin.com"]::before { content: "\f0e1"; } .menu-social li a[href*="bitbucket.org"]::before { content: "\f171"; } .menu-social li a[href*="stumbleupon.com"]::before { content: "\f1a4"; } .menu-social li a[href*="trello.com"]::before { content: "\f181"; } .menu-social li a[href*="weibo.com"]::before { content: "\f18a"; } .menu-social li a[href*="tripadvisor.com"]::before { content: "\f262"; } .menu-social li a[href*="stackoverflow.com"]::before { content: "\f16c"; } .menu-social li a[href*="ok.ru"]::before { content: "\f263"; } .menu-social li a[href*="codepen.io"]::before { content: "\f1cb"; } .menu-social li a[href*="gitlab.com"]::before { content: "\f296"; } .menu-social li a[href*="mixcloud.com"]::before { content: "\f289"; } .menu-social li a[href*="soundcloud.com"]::before { content: "\f1be"; } .menu-social li a[href*="spotify.com"]::before { content: "\f1bc"; } .menu-social li a[href*="vk.com"]::before { content: "\f189"; } .menu-social li a[href*="wikipedia.org"]::before { content: "\f266"; } .menu-social li a[href*="yelp.com/"]::before { content: "\f1e9"; } @media screen and (max-width: 1050px) { #menu-social ul { display: block; position: absolute; top: 0; right: 6rem; } #menu-social li a { padding-left: 0.5em; padding-right: 0.5em; } } .site-main .comment-navigation, .site-main .paging-navigation, .site-main .post-navigation { font-size: 18px; font-size: 1.8rem; font-family: "Merriweather", serif; color: #231E1A; } .comment-navigation .nav-previous, .paging-navigation .nav-previous, .post-navigation .nav-previous { float: left; padding-right: 15%; width: 50%; } .comment-navigation .nav-next, .paging-navigation .nav-next, .post-navigation .nav-next { width: 50%; float: right; padding-left: 15%; text-align: right; } .nav-indicator { margin-bottom: 1em; } .nav-previous h1, .nav-next h1 { font-size: 18px; font-size: 1.8rem; font-weight: 900; } .post-nav-box { padding: 2em 0; margin-bottom: 4em; border-top: #D7D3C9 solid 1px; border-bottom: #D7D3C9 solid 1px; } .comment-navigation { padding: 1em 0; margin: 3em 0; border-top: #D7D3C9 solid 1px; border-bottom: #D7D3C9 solid 1px; } .comment-navigation i { margin: 0 1em; } .paging-navigation ul { margin: 0; } .paging-navigation li { display: inline; } a.page-numbers, span.page-numbers { padding: 0.3em 0.7em; color: #231E1A; } a:hover.page-numbers { background-color: #3B9C61; color: #fff; } .paging-navigation .current { font-weight: bold; color: #D7D3C9; background-color: #3B9C61; } /*-------------------------------------------------------------- 6.0 Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { position: absolute !important; right: 0; clip: rect(1px, 1px, 1px, 1px); } .screen-reader-text:focus { padding: 15px 23px 14px; width: auto; height: auto; left: 5px; top: 5px; line-height: normal; border-radius: 3px; z-index: 100000; /* Above WP toolbar. */ text-decoration: none; font-size: 14px; font-size: 0.875rem; font-weight: bold; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); background-color: #f1f1f1; color: #21759b; clip: auto !important; } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { outline: 0; } /*-------------------------------------------------------------- 7.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; } /* Alignment responsive */ @media screen and (min-width: 1320px) { .alignleft { margin-left: -160px; } } @media screen and (min-width: 1820px) { .alignright { margin-right: -160px; } } /*-------------------------------------------------------------- 8.0 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 { display: table; table-layout: fixed; content: ""; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- 9.0 Header --------------------------------------------------------------*/ .header-image img { display: block; margin: 0 auto; } .header-background-image { background-repeat: no-repeat; background-position: center; background-attachment: fixed!important; -webkit-background-size: cover!important; -moz-background-size: cover!important; background-size: cover!important; } .header-background-image-for-single { background-repeat: no-repeat; background-position: center; -webkit-background-size: cover!important; -moz-background-size: cover!important; background-size: cover!important; } .site-header { border-top: 13px solid #3B9C61; } .site-branding { text-align: center; background: #65625D; } .header-box { width: 100%; margin: 0 auto; height: 500px; text-align: center; background-color: rgba(35, 30, 26, 0.7); } .header-box-single { margin: 0 auto; width: 100%; text-align: center; background-color: rgba(35, 30, 26, 0.7); } .custom-logo { display: inline-block; position: relative; margin-top: 4rem; border-radius: 50%; border: 2px solid #3B9C61; transition: border-color 0.3s; transition: border-width 0.3s; } .custom-logo:hover { border-color: #E98E1B; border-width: 6px; } .site-title { margin: 0; padding: 4rem 0; line-height: normal; font-weight: 700; font-size: 48px; font-size: 4.8rem; } .site-description { display: inline-block; text-transform: uppercase; margin: 0; margin-bottom: 4rem; width: 100%; font-weight: 400; font-size: 16px; font-size: 1.6rem; color: #3B9C61; } .site-branding a { text-decoration: none; } .site-title a { color: #fff; color: hsl(0, 0%, 100%); } /* Header responsive */ @media screen and (max-width: 600px) { .header-box { max-width: 100%; margin: 0; } } @media screen and (max-width: 370px) { .home .site-title { padding: 1rem 0; } .site-description { padding: 0 0 2rem 0; margin-bottom: 2rem; } } /*-------------------------------------------------------------- 9.1 Landing menu --------------------------------------------------------------*/ .menu-landing { display: inline-block; position: relative; width: 100%; } .menu-landing ul { list-style-type: none; margin: 0 auto; } .menu-landing li { display: inline-block; position: relative; } .menu-landing a { display: inline-block; position: relative; margin: 0.8rem 0.8rem; padding: 1.6rem 3.2rem; border: 1px solid #3B9C61; border-radius: 4rem; text-transform: uppercase; text-decoration: none; text-align: center; font-size: 16px; font-size: 1.6rem; font-family: "Open Sans", sans-serif; color: #fff; transition: background-color 0.3s; } .menu-landing a:hover { background-color: #3B9C61; border-color: #fff; } .menu-landing li:nth-child(2) a { border-color: #E98E1B; } .menu-landing li:nth-child(2) a:hover { background-color: #E98E1B; border-color: #fff; } /*-------------------------------------------------------------- 9.2 Header search --------------------------------------------------------------*/ .search-toggle { padding: 12px; margin-right: 20px; float: right; width: 54px; height: 54px; text-align: center; cursor: pointer; color: #fff; } .search-toggle:hover, .search-toggle.active { background: #3B9C61; } input[type="search"] { box-sizing: border-box; width: 100%; } .search-box-wrapper { display: none; position: relative; width: 100%; } .search-box { padding: 1em; background: #A9A59D; } .search-box .search-field { padding: 1rem 2rem 1rem 4rem; float: right; max-width: 362px; border: 0; font-size: 20px; font-size: 2rem; background-color: #fff; } .error404 .search-submit, .search .search-submit, .search-box .search-submit { display: none; } @media screen and (max-width: 1050px) { .search-toggle { position: absolute; top: 0; right: 0; margin-right: 0; } } /*-------------------------------------------------------------- #10.0 Widgets --------------------------------------------------------------*/ .widget { margin: 0 0 4em; font-family: "Open Sans", sans-serif; font-size: 16px; font-size: 1.6rem; } .widget-title { margin-bottom: 1em; border-bottom: 2px solid #231E1A; font-size: 24px; font-size: 2.4rem; } .widget a { font-weight: 700; color: #231E1A; transition: color 0.3s; } .widget a:hover { color: #3B9C61; } .widget ul, .widget ol { padding: 0; margin: -1em 0 0; list-style-type: none; } .widget li { padding: 1em 0; } .widget li ul, .widget li ol { margin-top: 0; } .widget li li { margin-left: 1.5em; } .widget_recent_entries li:before, .widget_recent_comments li:before, .widget_archive li:before { display: block; float: left; padding-top: 2px; margin-left: -2.5em; font-family: "fontawesome"; font-size: 14px; font-size: 1.4rem; } .widget_recent_entries li, .widget_recent_comments li { margin: 0 0 0.5em 2.5em; } .widget_recent_entries li:before { content: "\f036"; } .widget_recent_comments li:before { content: "\f075"; } .widget_archive li { margin: 0 0 0 2.5em; } .widget_archive li:before { content: "\f187"; } .widget_nav_menu a, .widget_pages a { display: block; padding: 1em 0; border-bottom: 1px solid #231E1A; } .widget_nav_menu li, .widget_pages li { padding-top: 0; } .widget_rss li { margin-bottom: 0.5em; } .widget_rss .rss-date, .widget_rss cite { display: block; font-size: 85%; } /* Make sure select elements fit in widgets */ .widget select { max-width: 100%; } /*-------------------------------------------------------------- 10.1 Search widget --------------------------------------------------------------*/ .widget_search .search-submit { display: none; } .footer-widgets { margin: 0 auto; } .footer-widgets .widget-title, .footer-widgets .widget a:hover { color: #fff; color: hsl(0, 0%, 100%); border-color: #fff; border-color: hsl(0, 0%, 100%); } .footer-widgets .widget { float: left; width: 320px; margin: 0 4rem 8rem 4rem; } /* Footer widgets responsive */ @media screen and (max-width: 879px) { #footer-widgets { width: 100%!important; } .footer-widgets .widget { float: none; width: 100%; margin: 0 0 8rem; } } /*-------------------------------------------------------------- 10.2 Arfolio recent posts --------------------------------------------------------------*/ .arp-thumbnail { display: inline-block; position: relative; margin-right: 1em; } .arp-header { display: inline-block; position: relative; width: 61%; vertical-align: top; } .arp-title { display: block; position: relative; margin-bottom: 0.5em !important; } .arp-meta { display: block; position: relative; } .arp-author { display: inline-block; position: relative; } .arp-time { display: inline-block; position: relative; margin-bottom: 0; } .attachment-artfolio-recent-thumbnails { transition: border-radius 0.3s; } .attachment-artfolio-recent-thumbnails:hover { border-radius: 50%; } /*-------------------------------------------------------------- 11.0 Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- 11.1 Posts and pages --------------------------------------------------------------*/ /* Typography */ .entry-title { margin: 2rem 0 2rem; line-height: 1.3em; font-weight: 900; font-size: 40px; font-size: 4rem; color: #231E1A; } .page .entry-title { margin-top: 0.7em; } .entry-content a { text-decoration: underline; } .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { margin-bottom: 0.4em; } .entry-content h1 { font-size: 32px; font-size: 3.2rem; } .entry-content h2 { font-size: 30px; font-size: 3.0rem; } .entry-content h3 { font-size: 28px; font-size: 2.8rem; } .entry-content h4 { font-size: 26px; font-size: 2.6rem; } .entry-content h5 { font-size: 24px; font-size: 2.4rem; } .entry-content h6 { font-size: 22px; font-size: 2.2rem; } .entry-content p, .entry-content ul, .entry-content ol { font-size: 20px; font-size: 2rem; line-height: 1.6em; } .entry-content blockquote p { font-size: 28px; font-size: 2.8rem; line-height: 1.5em; } /* Smaller fonts for smaller screens */ @media screen and (max-width: 680px) { .entry-title { font-size: 32px; font-size: 3.2rem; line-height: 1.3em; } .entry-content h1 { font-size: 28px; font-size: 2.8rem; } .entry-content h2 { font-size: 26px; font-size: 2.6rem; } .entry-content h3 { font-size: 24px; font-size: 2.4rem; } .entry-content h4 { font-size: 22px; font-size: 2.2rem; } .entry-content h5 { font-size: 20px; font-size: 2rem; } .entry-content h6 { font-size: 18px; font-size: 1.8rem; } .entry-content p, .entry-content ul, .entry-content ol { font-size: 18px; font-size: 1.8rem; } .entry-content blockquote p { font-size: 22px; font-size: 2.2rem; line-height: 1.5em; } } /* Meta */ .category-list { font-family: "Merriweather", serif; font-size: 14px; font-size: 1.4rem; } .category-list a { color: #333; color: hsl(0, 0%, 10%); } .category-list a:hover { color: #3B9C61; } .entry-meta { margin-bottom: 2rem; padding: 0; font-family: "Merriweather", serif; font-size: 14px; font-size: 1.4rem; } .entry-meta a { font-weight: 400; font-size: 12px; font-size: 1.2rem; } .post-author { display: none; position: relative; } .entry-meta img { display: inline-block; position: relative; width: 65px; height: 65px; border-radius: 50%; } .entry-footer { margin-top: 3rem; margin-bottom: 5rem; line-height: 2em; font-family: "Merriweather", serif; font-size: 16px; font-size: 1.6rem; } .entry-footer ul { padding: 0; margin: 0; list-style-type: none; } .entry-footer li { display: inline-block; margin-right: 4rem; } .entry-footer a { display: inline-block; position: relative; margin-left: 0.5rem; } .sticky { display: block; } .hentry { margin: 0 0 2em; } .byline, .updated:not(.published) { display: none; } .single .byline, .group-blog .byline { display: inline; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; } .page-links { clear: both; margin: 0 0 1.5em; } @media screen and (min-width: 1450px) { .entry-meta { width: 160px; margin-left: -200px; float: left; text-align: center; } .byline, .posted-on, .post-author, .comments-link, .category-list { display: block; font-size: 12px; font-size: 1.2rem; } .single .posted-on, .single .comments-link a { white-space: nowrap; } } .posted-on:before { content: " on "; } .posted-on:after { content: "."; } @media screen and (min-width: 1320px) { .single .posted-on:before, .single .posted-on:after { content: ""; } } /* Blockquotes */ blockquote { padding: 1em 1.5em 0; margin-bottom: 1em; font-style: italic; border-top: solid 1px hsl(0, 0%, 80%); border-bottom: solid 1px hsl(0, 0%, 80%); } blockquote em { font-style: normal; } blockquote cite { display: block; margin-top: 1em; margin-left: 40%; line-height: 1.5em; text-align: right; font-size: 18px; font-size: 1.8rem; font-family: "Merriweather", serif; font-style: normal; } blockquote.alignleft { width: 50%; float: left; padding: 1em 0 0; margin-right: 2em; } blockquote.alignright { width: 50%; float: right; padding: 1em 0 0; margin-left: 2em; } /* Blockquotes responsive */ /* Optional rules that set blockquotes to full width on smaller screens */ @media screen and (max-width: 780px) { blockquote.alignleft, blockquote.alignright { width: 40%; } } @media screen and (max-width:600px) { blockquote.alignleft, blockquote.alignright { width: 100%; padding: 1em 1.5em 0; } } /*-------------------------------------------------------------- 11.2 Asides --------------------------------------------------------------*/ .format-aside .entry-content { margin-top: 1em; } .blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; } .home .content-aside, .search .content-aside, .error404 .content-aside { border-bottom: none; text-align: center; background-image: url(images/noise.svg); color: #F1B05E; } .home .content-aside .entry-footer, .search .content-aside .entry-footer, .error404 .content-aside .entry-footer { color: #fff; } .home .content-aside .entry-footer a, .search .content-aside .entry-footer a, .error404 .content-aside .entry-footer a { color: #75BA8E; } .home .content-aside .posted-on, .search .posted-on, .error404 .posted-on { display: inline; } .home .content-aside .post-author, .search .post_format-post-format-aside .post-author, .error404 .post_format-post-format-aside .post-author { display: none; } /*-------------------------------------------------------------- 11.3 Comments --------------------------------------------------------------*/ .comments-title { font-weight: 900; font-size: 36px; font-size: 3.6rem; } .comments-area > ol { padding: 0; margin: 2em 0; list-style-type: none; } ol.children { list-style-type: none; } .comment-list ol { margin-left: 50px; } .comment-meta { margin-bottom: 1em; } .comment-author .avatar { width: 50px; display: block; float: left; margin-right: 20px; } .comment-author .fn { font-weight: 900; font-family: "Merriweather", serif; font-size: 20px; font-size: 2rem; } .comment-metadata { font-size: 14px; font-size: 1.4rem; } .comment-content { font-size: 90%; } .comment-content, .reply { margin-left: 70px; } .comment-body { padding-bottom: 2em; margin-bottom: 2em; border-bottom: solid hsl(0, 0%, 80%) 1px; } .comment-content a { word-wrap: break-word; } .comment-content ol { margin-left: 1.5em; } .reply { font-weight: 600; font-family: "Merriweather", serif; font-size: 14px; font-size: 1.4rem; } .bypostauthor > .comment-body { position: relative; padding: 1em; margin-bottom: 2em; background: hsl(0, 0%, 93%); border: none; } .comment-reply-title { margin-bottom: .5em; font-weight: 900; font-size: 30px; font-size: 3rem; } .comment-form { padding-bottom: 4rem; font-family: "Merriweather", serif; font-size: 16px; font-size: 1.6rem; } .comment-form textarea { font-family: "Open Sans", sans-serif; font-size: 18px; font-size: 1.8rem; } .comment-form label { display: block; } .required { color: red; } .comment-awaiting-moderation { /* Green background color to make moderation seem less aggressive */ padding: .5rem 1rem; margin: 1rem 0; font-family: "Merriweather", serif; font-size: 16px; font-size: 1.6rem; color: #fff; color: hsl(0, 0%, 100%); background: #75BA8E; background: hsl(100, 39%, 57%); } /* Comments responsive */ @media screen and (max-width:600px) { .comment-list ol { margin-left: 0; } .comment-content ol { margin-left: 1.5em; } .comment-content, .reply { margin-left: 0; } } /*-------------------------------------------------------------- 11.4 Index and Archive --------------------------------------------------------------*/ .continue-reading { margin: 0 4rem; text-align: right; font-weight: 900; font-size: 18px; font-size: 1.8rem; } .continue-reading i { margin-left: 0.5em; } .sticky-post { position: absolute; top: 1rem; right: 3rem; } .taxonomy-description { padding-top: 2rem; margin: 2rem 0; font-family: "Merriweather", serif; border-top: 1px solid hsl(0, 0%, 75%); color: #231E1A; } .taxonomy-description p { font-family: "Open Sans", sans-serif; } /*-------------------------------------------------------------- 12.0 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; } /*-------------------------------------------------------------- 13.0 Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { padding: 0; margin-bottom: 0; margin-top: 0; border: none; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /*-------------------------------------------------------------- 13.1 Captions --------------------------------------------------------------*/ .wp-caption { max-width: 100%; margin-bottom: 1.5em; } .wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; } .wp-caption-text { text-align: center; } .wp-caption .wp-caption-text, .gallery-caption { padding: 0.8075em 1em; font-size: 14px; font-size: 1.4rem; font-family: "Merriweather", serif; background: #F1EEE9; } .site-main .gallery { margin-bottom: 1.5em; } .site-main .gallery-item { position: relative; overflow: hidden; float: left; max-width: 100%; margin-right: 3.333333333%; margin-bottom: 3rem; background: #65625D; } .gallery-caption { position: absolute; padding: 6px 8px; margin: 0; bottom: 0; left: 0; max-height: 50%; width: 100%; line-height: 1.5; text-align: left; font-size: 12px; background-color: hsla(27, 15%, 12%, .8); color: #fff; opacity: 0; } .gallery-item:hover .gallery-caption { opacity: 1; } .site-main .gallery a img { display: block; margin: 0 auto; height: auto; max-width: 100%; border: none; } /*-------------------------------------------------------------- 13.2 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; } /*-------------------------------------------------------------- 13.3 Featured Images --------------------------------------------------------------*/ .single-post-thumbnail { background-color: #D7D3C9; } .single-post-thumbnail img { display: block; margin: 0 auto; } /*-------------------------------------------------------------- 14.0 Footer --------------------------------------------------------------*/ .site-footer { padding: 2em; font-family: "Open Sans", sans-serif; font-size: 16px; font-size: 1.6rem; color: #fff; background: #65625D; } .site-footer a { color: #fff; } .site-info { text-align: center; }