/* Theme Name: Arix Theme URI: http://photricity.com/wordpress-themes/arix/ Author: Josh Meyer Author URI: http://photricity.com Description: Arix is a simple and beautiful WordPress theme with a customizable background image that is lightened in the header and darkened in the footer. Arix has a mobile-friendly design with a responsive layout, and supports a custom logo, single-level submenus and widgetized sidebar and footer area. If you're looking to add a light, fresh, and modern touch to your website or blog, Arix is for you. Version: 1.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: custom-menu, featured-images, sticky-post, editor-style, two-columns, right-sidebar, custom-background, custom-logo, footer-widgets Text Domain: arix */ /** * General */ article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; } body { margin: 0; font: 1.3em/1.7 Dosis, "Arial Narrow", sans-serif; font-weight: 300; color: #777; background: #dce2e5 url(images/arix-background.jpg); background-position: -99999em -99999em; word-wrap: break-word; } body:before { content: ""; position: fixed; z-index: -1; width: 100%; height: 100%; background-image: inherit; background-position: center center; background-size: cover; background-repeat: no-repeat; } #header { overflow: hidden; color: #555; background: rgba(255, 255, 255, 0.45); } #header a { color: #555; } #header a:hover { color: #eb5b04; } #header:after, #footer:before { content: ""; display: block; overflow: hidden; width: 100%; height: 0; padding-bottom: 2.2%; } #header:after { margin-top: 1em; margin-bottom: -0.06em; background: url(images/header-decor.svg) no-repeat center bottom; background-size: cover; } #footer:before { margin-top: -0.06em; margin-bottom: 1em; background: url(images/footer-decor.svg) no-repeat center top; background-size: cover; } .wrap { overflow: hidden; padding: 4em 5% 3em 5%; background: #fff; } #content { overflow: hidden; } #footer { clear: both; overflow: hidden; padding-bottom: 3em; color: #fff; background: rgba(0, 0, 0, 0.45); } .margin { margin: 0 5%; } /** * Typography */ h1, h2 { margin: 0; font-size: 2em; font-weight: 300; line-height: 1.3; } h3, h4, h5, h6 { margin: 0; font-weight: 300; } h3 { font-size: 1.5em; } h4 { font-size: 1em; } h5, h6 { font-size: 0.83em; text-transform: uppercase; font-weight: 500; } p { margin: 0 0 1em 0; } b, strong { font-weight: 500; } em, i { font-style: italic; } blockquote { margin: 0 0 1em 0; padding: 0; } abbr[title], acronym[title] { border-bottom: 1px dotted; } del { text-decoration: line-through; } dfn { font-style: italic; } small, .small { font-size: 80%; } big, .big { font-size: 120%; } sub, sup { position: relative; vertical-align: baseline; font-size: 75%; line-height: 0; } sup { top: -0.5em; } sub { bottom: -0.25em; } code, kbd, pre, samp { font-family: monospace; font-size: 1em; } pre { overflow: auto; } hr { clear: both; height: 1px; background: #ccc; border: 0; } .center { text-align: center; } .text-right { text-align: right; } ul, ol, li { margin: 0; padding: 0; list-style: none; } .post ul, .page ul, .post ol, .page ol { margin-bottom: 1em; } .post ul li, .page ul li { margin-left: 1.2em; list-style: disc outside none; } .post .post-content > ul, .page .post-content > ul { margin-bottom: 1em; } .post ul ul li, .page ul ul li { list-style: circle outside none; } .post ol ul li, .page ol ul li { list-style: disc outside none; } .post ol li, .page ol li, .post ol ol ol li, .page ol ol ol li { margin-left: 1.4em; list-style: decimal outside none; } .post .post-content > ol, .page .post-content > ol { margin-bottom: 1em; } .post ol ol li, .page ol ol li { list-style: lower-alpha outside none; } ::selection { background: #f7941e; color: #fff; } /** * Links */ a { color: #f7941e; text-decoration: none; transition: color 0.2s ease-in-out; } a:hover, a:active, a:focus { color: #eb5b04; outline: 0; text-decoration: none; } /** * Posts */ .post, .page, .attachment { margin-bottom: 2em; overflow: hidden; } .post-info { margin-top: 0.2em; font-size: 0.8em; line-height: 1.3; } .post-date { background: url(images/icon-date.svg) no-repeat left center; } .post-author { background: url(images/icon-author.svg) no-repeat left center; } .post-author { background: url(images/icon-author.svg) no-repeat left center; } .post-categories { background: url(images/icon-categories.svg) no-repeat left center; } .post-comments { background: url(images/icon-comments.svg) no-repeat left center; } .post-date, .post-author, .post-categories, .post-comments { margin-right: 0.4em; padding-left: 1.1em; background-size: 1em 1em; } span.post-comments { display: none; } .pagination { overflow: hidden; padding: 1em 0; font-weight: 500; } .page-numbers li { float: left; display: inline-block; padding: 0.3em; text-align: center; } .page-numbers a, .page-numbers .current { display: block; padding: 0 0.4em; } .sticky .post-date { display: none; } #sidebar .widget { margin-bottom: 1.5em; } /** * Comments */ .comment-metadata { font-size: 0.8em; text-transform: uppercase; } .commentlist { margin-bottom: 2em; } .bypostauthor .comment-body { padding: 0.5em; border-radius: 0.3em; background: #f1f3f3; } .bypostauthor .comment-content { font-weight: 500; } #comments .comment-notes { display: none; } .comment-navigation { margin-bottom: 2em; } .vcard .avatar { float: left; margin: 0.2em 0.8em 0 0; } b.fn { float: left; margin-right: 0.3em; } .comment-content { clear: both; margin-top: 0.4em; } .comment .depth-2, .comment .depth-3, .comment .depth-4, .comment .depth-5 { margin-left: 1em; } .comment-body { margin-bottom: 1.7em; } .comment-body .reply { margin-top: -0.7em; } .comment-reply-link { font-size: 0.7em; } .pingback .comment-body { margin-bottom: 0.8em; } .comment-navigation, .no-comments { font-weight: 500; } .comment-edit-link, .post-info .post-edit-link { margin-left: 0.4em; } .comment-body { margin-bottom: 2em; } .comment-meta { line-height: 1.3; } /** * Images */ img { max-width: 100%; height: auto; border: 0; } svg:not(:root) { overflow: hidden; } .size-thumbnail { max-width: 45%; } .alignnone { max-width: 100%; margin: 0.2em 0.8em 0.8em 0; } .aligncenter { max-width: 100%; margin: 0.2em auto; } .alignright, .attachment-post-thumbnail { float: right; max-width: 48%; margin: 0.2em 0 0.8em 0.8em; } .alignleft { float: left; max-width: 48%; margin: 0.2em 0.8em 0.8em 0; } a img .alignright { float: right; margin: 0.2em 0 0.8em 0.8em; } a img .alignnone { margin: 0.2em 0.8em 0.8em 0; } a img .alignleft { float: left; margin: 0.2em 0.8em 0.8em 0; } a img .aligncenter { display: block; margin: 0 auto; } .wp-caption { padding: 0.2em 0 0.4em; text-align: center; font-size: 80%; } .wp-caption .alignnone { margin: 0.2em 0.8em 0.8em 0; } .wp-caption .alignleft { margin: 0.2em 0.8em 0.8em 0; } .wp-caption .alignright { margin: 0.2em 0 0.8em 0.8em; } .wp-caption img { max-width: 98.5%; margin: 0; padding: 0; } .wp-caption .wp-caption-text { margin: 0; padding: 0 0.1em 0.2em; } .gallery-caption { text-align: center; } @media (max-width: 740px) { .alignleft, .alignright, a img .alignleft, a img .alignright, .attachment-post-thumbnail { float: none; display: block; max-width: 100%; margin: 0.2em 0 0.4em 0; } .alignnone { margin: 0 0.4em 0.4em 0; } } /** * Layout */ .one-third, #sidebar { width: 31.33%; float: left; margin-right: 2%; margin-bottom: 1.5em; } .one-half { width: 48%; float: left; margin-right: 2%; margin-bottom: 1.5em; } .two-thirds, #content { width: 64.66%; float: left; margin-right: 2%; margin-bottom: 1.5em; } .one-fourth { width: 23%; float: left; margin-right: 2%; margin-bottom: 1.5em; } .left { float: left; } .right { float: right; } .clear { clear: both; } @media (max-width: 950px) { .one-third, .one-half, .two-thirds, .one-fourth { width: 100%; float: none; clear: both; margin-right: 0; } body { font-size: 1.2em; } .comment-meta { line-height: 1.4; } } @media (max-width: 650px) { #content, #sidebar { width: 100%; float: none; clear: both; margin-right: 0; } body { font-size: 1.1em; } } /** * Tables */ table { width: 100%; max-width: 100%; margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; background-color: transparent; } table th, table td { padding: 0 0.2em; vertical-align: top; text-align: left; border: 1px solid #ddd; } table th { font-weight: 500; background: #f1f3f3; color: #777; } /** * Misc */ embed, iframe, object, video { max-width: 100%; margin-bottom: 1.5em; } p > embed, p > iframe, p > object, span > embed, span > iframe, span > object { margin-bottom: 0; } [hidden], template { display: none; } .tag-cloud { line-height: 1.5; } .recent-comments p { font-size: 80%; line-height: 1.2; } .copyright { clear: both; width: 100%; margin-top: 2em; text-align: center; font-size: 80%; } .footer-widgets { overflow: hidden; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } /** * Navigation */ #nav { overflow: hidden; display: flex; align-items: center; margin-bottom: 0.5em; padding: 0.8em 5% 0.8em 5%; min-height: 3em; } .custom-logo-link { position: relative; float: left; display: block; width: 17em; max-width: 75%; max-height: 360px; margin-right: 1.5em; } #nav > div { width: 100%; } .menu li a { display: block; padding: 0 0.4em 0.2em 0; margin: 0.1em 0.7em 0.1em 0; font-size: 1.2em; font-weight: 500; line-height: 1.25; } .mobile-nav { display: none; } @media (min-width: 1050px) { .menu li { float: left; } .menu > li > ul { position: absolute; z-index: 100; display: none; padding: 0.3em; background: rgba(50, 50, 50, 0.85); border-radius: 0.4em; } .menu li:hover ul { display: block; } .menu li ul { padding: 0 0.4em; } .menu li ul li { float: none; } .menu ul a { margin: 0; padding: 0.2em; color: #fff !important; } .menu ul a:hover { color: #f7941e !important; } } @media (max-width: 1049px) { .menu { position: absolute; top: 0; left: 0; bottom: 0; z-index: 980; display: none; width: 90%; padding: 3em 5% 1.5em 5%; margin: 0; background: rgba(50, 50, 50, 0.85); overflow-y: scroll; overflow-x: hidden; } .mobile-nav { position: relative; z-index: 990; float: right; width: 2em; height: 2em; transition: fill 0.2s ease-in-out; } .mobile-nav.open { fill: #555; } .mobile-nav.close { fill: #fff; } .mobile-nav:hover { fill: #f7941e; } #nav:not(:target) .open, #nav:target .close { display: block; } #nav:target .menu { display: block; } .menu li a { clear: both; padding: 0; margin: 0.4em 0 0.4em 0; width: 100%; color: #fff !important; } .menu li a:hover { color: #f7941e !important; } .menu li ul { padding-left: 0.5em; } } /** * Forms */ button, input, optgroup, select, textarea { margin: 0 0 0.2em 0; color: inherit; font: inherit; } 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 { padding: 0; border: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } input[type="search"] { -webkit-appearance: textfield; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { min-width: 0; margin: 0; padding: 0; border: 0; } textarea { overflow: auto; } input, textarea { -moz-box-sizing: border-box; box-sizing: border-box; max-width: 100%; padding: 0.2em 0.7em; color: #777; background: #fff; border-radius: 1.3em; border: 1px solid #777; border-width: 1px 2px 2px 1px; transition: background-color 0.2s ease-in-out; } input:focus, textarea:focus { outline: 0; border-color: #f7941e; } .button, .more-link, .comment-reply-link, input[type="submit"], input[type="reset"], .nextpage a { padding: 0.3em 2.5em 0.4em 2em; background: #f7941e url(images/right-arrow.svg) no-repeat 85% center; background-size: 0.6em; color: #fff; border: 0; border-radius: 1.3em; transition: background-color 0.2s ease-in-out; box-shadow: 0.05em 0.1em 0 #777; } #header .button { background-color: #fff; color: #777; } .button:hover, .button:active, .button:focus, #header .button:hover .more-link:hover, .comment-reply-link:hover, .comment-reply-link:active, input[type="submit"]:hover, input[type="reset"]:hover, .nextpage a:hover { background-color: #eb5b04 !important; color: #fff; } input[type="submit"]:disabled { background: #ddd !important; } textarea { display: block; width: 25em; min-height: 5em; overflow: auto; border-radius: 0.5em; } input[type="image"] { width: auto; height: auto; } input[type="radio"], input[type="checkbox"] { width: auto; height: auto; background: none; } input[type="file"] { border: 0; } .screen-reader-text, .assistive-text, .form-allowed-tags, .search-submit { display: none; } /** * Print */ @media print { body { background: none; color: #000; } .menu, .mobile-nav, #sidebar, #header-decor, #footer-decor { display: none !important; } #footer { color: #000; } }