/* Theme Name: Blocks v1.3 Theme URI: http://www.ellismedia.com.au Author: ellismedia Author URI: http://about.me/tim.ellis Description: A blocky and bold theme for Wordpress Version: 1.3 License: GNU General Public License License URI: license.txt Tags: light, one-column, right-sidebar, custom-header, custom-menu, featured-images, post-formats, rtl-language-support, threaded-comments, translation-ready This theme, like WordPress, is licensed under the GPL. */ /* =Reset -------------------------------------------------------------- */ 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%; 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 centred 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/ */ } body { margin:0; padding:0; height:100%; } header { background: none; } article, aside, details, figcaption, figure, footer, header, nav, section { display: block; } hgroup{ padding:10px; } p { font-family: 'Open Sans', sans-serif; line-height: 25px; } .entry-content { letter-spacing:0px; padding:1%; margin-bottom: 3%; } #respond { letter-spacing:0px; } h3#reply-title { padding:1% 0 0 1%; } form#commentform{ background: #f5f5f5; margin-top: 1%; padding-top: 1%; font-size: 90%; } textarea#comment { height: 100px; } p.comment-form-author label, p.comment-form-email label{ width: 170px; float: left; } p.comment-form-author, p.comment-form-email { padding:1% 0 0 5%; } p.form-submit { padding:1% 0 2% 5%; } p.comment-form-comment { width: 90%; margin-left:auto; margin-right:auto; margin-bottom: 1%; margin-top:1%; } .form-allowed-tags{ display:none; } ol, ul { list-style: none; } table { /* tables still need 'cellspacing="0"' in the markup */ border-collapse: separate; border-spacing: 0; } caption, th, td { font-weight: normal; text-align: left; } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; } a:focus { outline: thin dotted; } a:hover, a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */ outline: 0; } a img { border: 0; } /* =Global ----------------------------------------------- */ body, button, input, select, textarea { color: #404040; font-family: arial, sans-serif; font-size: 1.4rem; line-height: 1.5; } /* Headings */ h1.site-title{ font-size: 300%; color: white; } h2.site-description{ font-size: 18px; color: #f0f0f0; font-weight: 400; margin-top: -1%; font-family: 'roboto', sans-serif; } h1,h2,h3,h4,h5,h6 { clear: both; font-family: 'roboto', Helvetica, Arial, serif; } h1{ font-size: 32px; } h3{ font-size: 18px; }en hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } /* Text elements */ p { } ul, ol { margin: 0 0 1.5em 3em; } ul { list-style: disc; } ol { list-style: decimal; } ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; margin-left: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } b, strong { font-weight: bold; } dfn, cite, em, i { font-style: italic; } blockquote { background:#f9f9f9; border-left:10px solid #ccc; margin:1.5em 10px; padding:.5em 10px; quotes:"\201C""\201D""\2018""\2019"; border-top: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; } address { margin: 0 0 1.5em; } pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 1.5rem; line-height: 1.6; margin-bottom: 1.6em; padding: 1.6em; overflow: auto; max-width: 100%; } code, kbd, tt, var { font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } sup, sub { font-size: 75%; height: 0; line-height: 0; position: relative; vertical-align: baseline; } sup { bottom: 1ex; } sub { top: .5ex; } small { font-size: 75%; } big { font-size: 125%; } figure { margin: 0; } table { margin: 0 0 1.5em; width: 100%; } th { font-weight: bold; } 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; 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; line-height: 1; padding: 0.5em 1em 0.5em 1em; font-weight: 700; color: #f0f0f0; font-family: Arial, serif; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } input#s[type=text] { color: #464542; border: 1px solid #ccc; border-radius:2px; padding-left: 10px; padding-right: 5px; padding-top: .35em; padding-bottom: .35em; font-size: 14px; border-top: 1px solid #ccc; border-left: 1px solid #ccc; } input#s[type=text]:focus { border-color: #4d90fe; outline: none; } input#searchsubmit[type="submit"] { border: 1px solid #3079ed; margin: 0 0; background-color: #4d90fe; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; font-size: 14px; vertical-align:top; padding: .45em 1em .45em 1em; } input#searchsubmit[type="submit"]:hover { background-color: #357ae8; } form#searchform { padding:1%; border-radius: 5px; } button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background: #777; } 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 { color: #666; border: 1px solid #ccc; border-radius: 3px; } input[type=text]:focus, input[type=email]:focus, textarea:focus { color: #111; } input[type=text], input[type=email] { padding: 3px; } 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%; } .breadcrumbs { font-size: 80%; color: #888; } .page .breadcrumbs{ padding-left: 7px; } .breadcrumbs a:visited, .breadcrumbs a{ color: #888; } /* Links */ a { color: royalblue; } a:visited { color: purple; } a:hover, a:focus, a:active { color: midnightblue; } /* Alignment */ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: both; display: block; margin: 0 auto; } /* Text meant only for screen readers */ .assistive-text { clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); position: absolute !important; } /* =Menu ----------------------------------------------- */ .main-navigation { clear: both; display: block; float: left; width: 100%; margin-bottom: 1%; font-family: 'roboto', Helvetica, Arial, serif; font-weight: 100; line-height: 1.6; font-size: 1em; } .main-navigation ul { list-style: none; margin: 0; padding-left:0; } .main-navigation li { float: left; position: relative; } .main-navigation a { display: block; text-decoration: none; padding-left:15px; padding-right:15px; color:#f0f0f0; text-transform:uppercase; font-size: 14px; font-weight: 500; } .main-navigation ul ul { -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; float: left; position: absolute; top: 1.5em; left: 0; z-index: 99999; background-color: white; padding:10px 0 15px 0; width: 200%; .main-navigation ul ul ul { left: 100%; top: 0; } .main-navigation ul ul a { width: 100%; } } .main-navigation ul ul li { color: #28394a; width:100%; } .main-navigation ul ul li a{ color: #333; text-transform:none; } .main-navigation li:hover > a { color: #28394a; } .main-navigation ul ul li:hover > a { text-decoration: underline; background-color: transparent; color: #333; }. .main-navigation ul ul a:hover { } .main-navigation ul li:hover > ul { display: block; } .main-navigation li.current_page_item a, .main-navigation li.current-menu-item a { } /* Small menu */ .menu-toggle { cursor: pointer; } .main-small-navigation .menu { display: none; } .menu { padding-left: .510204%; } /* =Content ----------------------------------------------- */ .sticky { } .hentry { margin: 0 0 2em; } .entry-meta { clear: both; font-size: 90%; font-family: 'roboto', arial, sans-serif; color: #2e2e2e; border-bottom: 1px solid gainsboro; padding-bottom: 1%; } .entry-meta a{ font-family: 'Open Sans', sans-serif; color: #2e2e2e; } footer.entry-meta { padding: 0 1% 1% 1%; border-bottom: 0; } .byline { display: none; } .single .byline, .group-blog .byline { display: inline; } .entry-summary { } .entry-content { padding: 2% 1% 0 1%; font-family: 'Open Sans', sans-serif; } .entry-content p{ padding-bottom: 3%; } .entry-header, .page-header { padding: 0 1% 0% 1%; } .archive.category h1.page-title { color:#f0f0f0; background-color:#404040; padding: 0 0 0 1%; margin-bottom: 2%; } .page-links { clear: both; margin: 0 0 1.5em; } /* =Asides ----------------------------------------------- */ /*.blog .format-aside .entry-title, .archive .format-aside .entry-title { display: none; }*/ /*category page excerpts*/ aside { margin-bottom:5%; } h1.entry-title a { color:#404040; text-decoration:none; } h1.entry-title a:hover { text-decoration:underline; } /* =Sharing ----------------------------------------------- */ .sharing { padding:1% 0 1% 0; } .fb-like{ width:100px; } /* =Media ----------------------------------------------- */ .site-header img, .entry-content img, .comment-content img, .widget img { max-width: 100%; /* Fluid images for posts, comments, and widgets */ } .site-header img, .entry-content img, img[class*="align"], img[class*="wp-image-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ } .site-header img, .entry-content 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%; background-color:#f2f2f2; } .wp-caption.aligncenter, .wp-caption.alignleft, .wp-caption.alignright { margin-bottom: 1.5em; } .wp-caption img { display: block; } .wp-caption-text { text-align: center; } .wp-caption .wp-caption-text { margin: 0.8075em 0; padding-left: .8075em; font-size: 90%; padding-bottom: 0; text-align: left; } .site-content .gallery { margin-bottom: 1.5em; } .gallery-caption { } .site-content .gallery a img { border: none; height: auto; max-width: 90%; } .site-content .gallery dd { margin: 0; } .site-content .gallery-columns-4 .gallery-item { } .site-content .gallery-columns-4 .gallery-item img { } /* Make sure embeds and iframes fit their containers */ embed, iframe, object { max-width: 100%; } /* =Navigation ----------------------------------------------- */ .site-content .site-navigation { margin: 0 0 1.5em; overflow: hidden; padding: 2em 1% 0 1%; border-top:1px solid gainsboro; } .site-content .nav-previous { float: left; width: 50%; text-decoration:none; } .site-content .nav-next { float: right; text-align: right; width: 50%; } .site-content .nav-next a, .site-content .nav-previous a { text-decoration:none; font-size: 90%; font-family: 'roboto', Helvetica, Arial, serif; letter-spacing: 0px; } #nav-above{ display:none; } /* =Footer ----------------------------------------------- */ .site-footer{ height:auto; margin-top: 1%; position:absolute; bottom:0; width: 980px; overflow:auto; position: relative; clear:both; font-family: 'Open Sans', Helvetica, Arial, serif; color: #f0f0f0; text-shadow: 0 1px 1px #000; } .site-footer ul{ font-family: Helvetica, Arial, serif; } .site-footer li{ font-size: 12px; } .site-info { padding: 1%; float:right; font-size: .75em; } .site-footer .span_1_of_3 { padding: 7px; border: 0; background: 0; } .site-footer h1.widget-title { border: none; text-transform: none; font-size: 1.25em; font-weight: 100; margin-bottom: 1em; font-family: 'roboto', Helvetica, Arial, serif; padding-left:0; } .site-footer a { font-family: 'roboto', Helvetica, Arial, serif; color: #f0f0f0; } .site-footer .widget, .site-footer .widget.widget_categories a, .site-footer .widget.widget_recent_entries a, .site-footer .widget.widget_pages a { margin-bottom: 15px; color: #f0f0f0; } .site-footer .widget.widget_categories ul, .site-footer .widget.widget_recent_entries ul, .site-footer .widget.widget_pages ul, .site-footer ul#recentcomments{ margin: 10px 0 0 0px; font-family: 'roboto', Helvetica, Arial, serif; list-style-type:none; } .site-footer .widget.widget_categories a, .site-footer .widget.widget_recent_entries a, .site-footer .widget.widget_pages a { margin-left: 0; } .site-footer .widget.widget_categories li, .site-footer .widget.widget_recent_entries li{ list-style-type:none; } .span_1_of_4{ width: 20%; float:left; display:inline; margin-bottom: 1%; margin-right: 1.33%; color: #f0f0f0; padding: 2%; } .span_1_of_4.end{ margin-right:0; } .span_1_of_4 a, .span_1_of_4 li, .span_1_of_4 .widget{ } .span_1_of_4 a:hover{ text-decoration:none; color: white; } form#searchform input#searchsubmit[type="submit"]{ display:none; } /* =Comments ----------------------------------------------- */ .bypostauthor { } .comment { background: #f5f5f5; margin: 0 0 2% 0; padding: 1%; } li.comment { box-shadow: 0px 0px 2px #888; } p.logged-in-as { padding-left: 5%; } .comment ul { list-style: none; } .comment ul.children li { box-shadow:none; } /* =Functions ----------------------------------------------- */ #related_posts { padding: 2% 1% 0 1%; line-height: 1.1; } #related_posts li { float:left; margin-right: 2%; margin-bottom: 5%; text-align: center; width: 20%; } #related_posts ul { margin: 0; list-style: none; padding-top: 2%; } #related_posts a { text-decoration: none; font-size: .75em; color:#5f6062; } #related_posts a:hover { text-decoration: underline; } #related_posts h3{ line-height: 1; } #related_posts img { border: 1px solid #404040; width: 110px; height: 75px; } /* =Widgets ----------------------------------------------- */ .span_1_of_3 .widget, .rightsidetop .widget { margin-bottom:3%; border: 7px solid white; background: white; } .widget-title { display: block; font-weight: 700; text-align: left; padding-bottom: 10px; height: 12px; font-size: 14px; margin-bottom: 0px; text-transform: uppercase; padding-right: 30px; padding-left:7px; font-family:inherit; } .widget-content{ padding:10px; font-size: 12px; text-align:left; line-height: 1.3em; } /* CUSTOM Recent Posts with Thumbnail widget */ .widget.recentpostthumb li, .widget.postsfromcat-thumb li { list-style-type: none; padding-top: 10px; border-bottom: 1px solid #d6d6d6; display:table; padding-bottom: 10px; width: 100%; } .widget.recentpostthumb img, .widget.postsfromcat-thumb img{ float: left; padding: 2px; margin-right: 15px; display: table-cell; max-width: 80px; } .widget.recentpostthumb h4, .widget.postsfromcat-thumb h4{ font-size: 16px; line-height: 20px; display:block; clear:none; margin-bottom:5px; font-family: 'roboto', Helvetica, Arial, serif; } .widget.recentpostthumb a, .widget.postsfromcat-thumb a{ text-decoration: none; } .widget.recentpostthumb a:hover, .widget.postsfromcat-thumb a:hover { text-decoration: underline; background-color: transparent; } .widget.recentpostthumb p, .widget.postsfromcat-thumb p { font-size: 12px; margin: 0 7px 5px 0; line-height: 1.2; } .widget.postsfromcat-thumb ul { margin: 0; } p.widget-date { font-size: 10px; color: dimgrey; } #thumbnail{ display: block; position: relative; } #inner{ display: block; padding: 0; } /* CUSTOM Posts from a Category widget*/ .widget.postsfromcat li{ list-style-type:none; padding-top:7px; padding-bottom:7px; line-height: 13px; font-size: 15px; border-bottom: 1px solid #d6d6d6; padding-right:10px; } .widget.postsfromcat ul { margin: 0px 0 0 0; padding: 5 0 10 0; } .widget.postsfromcat a { text-decoration: none; background-color: transparent; font-family: 'roboto', Helvetica, Arial, serif; padding-left:5px; } a.morenews { float:right; text-transform: uppercase; color: dimgrey; font-size: 12px; font-weight:normal; padding-right: 10px; padding-top: 5px; } .widget.postsfromcat a.morenews:hover { text-decoration: underline; color: dimgrey; } .widget.postsfromcat a:hover { text-decoration: underline; background-color: transparent; } .widget.widget_categories ul, .widget.widget_recent_entries ul, .widget.widget_pages ul, ul#recentcomments{ margin: 10px 0 0 20px; font-family: 'roboto', Helvetica, Arial, serif; } .widget.widget_pages ul{ list-style-type:square; padding-bottom:5px; line-height: 18px; } .widget.widget_categories li, .widget.widget_recent_entries li{ list-style-type:square; padding-bottom:5px; line-height: 13px; font-size: 12px; } .widget.widget_categories a, .widget.widget_recent_entries a, .widget.widget_pages a { text-decoration: none; background-color: transparent; color: #001f63; margin-left: -5px; } .widget.widget_categories a:hover, .widget.widget_recent_entries a:hover, .widget.widget_pages a:hover{ text-decoration: underline; background-color: transparent; color: #001f63; } /* CUSTOM Single Posts*/ post-1.post.single-post-widget.size-medium{ border-right: 1px solid #dcdfe2; border-left: 1px solid #dcdfe2; border-bottom: 1px solid #dcdfe2; } .widget.widget_singlepostwidget h1.widget-title{ display: none; } .post-thumb { height: 124px; overflow: hidden; } .post-thumb img { width:100%; } .post-title { padding: 8px 4px 4px 8px; } .post-title a { font-size: 14px; line-height: 1.2; text-overflow: ellipsis; font-weight: bold; text-decoration:none; } .post-title a:hover{ text-decoration: underline; background-color: transparent; color: #001f63; } .post-excerpt { padding: 0 6px 8px 8px; font-size: 12px; line-height: 1.2; } /* =Structure ----------------------------------------------- */ .site { margin: 0 auto; max-width: 980px; } /* =Home Page ----------------------------------------------- */ .page-template-default .site-main, .single .site-main, .category .site-main, .archive .site-main, .search .site-main, .page-template-full-width-page-php .hfeed .site-main, .site-content{ clear: both; margin-bottom: 1%; float:left; background-color:white; padding: 1%; width: 98%; } #featured { width: 100%; margin-bottom: 1%; display:table; clear: both; } #featured.span_1_of_3 .widget, .rightsidetop .widget { line-height: 1; } .layout{ float: left; display:inline; margin-bottom: 0; } .leftwidgets { border: 0; width: 67%; } .rightwidgets { width: 32.1%; display:table; float:right; } .leftside{ width: 65.7%; border: 7px solid white; } .rightsidebar{ width: 30.8%; display:table; float:right; } .rightsidebar.bottom{ margin-top:7px; } .rightsidebottom { width: 100%; display:table; background-color:white; } .span_3_of_3 { width: 100%; } .span_2_of_3 { width: 66.1%; } .span_1_of_3 { width: 49.24%; float:left; display:inline; margin-bottom: 1%; } .middle { margin-right: 0; margin-left: 10px; } .right { margin-right: 0 !important; margin-left: 0 !important; width: 100%; float:right; } .commentlist{ list-style: none; background:#f0f0f0; margin:1% 0 1% 0; } .comment img { float:left; padding-right: 1%; display: none; } .comment-author.vcard { padding-top:1%; } .comment .says { display:none } .comment cite.fn{ font-weight: 700; } .comment-meta.commentmetadata{ padding-bottom:1%; } .comment-content { padding-top:1%; } .comments-title{ padding: 1%; font-size: 18px; } /* Searchbox Style */ .header-search { float: right; height: 0px; position: relative; top: -40px; right: 0; } .search-text { float: left; display: block; height:30px; width:160px; } /* Responsiveness */ @media only screen and (max-width: 960px) { .span_1_of_3 { width: 100%; float:left; margin-right: 1%; display:inline; } .widget.widget_singlepostwidget{ width:319px; } .site-main{e background-color:#f0f0f0; } .site-footer{ width:100%; } input#searchsubmit[type="submit"] { float:none; } } @media only screen and (min-width: 768px) { .content-area { width: 66.5%; } .widget-area { width: 31.25%; padding-left: 2% } .span_1_of_4.end { float:right; } .single.site-main { background-color:#f0f0f0; padding:1% } #primary, #secondary { float:left; } #secondary { padding: 1% 1% 0 0; float:right; } .site-footer input#s[type=text] { border: 1px solid #ccc; border-radius:0; margin-right: 0px; width: 90%; } } @media only screen and (max-width: 768px) { .span_3_of_3 { width: 100%; } .span_2_of_3 { width: 100%; } .span_1_of_3 { width: 98%; border: 0; padding: 1%; } .span_1_of_4 { width: 98%; border: 0; padding-left: 3%; } .section.group{ margin-top: 1%; } #secondary { padding: 2%; } .layout{ border: 0; } .right { margin-bottom: 0; } .leftside { width: 100%; } .leftwidgets, .rightwidgets{ width: 100%; } .site-footer{ width:100%; } .rightsidebar { width: 98%; height:auto; float:left; } .rightsidetop { padding: 1%; } .rightsidebar.bottom{ margin-top: 1%; } .rightsidebottom { width: 98%; } .ads { float:left; } .hentry{ list-style: none; background: white; box-shadow: 0 0 5px rgba(0,0,0,0.2); padding: 1%; margin:2% 0 2% 0; } .page-header { padding: 0; } .commentlist{ margin: 1%; } .entry-content, .entry-header { padding: 2%; } .comment img { float:left; padding-right: 2%; } .comment-author.vcard { padding-top:2%; } .comment cite.fn{ font-weight: 700; } .comment-meta.commentmetadata{ padding-bottom:2%; } .comment-content { padding-top:2%; } #related_posts a{ space:nowrap; } #related_posts img { } .header-search { float: left; position: static; width: 100%; margin: 10px auto 50px auto } .middle { margin-right: 0; margin-left: 0px; } .site-content .site-navigation { border-top: none; } hgroup { text-align: center; } input#searchsubmit[type="submit"] { background-color: #4d90fe; font-size:12px; display: none; } input#s[type=text] { font-size: 16px; width:90%; height: auto; } #mobi-menu { background: url("images/mobile-menu-icon.png") no-repeat scroll 0 0 transparent; cursor: pointer; display: inline-block;width: 100%; visibility: visible; padding: 5px 0 5px 0px; height: 25px; font-size: 16px;} #mobi-menu h1 {margin: 0px 12px 0px 12px; font-size: 100%; font-family: 'roboto', Helvetica, Arial, serif; color:#f0f0f0; text-transform:uppercase; padding-left: 25px;} .main-navigation { display: none; } .main-navigation li { width: 100%; } .main-navigation ul ul li { display:none; } .main-navigation ul ul{ padding: 0 0 0 0; } h1.site-title{ line-height:1; } } /* Make sure main menu re-appears when scaled up */ @media only screen and (min-width: 769px) { .main-navigation { display: block !important; width:100%; } #dropdown { display: none; visibility: hidden; } } /*DROP DOWN MENU ON SMALLER DEVICES*/ @media only screen and (max-width: 440px) { #mobi-menu { font-size: 14px;} h1.entry-title { font-size:26px; word-break: break-word; } .rightsidebar { width: 100%; } .entry-content , .entry-meta, #respond, .commentlist, #related_posts a { font-size: 14px; letter-spacing: 0px; padding-top: 0; } .comment { margin: 0 0 4% 0; } .commentlist{ margin: 1%; } .comment img { float:left; padding-right: 3%; } .comment-author.vcard { padding-top:3%; } .comment cite.fn{ font-weight: 700; } .comment-meta.commentmetadata, #related_posts h3{ padding-bottom:3%; } p { line-height:20px; } } @media only screen and (max-width: 400px) { .rightsidetop { width: 98%; margin-bottom: 1%; float:none; padding: 1%; height:auto; } .rightsidebottom{ width: 90%; float:none; padding: 5%; } .post-thumb { width:100%; height: 124px; overflow: hidden; } .widget.widget_singlepostwidget{ width:100%; border:none; } .site-footer .span_1_of_3 { padding: 1%; } input[type="submit"] { margin-top: 3%; margin-bottom: 3%; } footer.entry-meta { padding: 0 3% 3% 3%; } .archive.category h1.page-title{ padding: 0 0 0 3%; } .entry-meta{ margin-bottom: 5%; padding-bottom: 3%; } .relatedthumb { display:none; } #related_posts li { width: 100%; text-align: left; margin-bottom: 0; float: none; } } /* Grouping */ .group:before, .group:after { content:""; display:table; } .group:after { clear:both; } .group { zoom:1; /* For IE 6/7 (trigger hasLayout) */ }