/* Theme Name: Alpha Theme URI: http://themehall.com/alpha-free-responsive-child-theme Author: themehall.com Author URI: http://www.themehall.com/about Description: Alpha is a responsive child theme Version: 0.1.0 License: GNU General Public License License URI: license.txt Tags: light, two-columns, right-sidebar, flexible-width, custom-menu, threaded-comments, sticky-post, translation-ready Template: omega Omega WordPress theme, Copyright (C) 2013 themehall.com Omega WordPress theme is licensed under the GPL. /* HTML5 Reset ---------------------------------------------------------------------------------------------------- */ /* Baseline Reset (normalize.css 2.1.2) Link: http://necolas.github.com/normalize.css/ --------------------------------------------- */ 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 --------------------------------------------- */ .clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; } .row:before, .row:after { display: table; content: " "; } .row:after { clear: both; } .row:before, .row:after { display: table; content: " "; } .row:after { clear: both; } .row .row { margin-right: -15px; margin-left: -15px; } /* Defaults ---------------------------------------------------------------------------------------------------- */ /* Typographical Elements --------------------------------------------- */ html { font-size: 62.5%; /* 10px browser default */ } body { background-color: #333333; color: #666; font-family: 'Lato', sans-serif; font-size: 16px; font-weight: 300; line-height: 1.625; } a, button, 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: #333; color: #fff; } ::selection { background: #333; color: #fff; } a { color: #999; text-decoration: none; } a img { margin-bottom: -4px; } a:hover { color: #666; } p { margin: 0 0 24px; padding: 0; } strong { font-weight: 700; } ol, ul { list-style: none; } ul { list-style: disc; margin: 0 0 25px 48px; padding: 0; } ol { list-style-type: decimal; margin: 0 0 25px 48px; } ol ol { list-style: upper-roman; } ol ol ol { list-style: lower-roman; } ol ol ol ol { list-style: upper-alpha; } ol ol ol ol ol { list-style: lower-alpha; } ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; } dl { margin: 0 0 25px 5px; } dl dt { font-weight: bold; margin: 10px 0 0 0; } dl dd { margin: 5px 0 0 24px; } blockquote, blockquote::before { color: #999; } blockquote { margin: 0; padding: 24px 40px; } blockquote::before { content: "\201C"; display: block; font-size: 30px; height: 0; left: -20px; position: relative; top: -10px; } pre { background: #333; color: #ccc; overflow: scroll; padding: 0 20px; white-space: pre; } cite { font-style: normal; } /* Table --------------------------------------------- */ table { border: 1px solid #e5e5e5; border-collapse: collapse; border-spacing: 0; margin-bottom: 25px; } table caption { margin: 0 0 5px; font-size: 15px; font-variant: small-caps; } th,td { padding: 10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; } hr { height: 1px; margin-bottom: 25px; background: #333; } .widget th, .widget td { padding: 5px 2px; } th { border-bottom: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; background: #f5f5f5; font-size: 15px; font-weight: normal; text-align: left; } td { border-bottom: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; } /* Headings --------------------------------------------- */ h1, h2, h3, h4, h5, h6 { color: #333; font-family: 'Open Sans', sans-serif; font-weight: normal; line-height: 1.2; margin: 0; margin-bottom: 16px; padding: 0; } h1 { font-size: 34px; } h2 { font-size: 28px; } h3 { font-size: 24px; } h4 { font-size: 20px; } h5 { font-size: 18px; } h6 { font-size: 16px; } /* Objects --------------------------------------------- */ embed, iframe, img, object, video { max-width: 100%; } img { height: auto; width: auto; /* IE8 */ } /* Forms --------------------------------------------- */ input, select, textarea { background: #fff; border: 1px solid #ddd; border-radius: 3px; box-shadow: 1px 1px 3px #eee inset; color: #999; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; padding: 16px; max-width: 100%; } input:focus, textarea:focus { border: 1px solid #aaa; outline: none; } ::-moz-placeholder { color: #999; } ::-webkit-input-placeholder { color: #999; } button, input[type="button"], input[type="reset"], input[type="submit"] { background: #333; border: none; box-shadow: none; color: #fff; cursor: pointer; letter-spacing: 1px; padding: 16px 24px; text-transform: uppercase; width: auto; } button:hover, input:hover[type="button"], input:hover[type="reset"], input:hover[type="submit"] { opacity:0.8; filter:alpha(opacity=80); /* For IE8 and earlier */ } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-results-button { display: none; } /* Structure and Layout ---------------------------------------------------------------------------------------------------- */ /* Site Containers --------------------------------------------- */ .site-container { margin: 0 auto; max-width: 980px; background-color: #fff; } .wrap { } .site-inner { clear: both; padding-top: 40px; } .site-inner .wrap { margin: 0px 40px; } /* Column Widths and Positions --------------------------------------------- */ /* Content */ .content { float: right; width: 610px; } .content-sidebar .content { float: left; } .full-width-content .content { width: 100%; } /* Primary Sidebar */ .sidebar-primary { float: right; width: 250px; } .sidebar-content .sidebar-primary { float: left; } /* WordPress --------------------------------------------- */ .avatar { float: left; } .alignleft .avatar { margin-right: 24px; } .alignright .avatar { margin-left: 24px; } .search-form input[type="submit"] { border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px; padding: 0; position: absolute; width: 1px; } .sticky { } img.centered, .aligncenter { display: block; margin: 0 auto 24px; } img.alignnone { margin-bottom: 12px; } .alignleft { float: left; text-align: left; } .alignright { float: right; text-align: right; } img.alignleft, .wp-caption.alignleft { margin: 0 24px 24px 0; } .wp-caption { max-width: 100%; } img.alignright, .wp-caption.alignright { margin: 0 0 24px 24px; } .wp-caption-text { font-size: 14px; font-weight: 700; margin: 0; text-align: center; } .gallery { display: block; clear: both; overflow: hidden; margin: 0 auto 20px; } .gallery .gallery-row { display: block; clear: both; overflow: hidden; margin: 0; } .gallery .gallery-item { overflow: hidden; float: left; margin: 0 0 16px; text-align: center; list-style: none; padding: 0; } .gallery .gallery-item .gallery-icon { position:relative; } .gallery .gallery-item .gallery-icon img { width: auto; max-width: 89%; height: auto; padding: 5%; margin: 0 auto; } .gallery-caption { margin: 0 10px; } .widget_calendar table { width: 100%; } .widget_calendar th { text-align: center; font-weight: bold; } .widget_calendar td { text-align: center; } .widget_search input.search-field { width: 100%; } /* Headings --------------------------------------------- */ .entry-title { font-size: 34px; word-wrap: break-word; line-height: 1.2; } .entry-title a, .sidebar .widgettitle a { color: #333; } .entry-title a:hover { color: #666; } .widgettitle { font-size: 16px; letter-spacing: 1px; margin-bottom: 24px; text-transform: uppercase; } .sidebar .widgettitle a { border: none; } .archive-title { font-size: 20px; margin-bottom: 24px; } /* Site Header ---------------------------------------------------------------------------------------------------- */ .site-header { border-bottom: 1px solid #F5F5F5; background: none repeat scroll 0 0 #000; } .site-header .wrap { padding: 20px 0 40px; } /* Title Area --------------------------------------------- */ .title-area { font-weight: 700; padding: 16px 0; text-align: center; } .header-image .title-area { padding: 0; } .site-title { font-size: 45px; letter-spacing: 2px; line-height: 1; margin: 0 0 8px; text-transform: uppercase; } .site-title a, .site-title a:hover { color: #fff; } .site-description { color: #999; font-size: 16px; font-weight: 300; line-height: 1; margin: 0; } /* Site Navigation ---------------------------------------------------------------------------------------------------- */ .omega-nav-menu, .omega-nav-menu > ul { clear: both; color: #999; letter-spacing: 1px; line-height: 1.5; margin: 0; padding: 0; width: 100%; text-align: center; } .omega-nav-menu .menu-item, .omega-nav-menu .page_item { display: inline-block; margin: 0; padding: 0; text-align: left; } .omega-nav-menu a { border: none; color: #999; display: block; padding: 28px 24px; position: relative; } .omega-nav-menu .sub-menu, .omega-nav-menu .children { left: -9999px; margin: 0; opacity: 0; padding: 0; position: absolute; -webkit-transition: opacity .4s ease-in-out; -moz-transition: opacity .4s ease-in-out; -ms-transition: opacity .4s ease-in-out; -o-transition: opacity .4s ease-in-out; transition: opacity .4s ease-in-out; width: 200px; z-index: 99; } .omega-nav-menu .sub-menu a, .omega-nav-menu .children a { background: #fff; border: 1px solid #eee; border-top: none; font-size: 14px; letter-spacing: 0; padding: 16px 20px; position: relative; width: 200px; } .omega-nav-menu .sub-menu .sub-menu, .omega-nav-menu .children .children { margin: -54px 0 0 199px; } .omega-nav-menu .menu-item:hover, .omega-nav-menu .page_item:hover { position: static; } .omega-nav-menu .menu-item:hover > .sub-menu, .omega-nav-menu .page_item:hover > .children { left: auto; opacity: 1; } .omega-nav-menu > .first > a { padding-left: 0; } .omega-nav-menu > .last > a { padding-right: 0; } /* Primary Navigation --------------------------------------------- */ .nav-primary { background: none repeat scroll 0 0 #000; } .nav-primary a:hover { color: #fff; } .nav-primary .sub-menu a:hover, .nav-primary .children a:hover { color: #333; } /* Content Area ---------------------------------------------------------------------------------------------------- */ /* Entries --------------------------------------------- */ .entry, .hentry { margin-bottom: 40px; } .entry-content { word-wrap: break-word; } .entry-content img.wp-post-image { margin-bottom: 15px; } .entry-content .attachment a, .entry-content .gallery a { border: none; } .entry-content .wp-caption p { margin-bottom: 0; } .entry-meta { clear: both; color: #999; font-size: 14px; } .entry-header .entry-meta { margin-bottom: 24px; } .entry-footer .entry-meta { margin: 0; padding: 0px 0px 8px; } .entry-comments-link::before { content: "\2014"; margin: 0 6px 0 2px; } .entry-categories, .entry-tags { display: block; } /* Entry Navigation --------------------------------------------- */ .navigation { clear: both; font-size: 14px; margin: 40px 0; } .entry .navigation a { border-bottom: 1px solid #ddd; } .navigation li { display: inline; } .navigation li a { background: #333; border-radius: 3px; color: #fff; cursor: pointer; display: inline-block; padding: 8px 12px; } /* Comments --------------------------------------------- */ .entry-comments, #respond { background: #fff; border-radius: 3px; } .entry-comments, .ping-list, #respond { margin-bottom: 40px; } .entry-comments a, #respond a { border-bottom: 1px solid #ddd; } .entry-comments .comment-author { margin: 0; } #respond input[type="email"], #respond input[type="text"], #respond input[type="url"] { width: 50% } #respond label { display: block; margin-right: 12px; } ol.comment-list { margin: 0; padding: 0; } .comment-list li, .ping-list li { list-style-type: none; } li.comment { border: 2px solid #fff; border-right: none; } li.comment .comment-body { background: #f5f5f5; margin-top: 24px; padding: 32px; } .comment .avatar { margin: 0 16px 24px 0; } .bypostauthor { } .form-allowed-tags { background: #f5f5f5; font-size: 14px; padding: 24px; } /* Sidebars ---------------------------------------------------------------------------------------------------- */ .sidebar { color: #999; } .widget-title { word-wrap: break-word; } .sidebar p:last-child, .sidebar ul { margin: 0; } .sidebar li { list-style-type: none; margin-bottom: 6px; padding: 0; word-wrap: break-word; } .sidebar ul > li:last-child { margin-bottom: 0; } .sidebar .widget { margin-bottom: 40px; } .sidebar .search-form { width: 100%; } /* Site Footer ---------------------------------------------------------------------------------------------------- */ .site-footer { background: none repeat scroll 0 0 #F5F5F5; color: #999; font-size: 14px; padding: 40px 0; text-align: center; } .site-footer p { margin: 0; } /* Media Queries ---------------------------------------------------------------------------------------------------- */ @media only screen and (max-width: 768px) { .content, .sidebar-primary, .site-container { width: 100%; } .header-image .site-header .wrap { background-position: center top; } .site-inner .wrap { margin: 0 40px; } .archive-description, .entry, .entry-comments, .entry-footer .entry-meta, .sidebar .widget, .site-header, #respond { padding: 0; } .site-inner { background: none; } .omega-nav-menu li { float: none; } .omega-nav-menu, .site-description, .site-header .title-area, .site-title { text-align: center; } .omega-nav-menu a, .omega-nav-menu > .first > a, .omega-nav-menu > .last > a { padding: 20px 16px; } .omega-nav-menu li.right { display: none; } .entry-footer .entry-meta { margin: 0; padding-top: 12px; } .site-footer { padding: 24px 0; } }