Last active
August 29, 2015 13:57
-
-
Save elioverbey/9590496 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: Nominal Theme | |
Theme URI: http://elioverbey.net/blog/build-first-genesis-child-theme/ | |
Description: A minimal responsive and HTML5 free theme built for the Genesis Framework. | |
Author: Eli Overbey | |
Author URI: http://www.elioverbey.net | |
Version: 1.0 | |
Template: genesis | |
Template Version: 2.0 | |
License: GPL-2.0+ | |
License URI: http://www.opensource.org/licenses/gpl-license.php | |
*/ | |
/* Table of Contents | |
- HTML5 Reset | |
- Baseline Normalize | |
- Box Sizing | |
- Float Clearing | |
- Defaults | |
- Typographical Elements | |
- Headings | |
- Objects | |
- Forms | |
- Tables | |
- Structure and Layout | |
- Site Containers | |
- Column Widths and Positions | |
- Column Classes | |
- Common Classes | |
- Avatar | |
- Genesis | |
- Search Form | |
- Titles | |
- WordPress | |
- Site Header | |
- Title Area | |
- Site Navigation | |
- Primary Navigation | |
- Responsive Menu | |
- Content Area | |
- Content | |
- Entries | |
- Entry Meta | |
- Pagination | |
- Comments | |
- Site Footer | |
- Media Queries | |
- Retina Display | |
- Max-width: 1139px | |
- Max-width: 1023px | |
- Max-width: 768px | |
*/ | |
/* | |
HTML5 Reset | |
---------------------------------------------------------------------------------------------------- */ | |
/* Baseline Normalize | |
normalize.css v2.1.2 | MIT License | git.io/normalize | |
--------------------------------------------- */ | |
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}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}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}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}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0} | |
/* Box Sizing | |
--------------------------------------------- */ | |
*, | |
input[type="search"] { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
/* Float Clearing | |
--------------------------------------------- */ | |
.author-box:before, | |
.clearfix:before, | |
.entry:before, | |
.entry-content:before, | |
.pagination:before, | |
.site-container:before, | |
.site-footer:before, | |
.site-header:before, | |
.site-inner:before, | |
.wrap:before { | |
content: " "; | |
display: table; | |
} | |
.author-box:after, | |
.clearfix:after, | |
.entry:after, | |
.entry-content:after, | |
.pagination:after, | |
.site-container:after, | |
.site-footer:after, | |
.site-header:after, | |
.site-inner:after, | |
.wrap:after { | |
clear: both; | |
content: " "; | |
display: table; | |
} | |
/* | |
Defaults | |
---------------------------------------------------------------------------------------------------- */ | |
/* Typographical Elements | |
--------------------------------------------- */ | |
body { | |
background-color: #fff; | |
color: #000; | |
font-family: 'Sorts Mill Goudy', sans-serif; | |
font-size: 22px; | |
font-weight: 400; | |
line-height: 1.5; | |
-webkit-font-smoothing: antialiased; | |
} | |
a, | |
input:focus, | |
input[type="button"], | |
input[type="reset"], | |
input[type="submit"], | |
textarea:focus { | |
-webkit-transition: all 0.1s ease-in-out; | |
-moz-transition: all 0.1s ease-in-out; | |
-ms-transition: all 0.1s ease-in-out; | |
-o-transition: all 0.1s ease-in-out; | |
transition: all 0.1s ease-in-out; | |
} | |
::-moz-selection { | |
background-color: #000; | |
color: #fff; | |
} | |
::selection { | |
background-color: #000; | |
color: #fff; | |
} | |
a { | |
color: #185bac; | |
text-decoration: none; | |
} | |
a:hover { | |
color: #000; | |
} | |
p { | |
margin: 0 0 30px; | |
padding: 0; | |
} | |
ol, | |
ul { | |
margin: 0; | |
padding: 0; | |
} | |
li { | |
list-style-type: none; | |
} | |
b, | |
strong { | |
font-weight: 700; | |
} | |
cite, | |
em, | |
i { | |
font-style: italic; | |
} | |
blockquote { | |
color: #999; | |
margin: 40px; | |
} | |
blockquote::before { | |
content: "\201C"; | |
display: block; | |
font-size: 30px; | |
height: 0; | |
left: -20px; | |
position: relative; | |
top: -10px; | |
} | |
/* Headings | |
--------------------------------------------- */ | |
h1, | |
h2, | |
h3, | |
h4, | |
h5, | |
h6 { | |
color: #000; | |
font-family: Montserrat, sans-serif; | |
font-weight: 400; | |
line-height: 1.2; | |
margin: 0 0 20px; | |
} | |
h1 { | |
font-size: 36px; | |
} | |
h2 { | |
font-size: 32px; | |
} | |
h3 { | |
font-size: 30px; | |
} | |
h4 { | |
font-size: 24px; | |
} | |
h5 { | |
font-size: 20px; | |
} | |
h6 { | |
font-size: 18px; | |
} | |
/* Objects | |
--------------------------------------------- */ | |
embed, | |
iframe, | |
img, | |
object, | |
video, | |
.wp-caption { | |
max-width: 100%; | |
} | |
img { | |
height: auto; | |
} | |
.featured-content img, | |
.gallery img { | |
width: auto; | |
} | |
/* Forms | |
--------------------------------------------- */ | |
input, | |
select, | |
textarea { | |
background-color: #fff; | |
border: 1px solid #ddd; | |
color: #000; | |
font-size: 20px; | |
font-weight: 400; | |
padding: 16px; | |
width: 100%; | |
} | |
input:focus, | |
textarea:focus { | |
border: 1px solid #999; | |
outline: none; | |
} | |
input[type="checkbox"], | |
input[type="image"], | |
input[type="radio"] { | |
width: auto; | |
} | |
::-moz-placeholder { | |
color: #000; | |
opacity: 1; | |
font-weight: 400; | |
} | |
::-webkit-input-placeholder { | |
color: #000; | |
font-weight: 400; | |
} | |
input[type="button"], | |
input[type="reset"], | |
input[type="submit"] { | |
background-color: #000; | |
border: none; | |
color: #fff; | |
cursor: pointer; | |
font-family: Montserrat, sans-serif; | |
font-size: 18px; | |
font-weight: 400; | |
letter-spacing: 1px; | |
padding: 20px; | |
text-transform: uppercase; | |
-webkit-font-smoothing: antialiased; | |
} | |
input:hover[type="button"], | |
input:hover[type="reset"], | |
input:hover[type="submit"] { | |
background-color: #185bac; | |
color: #fff; | |
} | |
input[type="search"]::-webkit-search-cancel-button, | |
input[type="search"]::-webkit-search-results-button { | |
display: none; | |
} | |
/* Tables | |
--------------------------------------------- */ | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
line-height: 2; | |
margin-bottom: 40px; | |
width: 100%; | |
} | |
tbody { | |
border-bottom: 1px solid #ddd; | |
} | |
td, | |
th { | |
text-align: left; | |
} | |
td { | |
border-top: 1px solid #ddd; | |
padding: 6px 0; | |
} | |
th { | |
font-weight: 700; | |
} | |
/* | |
Structure and Layout | |
---------------------------------------------------------------------------------------------------- */ | |
/* Site Containers | |
--------------------------------------------- */ | |
.site-inner, | |
.wrap { | |
margin: 0 auto; | |
max-width: 1140px; | |
} | |
.site-inner { | |
clear: both; | |
margin-top: 150px; | |
} | |
.nominal-landing .site-inner { | |
margin-top: 100px; | |
} | |
/* Column Classes | |
Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css | |
--------------------------------------------- */ | |
.five-sixths, | |
.four-sixths, | |
.one-fourth, | |
.one-half, | |
.one-sixth, | |
.one-third, | |
.three-fourths, | |
.three-sixths, | |
.two-fourths, | |
.two-sixths, | |
.two-thirds { | |
float: left; | |
margin-left: 2.564102564102564%; | |
} | |
.one-half, | |
.three-sixths, | |
.two-fourths { | |
width: 48.717948717948715%; | |
} | |
.one-third, | |
.two-sixths { | |
width: 31.623931623931625%; | |
} | |
.four-sixths, | |
.two-thirds { | |
width: 65.81196581196582%; | |
} | |
.one-fourth { | |
width: 23.076923076923077%; | |
} | |
.three-fourths { | |
width: 74.35897435897436%; | |
} | |
.one-sixth { | |
width: 14.52991452991453%; | |
} | |
.five-sixths { | |
width: 82.90598290598291%; | |
} | |
.first { | |
clear: both; | |
margin-left: 0; | |
} | |
/* | |
Common Classes | |
---------------------------------------------------------------------------------------------------- */ | |
/* Avatar | |
--------------------------------------------- */ | |
.avatar { | |
float: left; | |
} | |
.author-box .avatar { | |
height: 90px; | |
width: 90px; | |
} | |
.entry-comments .avatar { | |
height: 60px; | |
width: 60px; | |
} | |
.author-box .avatar { | |
margin-right: 24px; | |
} | |
.alignright .avatar { | |
margin-left: 24px; | |
} | |
.comment .avatar { | |
margin: 0 20px 24px 0; | |
} | |
/* Genesis | |
--------------------------------------------- */ | |
.breadcrumb { | |
border-bottom: 2px solid #f5f5f5; | |
font-size: 20px; | |
margin-bottom: 60px; | |
padding-bottom: 10px; | |
} | |
.archive-description, | |
.author-box { | |
border-bottom: 1px solid #000; | |
border-top: 1px solid #000; | |
font-size: 20px; | |
margin-bottom: 100px; | |
padding: 40px 0; | |
} | |
.author-box-title { | |
font-size: 22px; | |
margin-bottom: 8px; | |
} | |
.archive-description p:last-child, | |
.author-box p:last-child { | |
margin-bottom: 0; | |
} | |
/* Search Form | |
--------------------------------------------- */ | |
.search-form { | |
overflow: hidden; | |
} | |
.entry-content .search-form{ | |
width: 50%; | |
} | |
.search-form input[type="submit"] { | |
border: 0; | |
clip: rect(0, 0, 0, 0); | |
height: 1px; | |
margin: -1px; | |
padding: 0; | |
position: absolute; | |
width: 1px; | |
} | |
/* Titles | |
--------------------------------------------- */ | |
.archive-title { | |
font-size: 24px; | |
line-height: 1; | |
margin-bottom: 20px; | |
} | |
.entry-title { | |
font-size: 36px; | |
} | |
.entry-title a { | |
color: #000; | |
} | |
.entry-title a:hover { | |
color: #185bac; | |
} | |
/* WordPress | |
--------------------------------------------- */ | |
.alignleft { | |
float: left; | |
text-align: left; | |
} | |
.alignright { | |
float: right; | |
text-align: right; | |
} | |
a.alignleft, | |
a.alignright { | |
max-width: 100%; | |
} | |
img.centered, | |
.aligncenter { | |
display: block; | |
margin: 0 auto 24px; | |
} | |
img.alignnone, | |
.alignnone { | |
margin-bottom: 12px; | |
} | |
a.alignleft, | |
img.alignleft, | |
.wp-caption.alignleft { | |
margin: 0 24px 24px 0; | |
} | |
a.alignright, | |
img.alignright, | |
.wp-caption.alignright { | |
margin: 0 0 24px 24px; | |
} | |
.wp-caption-text { | |
font-size: 18px; | |
line-height: 1.2; | |
text-align: center; | |
} | |
.entry-content p.wp-caption-text { | |
margin-bottom: 0; | |
} | |
.gallery-caption { | |
} | |
.sticky { | |
} | |
/* | |
Site Header | |
---------------------------------------------------------------------------------------------------- */ | |
.site-header { | |
background-color: #185bac; | |
opacity:0.8; | |
position: fixed; | |
width: 100%; | |
z-index: 999; | |
} | |
/* Title Area | |
--------------------------------------------- */ | |
.title-area { | |
float: left; | |
padding: 20px 0; | |
width: 360px; | |
} | |
.site-title { | |
font-family: Montserrat, sans-serif; | |
font-size: 30px; | |
font-weight: 400; | |
letter-spacing: 1px; | |
line-height: 1; | |
margin-bottom: 0; | |
text-transform: uppercase; | |
} | |
.site-title a, | |
.site-title a:hover { | |
color: #fff !important; | |
} | |
.site-description { | |
display: block; | |
height: 0; | |
margin-bottom: 0; | |
text-indent: -9999px; | |
} | |
/* | |
Site Navigation | |
---------------------------------------------------------------------------------------------------- */ | |
.genesis-nav-menu { | |
color: #fff; | |
font-family: Montserrat, sans-serif; | |
font-size: 16px; | |
font-weight: 400; | |
letter-spacing: 1px; | |
line-height: 1; | |
width: 100%; | |
} | |
.genesis-nav-menu .menu-item { | |
display: inline-block; | |
text-align: center; | |
} | |
.genesis-nav-menu li li { | |
margin-left: 0; | |
} | |
.genesis-nav-menu a { | |
color: #fff; | |
display: block; | |
font-family: Montserrat, sans-serif; | |
padding: 27px 20px; | |
} | |
.genesis-nav-menu a:hover, | |
.genesis-nav-menu .current-menu-item > a { | |
color: #000; | |
} | |
.genesis-nav-menu > .menu-item > a { | |
text-transform: uppercase; | |
} | |
.genesis-nav-menu .menu-item:hover { | |
position: static; | |
} | |
/* Primary Navigation | |
--------------------------------------------- */ | |
.nav-primary { | |
text-align: center; | |
float: right; | |
} | |
/* Responsive Menu | |
--------------------------------------------- */ | |
#responsive-menu-icon { | |
cursor: pointer; | |
display: none; | |
margin-bottom: 10px; | |
} | |
#responsive-menu-icon::before { | |
color: #fff; | |
content: "\f333"; | |
font: normal 24px/1 'dashicons'; | |
margin: 0 auto; | |
} | |
/* | |
Content Area | |
---------------------------------------------------------------------------------------------------- */ | |
/* Content | |
--------------------------------------------- */ | |
.content { | |
float: left; | |
width: 700px; | |
} | |
.page .content { | |
padding-bottom: 50px; | |
} | |
.full-width-content .content { | |
padding: 0 200px 50px; | |
width: 100%; | |
} | |
/* Entries | |
--------------------------------------------- */ | |
.entry { | |
margin-bottom: 100px; | |
} | |
.entry-content ol, | |
.entry-content ul { | |
margin-bottom: 30px; | |
margin-left: 40px; | |
} | |
.entry-content ol > li { | |
list-style-type: decimal; | |
} | |
.entry-content ul > li { | |
list-style-type: disc; | |
} | |
.entry-content ol ol, | |
.entry-content ul ul { | |
margin-bottom: 0; | |
} | |
.entry-content code { | |
background-color: #000; | |
color: #ddd; | |
} | |
/* Entry Meta | |
--------------------------------------------- */ | |
p.entry-meta { | |
font-size: 20px; | |
margin-bottom: 0; | |
} | |
.entry-header { | |
text-align: center; | |
} | |
.entry-header::after { | |
border-bottom: 1px solid #000; | |
content: ""; | |
display: block; | |
margin: 0 auto 60px; | |
padding-bottom: 30px; | |
width: 25%; | |
} | |
.entry-comments-link::before { | |
content: "\2014"; | |
margin: 0 6px 0 2px; | |
} | |
/* Pagination | |
--------------------------------------------- */ | |
.pagination { | |
margin: 40px 0; | |
} | |
.archive-pagination li { | |
display: inline; | |
} | |
.archive-pagination li a { | |
background-color: #000; | |
box-shadow: 0 0 1px rgba(0, 0, 0, 0.1); | |
color: #fff; | |
cursor: pointer; | |
display: inline-block; | |
font-family: Montserrat, sans-serif; | |
font-size: 14px; | |
letter-spacing: 1px; | |
padding: 8px 12px; | |
text-transform: uppercase; | |
} | |
.archive-pagination li a:hover, | |
.archive-pagination .active a { | |
background-color: #185bac; | |
color: #fff; | |
} | |
.adjacent-entry-pagination { | |
background: none; | |
border-bottom: 1px solid #ddd; | |
border-top: 1px solid #ddd; | |
margin: 60px 0; | |
padding: 0; | |
} | |
.single .pagination-next, | |
.single .pagination-previous { | |
font-size: 20px; | |
font-weight: 900; | |
padding: 60px 0; | |
width: 50%; | |
} | |
.adjacent-entry-pagination .pagination-previous { | |
border-right: 1px solid #ddd; | |
float: left; | |
padding-right: 15px; | |
} | |
.adjacent-entry-pagination .pagination-next { | |
float: right; | |
padding-left: 15px; | |
} | |
.adjacent-entry-pagination a:hover { | |
color: #000; | |
} | |
/* Comments | |
--------------------------------------------- */ | |
.comment-respond, | |
.entry-comments, | |
.entry-pings { | |
margin-bottom: 100px; | |
} | |
p.comment-meta, | |
.entry-comments .comment, | |
.entry-comments .comment-reply { | |
margin-bottom: 40px; | |
} | |
.comment-header { | |
font-size: 20px; | |
} | |
.entry-comments .comment { | |
border-bottom: 1px solid #000; | |
} | |
.comment-content, | |
.entry-comments .comment { | |
clear: both; | |
} | |
p.form-submit, | |
.entry-comments .children .comment, | |
.entry-comments .comment-author { | |
margin: 0; | |
} | |
.entry-comments .children .comment { | |
border: none; | |
} | |
.comment-respond label { | |
display: block; | |
font-weight: 700; | |
} | |
.comment-respond input[type="email"], | |
.comment-respond input[type="text"], | |
.comment-respond input[type="url"] { | |
width: 100%; | |
} | |
.comment-list li, | |
.ping-list li { | |
list-style-type: none; | |
} | |
.entry-comments ul.children { | |
margin-left: 40px; | |
} | |
.form-allowed-tags, | |
.ping-list .reply { | |
display: none; | |
} | |
.form-allowed-tags { | |
background-color: #f5f5f5; | |
font-size: 16px; | |
padding: 24px; | |
} | |
/* | |
Site Footer | |
---------------------------------------------------------------------------------------------------- */ | |
.site-footer { | |
background-color: #000; | |
padding: 40px 0; | |
text-align: center; | |
} | |
.site-footer a, | |
.site-footer p { | |
color: #fff; | |
} | |
.site-footer a:hover { | |
color: #000; | |
} | |
.site-footer p { | |
font-family: Montserrat, sans-serif; | |
font-size: 12px; | |
letter-spacing: 1px; | |
margin-bottom: 0; | |
text-transform: uppercase; | |
} | |
/* | |
Media Queries | |
---------------------------------------------------------------------------------------------------- */ | |
@media only screen and (max-width: 1139px) { | |
.site-inner, | |
.wrap { | |
max-width: 960px; | |
} | |
.content { | |
width: 520px; | |
} | |
.full-width-content .content { | |
padding: 0 110px; | |
} | |
} | |
@media only screen and (max-width: 1023px) { | |
.site-inner, | |
.wrap { | |
max-width: 768px; | |
} | |
.site-header { | |
padding-bottom: 10px; | |
position: relative; | |
} | |
.content, | |
.title-area { | |
width: 100%; | |
} | |
.genesis-nav-menu, | |
.site-title { | |
text-align: center; | |
} | |
.nav-primary { | |
float: none; | |
} | |
.genesis-nav-menu a { | |
padding: 10px; | |
} | |
.site-inner { | |
margin-top: 80px; | |
} | |
.full-width-content .content { | |
padding: 0; | |
} | |
.five-sixths, | |
.four-sixths, | |
.one-fourth, | |
.one-half, | |
.one-sixth, | |
.one-third, | |
.pricing-table .one-third, | |
.three-fourths, | |
.three-sixths, | |
.two-fourths, | |
.two-sixths, | |
.two-thirds { | |
margin: 0; | |
width: 100%; | |
} | |
} | |
@media only screen and (max-width: 768px) { | |
.site-inner, | |
.wrap { | |
max-width: none; | |
width: 100%; | |
padding: 0 5%; | |
} | |
.responsive-menu { | |
display: none; | |
} | |
#responsive-menu-icon { | |
display: block; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment