/* Theme Name: Basiss Theme URI: http://www.majuter.us/basiss-theme Author: Leo Ari Wibowo Author URI: http://www.majuter.us Description: A simple responsive two column Wordpress theme Version: 1.0 License: GNU General Public License License URI: license.txt Tags: white, blue, dark, gray, two-columns, right-sidebar, custom-menu, flexible-width, threaded-comments, microformats, translation-ready, featured-images */ /* -- Micro Clearfix, Resets and Common Classes ========================================================================== */ /* Micro Clearfix */ .clear:before, .clear:after { content: ""; display: table; } .clear:after { clear: both; } .clear { zoom: 1; } .section:before, .section:after { content: ""; display: table; } .section:after { clear: both; } .section { zoom: 1; } /* General Resets */ /* Start font size at 62.5% */ html { font-size: 62.5%; } /* Make all form fonts consistent */ button, input, select, textarea { font-family: sans-serif; } /* Remove all default borders */ form, fieldset, a img { border: 0; } /* Common Classes */ .left { float: left; } .right { float: right; } .nofloat { float: none; } .block { display: block; } .inline-block { display: inline-block; } .inline { display: inline; } .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; overflow: hidden; padding: 0; position: absolute; width: 1px; left: -9999em; } .visuallyvisible { clip: auto; width: auto; height: auto; overflow: visible; left: 0; } .strong { font-weight: bold; } .center { margin-left: auto; margin-right: auto; } .nolist { list-style: none; } .nopadding { padding: 0; } .nomargin { margin: 0; } .none, .nodesktop { display: none; } /* ========================================================================== /* 1.0 - Document Setup (body, links, headings, code, tables, forms etc) ========================================================================== */ /* Body */ body { font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-weight: 300; line-height: 1.625; font-size: 18px; font-size: 1.8rem; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; color: #5d5d5d; margin: 0; } /* Links */ a, a:visited { color: #34a9df; text-decoration: none; } a:hover, a:active { color: #333; } /* 1.1 Headings - h1, h2, h3, h4, h5, h6 & other (if any) ========================================================================== */ h1, h2, h3, h4, h5, h6 { margin: 0; color: #111; font-weight: 300; line-height: 1.15; } h1 { font-size: 2.457142857142857em; margin-bottom: 10px; } h2 { font-size: 1.8571428571428572em; margin-bottom: 8px; } h3 { font-size: 1.6285714285714286em; margin-bottom: 6px; } h4 { font-size: 1.4285714285714286em; margin-bottom: 4px; } h5, h6 { font-size: 1.2285714285714286em; margin-bottom: 4px; } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } /* 1.2 Paragraphs, block quotes, code, pre, etc ========================================================================== */ p { margin: 0 0 1em 0; } abbr { border-bottom: 1px dotted #000; cursor: help; } address { line-height: 1.384em; } sup, sub { font-size: 75%; height: 0; line-height: 0; position: relative; vertical-align: baseline; } sup { bottom: 1ex; } sub { top: .5ex; } small { font-size: 67.5%; } /* Block Quotes */ blockquote, q { quotes: none; border-left: 7px solid #cccccc; font-style: italic; padding-left: 1em; margin: 1em; } blockquote:before, blockquote:after, q:before, q:after { content: ''; } /* Code Blocks & Pre */ code, pre { padding: 0 3px 2px; font-family: "Courier New", monospace; font-size: 12px; color: #333; border-radius: 3px; } code { padding: 2px 4px; color: #d14; background-color: #f7f7f9; border: 1px solid #e1e1e8; } pre { display: block; padding: 8.5px; margin: 0 0 9px; font-size: 12.025px; line-height: 18px; word-break: break-all; word-wrap: break-word; white-space: pre; white-space: pre-wrap; background: #f5f5f5; border: 1px solid #ccc; border-radius: 4px; } pre code { padding: 0; color: inherit; background-color: transparent; border: 0; } .pre-scrollable { max-height: 340px; overflow-y: scroll; } /* 1.3 Tables ========================================================================== */ table { width: 100%; border: 1px solid #dddddd; border-collapse: collapse; border-left: 0; background-color: #fff; border-spacing: 0; } table th, table td { padding: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top: 1px solid #dddddd; border-left: 1px solid #dddddd; } table thead th { vertical-align: bottom; font-weight: bold; background: #ffffff; color: #000000; border-left: 1px solid #dddddd; } table caption + thead tr:first-child th, table caption + thead tr:first-child td, table colgroup + thead tr:first-child th, table colgroup + thead tr:first-child td, table thead:first-child tr:first-child th, table thead:first-child tr:first-child td { border-top: 0; } table tbody tr:nth-child(odd) td, table tbody tr:nth-child(odd) th { background-color: #f1f1f1; } table tbody tr:nth-child(even) td, table tbody tr:nth-child(even) th { background-color: #ffffff; } table tbody .odd td, table tbody .odd td { background-color: #f1f1f1; } table tfoot td { background: #eeeeee; font-weight: bold; } table caption { padding: .5em; background-color: #eeeeee; border: 1px solid #cccccc; border-bottom: 0; font-weight: bold; } /* 1.4 Lists ========================================================================== */ ul, ul ul { list-style: disc; margin: 0; } ol, ol ol { list-style: decimal; margin: .5em; } dl:before, dl:after { content: ""; display: table; } dl:after { clear: both; } dl { zoom: 1; } dl { width: 100%; } dl dt { width: 28%; float: left; clear: left; padding: 1%; margin: 0 0 .5em; font-weight: bold; } dl dd { width: 68%; float: left; padding: 1%; margin: 0 0 .5em; } /* 1.5 Forms, Labels and Inputs ========================================================================== */ legend { font-size: 1.4285714285714286em; font-family: "Georgia", "Times New Roman", sans-serif; font-weight: bold; display: block; width: 100%; padding-bottom: 1em; } .field { padding: 10px 0; } .field label { display: inline-block; min-width: 20%; } .field ul { list-style: none; margin: 0; padding: 0; } /* Inputs (Text, Search, Email, etc) */ button, input, select, textarea { font-size: 100%; /* Corrects font size not being inherited in all browsers */ margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ vertical-align: baseline; /* Improves appearance and consistency in all browsers */ *vertical-align: middle; /* Improves appearance and consistency in all browsers */ } button, input { line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */ *overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */ } button, html input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #ccc; border-color: #ccc #ccc #bbb #ccc; border-radius: 3px; background: #e6e6e6; -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05); -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05); color: rgba(0,0,0,.8); 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 */ font-size: 12px; font-size: 1.4rem; line-height: 1; padding: 1.12em 1.5em 1em; text-shadow: 0 1px 0 rgba(255,255,255,.8); } button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #ccc #bbb #aaa #bbb; -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02); -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02); } button:focus, html input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, html input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { border-color: #aaa #bbb #bbb #bbb; -webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15); -moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15); box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15); } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */ padding: 0; /* Addresses excess padding in IE8/9 */ } input[type="search"] { -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ box-sizing: content-box; } input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ -webkit-appearance: none; } button::-moz-focus-inner, input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */ border: 0; padding: 0; } input[type=text], input[type=email], textarea { background: rgba( 255, 255, 255, 0.3 ); border: 1px solid #ccc; border-radius: 3px; padding: 15px; } input[type=text]:focus, input[type=email]:focus, textarea:focus { background: #fff; } textarea { overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ padding-left: 3px; vertical-align: top; /* Improves readability and alignment in all browsers */ width: 98%; } /* 1.6. Alignment ========================================================================== */ .alignleft { display: inline; float: left; margin-right: 1.5em; margin-bottom: 1em; } .alignright { display: inline; float: right; margin-left: 1.5em; margin-bottom: 1em; } .aligncenter { clear: both; display: block; margin: 1.5em auto; } /* 1.7. Media ========================================================================== */ .entry-content img, .comment-content img, .widget img { max-width: 100%; /* Fluid images for posts, comments, and widgets */ } .entry-content img, .widget-img, img[class*="align"], img[class*="wp-image-"], .wp-caption img { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ } .entry-content img, .widget img, img.size-full { max-width: 100%; width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */ } .entry-content img.wp-smiley, .comment-content img.wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } .wp-caption { border: 1px solid #ccc; max-width: 100%; } .wp-caption.aligncenter, .wp-caption.alignleft, .wp-caption.alignright, .wp-caption.alignnone { margin-bottom: 1.5em; } .wp-caption img { display: block; margin: 1.2% auto 0; max-width: 98%; } .wp-caption-text { text-align: center; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } #content .gallery { margin-bottom: 1.5em; } .wp-caption-text, .gallery-caption { font-size: 12px; font-size: 1.2rem; font-style: italic; } #content .gallery a img { border: none; height: auto; max-width: 90%; } #content .gallery dd { margin: 0; } /* Make sure embeds and iframes fit their containers */ embed, iframe, object { max-width: 100%; } /* ========================================================================== /* 2.0 - Grid Layout (Responsive) ========================================================================== */ /* Header */ .header { max-width: 1180px; margin: 0 auto; background: #f9f9f9; padding: 30px; } h1.site-title { margin-bottom: 0; font-family: Arial, sans-serif; font-weight: bold; letter-spacing: -2px; } h2.site-description { font-size: 1.1285714285714286em; margin-bottom: 4px; } .navigation { padding: 0 25px; border-bottom: 3px dashed #ddd; text-transform: uppercase; font-size: 16px; background: #f9f9f9; } .navigation a, navigation a:visited { color: #000; } .navigation a:hover, navigation a:active { color: #34a9df; } /* Sections & Content Blocks */ .section { position: relative; } .content { max-width: 1180px; margin: 0 auto; background: #fff; padding: 70px 30px; } .container-full { max-width: 1240px; margin: 0 auto; background: #fff; -webkit-box-shadow: 0px 0px 25px rgba(50, 50, 50, 0.15); -moz-box-shadow: 0px 0px 25px rgba(50, 50, 50, 0.15); box-shadow: 0px 0px 25px rgba(50, 50, 50, 0.15); } #primary { } #secondary { } /* Content */ article { margin-bottom: 10px; } .sticky { } .page-header { margin-bottom: 100px; } .entry-title a, .entry-title a:visited { color: #333; font-weight: 300; } .entry-title a:hover, .entry-title a:active { color: #34a9df; } .entry-meta { text-transform: uppercase; color: #ccc; margin-bottom: 10px; font-size: 14px; font-size: 1.4rem; } img.attachment-big-thumb { margin-left: -30px; max-width: 104.0625%; height: auto; } .entry-content { padding-left: 11.375%; margin-bottom: 90px; } /* Navigation */ .site-navigation { margin: 0 0 1.5em; overflow: hidden; } #nav-below .nav-previous { float: left; width: 50%; } #nav-below .nav-next { float: right; text-align: right; width: 50%; } /* Comments */ #comments { clear: both; } .bypostauthor { } .comments-title, #reply-title { font-size: 20px; font-size: 2rem; } .commentlist li { list-style: none; } .commentlist, .children { list-style: none; margin: 0; } .children { margin: 0 0 0 6%; } .commentlist li.comment, .commentlist li.pingback { border-bottom: 1px solid rgba( 0, 0, 0, 0.2 ); padding-left: 2.5em; } .commentlist .children li, .commentlist li:last-of-type { border: none; } article.comment, li.pingback { overflow: hidden; padding: 2.5em 0 0.7em; position: relative; } .children article.comment, .children li.pingback { padding-top: 1.0em; } .comment .avatar { float: left; margin-right: 1.25em; } .comment-author { font-size: 16px; font-size: 1.6rem; font-weight: bold; } .comment-meta { font-size: 14px; font-size: 1.4rem; } .comment-content{ font-size: 15px; font-size: 1.5rem; margin: 1em 0 0 4.5em; } .comment .reply { font-size: 14px; font-size: 1.4rem; text-align: right; } li.pingback { font-weight: bold; } li.pingback a { font-weight: normal; } /* Comment Form */ .comment-notes, #commentform .form-allowed-tags, p.nocomments, p.logged-in-as, #commentform label { font-size: 15px; font-size: 1.5rem; } .required { color: #880000; } #commentform label { font-weight: bold; padding: 1em 0; } #commentform input[type="text"] { margin-left: 0.5em; } #commentform #comment { margin-top: 0.6em; } #commentform .form-allowed-tags, #commentform .form-allowed-tags code { font-size: 11px; font-size: 1.1rem; } p.nocomments { margin: 2.5em; } /* Widgets */ .widget { font-size: 14px; font-size: 1.4rem; line-height: 1.8; margin: 0 0 3.5em; } h1.widget-title { color: #333; font-size: 20px; font-size: 2rem; font-weight: 300; } .widget ul { list-style-type: none; margin: 0; padding: 0; } .widget ul li { padding: 5px 0; border-bottom: 1px solid #eee; } .widget ul li:last-child { border-bottom: none; } .widget a, .widget a:visited { color: #333; } .widget a:hover, .widget a:active { color: #34a9df; } #wp-calendar th, #wp-calendar td { text-align: center; } #wp-calendar a, #wp-calendar a:visited { color: #34a9df; } /* Search widget */ #searchsubmit { display: none; } /* Footer */ .site-foot { max-width: 1180px; margin: 0 auto; background: #f9f9f9; padding: 30px; border-top: 3px dashed #ddd; } .site-foot h5 { text-transform: uppercase; } .site-foot p { font-size: 14px; } /* Fluid Grid */ .col { margin-left: 4%; float: left; } .col:first-child { margin-left: 0; } /* Columns */ .one { width: 6.333%; } .two { width: 14.667%; } .three { width: 23.0%; } .four { width: 31.333%; } .five { width: 39.667%; } .six { width: 48.0%; } .seven { width: 56.333%; } .eight { width: 64.667%; } .nine { width: 73.0%; } .ten { width: 81.333%; } .eleven { width: 89.667%; } .twelve { width: 100%; } .half { width: 48.0%; } .one-third { width: 31.333%; } /* ========================================================================== /* -- Desktops / Laptops ========================================================================== */ @media only screen and (min-width: 960px) { .navigation ul li { margin-right: 0.5em; } .navigation:after { clear: both; content: ""; display: block; } .navigation ul { list-style: none; margin: 0; padding-left: 0; } .navigation li { float: left; position: relative; } .navigation a { display: block; margin-right: 1em; text-decoration: none; color: #333; padding: 0.5em; } .navigation ul ul { border: 1px solid rgba(0, 0, 0, 0.1); display: none; float: left; position: absolute; top: 2em; left: 0; z-index: 99999; padding: 0px; margin-top: 9px; padding: 5px 0 5px 10px; background: #f9f9f9; } .navigation ul ul ul { left: 100%; top: -7px; padding-top: 2px; padding-bottom: 2px; } .navigation ul ul a { padding: 0; width: 200px; } .navigation ul ul li { list-style-type: none; padding-bottom: 4px; border-bottom: none; border-bottom: 1px solid #ccc; padding-top: 9px; } .navigation ul ul li:first-child { padding-top: 5px; } .navigation ul ul li:last-child { border-bottom: none; } .navigation li:hover > a, .navigation li.current_page_item a, .navigation li.current-menu-item a, .navigation ul ul a:hover { color: #34a9df; } .navigation ul ul :hover > a { color: #34a9df; } .navigation ul li:hover > ul { display: block; color: #34a9df; } a.showmobile { display: none; } } /* ========================================================================== /* -- Mobile Devices (Layout, Modifications, etc) ========================================================================== */ @media only screen and (max-width: 959px) { html body { max-width: 100%; padding: 0; margin: 0; } .one, .two, .three, .four, .five, .six, .seven, .eight, .nine, .ten, .eleven, .twelve { width: 100%; margin-left: 0; margin-right: 0; float: none; } .header { padding-left: 20px; padding-right: 20px; } .content { padding-left: 20px; padding-right: 20px; } .navigation { padding: 15px 20px; } .navigation a:active, .navigation a:visited { color: #ffffff; } .navigation a:hover { background-color: #333333; } .navigation ul li { margin-right: 0; } .navigation ul ul { display: block; list-style: none; } .menu { list-style: none; padding: 0; margin: 0; } .nav-toggle, .menu a { display: block; background-color: #34a9df; text-align: center; color: #ffffff; padding: 10px; margin-top: 1px; text-decoration: none; } .nomobile { display: none; } .showmobile { display: block; } img.attachment-big-thumb { margin-left: 0; max-width: 100%; height: auto; } .entry-content { padding-left: 0; } .site-foot { padding-left: 20px; padding-right: 20px; } } /* End Mobile Media Query */ /* ========================================================================== /* -- Print Layout ========================================================================== */ @media print { body { font-family: serif; /* Serif is easier to read offscreen */ margin: 0.5cm; } } /* End Print Media Query */