/* Theme Name: Art gallery Theme URI: http://wordpress.org/extend/themes/twentytwelve Author: ch ha tuuu ch Author URI: http://wordpress.org/ Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background. Version: 1.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready Text Domain: twentytwelve This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */ /* =Notes -------------------------------------------------------------- This stylesheet uses rem values with a pixel fallback. The rem values (and line heights) are calculated using two variables: $rembase: 14; $line-height: 24; ---------- Examples * Use a pixel value with a rem fallback for font-size, padding, margins, etc. padding: 5px 0; padding: 0.357142857rem 0; (5 / $rembase) * Set a font-size and then set a line-height based on the font-size font-size: 16px font-size: 1.142857143rem; (16 / $rembase) line-height: 1.5; ($line-height / 16) ---------- Vertical spacing Vertical spacing between most elements should use 24px or 48px to maintain vertical rhythm: .my-new-div { margin: 24px 0; margin: 1.714285714rem 0; ( 24 / $rembase ) } ---------- Further reading http://snook.ca/archives/html_and_css/font-size-with-rem http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/ /* =Reset -------------------------------------------------------------- */ html { height: 100%;} * { margin: 0; padding: 0;} body { font: normal 80% Arial, Helvetica, sans-serif; background: #ccc; color: #000; } p { padding: 0 0 10px 0; color: #1D1D1D; line-height: 1.7em; font-size: 100% } img { border: 0;} h1, h2, h3, h4, h5, h6 { font: normal 175% Arial, Helvetica, sans-serif; color: #1D1D1D; text-shadow: 1px 1px #fff; letter-spacing: -1px; margin: 0 0 10px 0;} h2 { font: normal 165% Arial, Helvetica, sans-serif;} h3 { font: normal 130% Arial, Helvetica, sans-serif; } h4, h5, h6 { margin: 0; padding: 0 0 0px 0; font: normal 150% Arial, Helvetica, sans-serif; color: #FFF; line-height: 1.5em;} h5, h6 { font: normal 95% Arial, Helvetica, sans-serif; color: #888; padding-bottom: 15px;} a, a:hover { color: #1D1D1D; background: transparent; outline: none; text-decoration: none;} a:hover { text-decoration: underline;} ul { margin: 2px 0 22px 30px; line-height: 1.7em; font-style: normal; font-size: 100%;} ol { margin: 8px 0 22px 20px;} ol li { margin: 0 0 11px 0;} #main, #header, #banner, #menubar, #site_content, #footer, #content_grey { margin-left: auto; margin-right: auto;} #main { background: transparent;} #header { width: 920px; height: 120px; background: transparent;} #banner { width: 920px; position: relative; height: 50px; padding: 15px 0 0 0; background: transparent;} #menubar { width: 920px; height: 50px; text-align: center; margin: 0 auto; background: #1D1D1D; background: -moz-linear-gradient(#535353, #1d1d1d); background: -o-linear-gradient(#535353, #1d1d1d); background: -webkit-linear-gradient(#535353, #1d1d1d); border-radius: 15px 15px 15px 15px; -moz-border-radius: 15px 15px 15px 15px; -webkit-border: 15px 15px 15px 15px; -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; } #welcome { width: 880px; float: left; height: 50px; margin: 0 auto; padding-left: 20px; background: transparent;} #welcome_slogan { width: 880px; float: left; height: 50px; margin: 0 auto; padding-left: 20px; background: transparent;} #welcome H1 { font: normal 300% Arial, Helvetica, sans-serif; letter-spacing: -3px; text-shadow: 1px 1px #fff; color: #1D1D1D;} #welcome_slogan H1 { font: normal 200% Arial, Helvetica, sans-serif; letter-spacing: -2px; text-shadow: 1px 1px #fff; color: #535353;} ul#menu { margin:0;} ul#menu li { padding: 0 0 0 0px; list-style: none; margin: 2px 0 0 0; display: inline; background: transparent;} ul#menu li a { float: left; font: bold 120% Arial, Helvetica, sans-serif; height: 24px; margin: 10px 0 0 20px; text-shadow: 0px -1px 0px #000; padding: 6px 20px 0 20px; background: transparent; border-radius: 7px 7px 7px 7px; -moz-border-radius: 7px 7px 7px 7px; -webkit-border: 7px 7px 7px 7px; text-align: center; color: #FFF; text-decoration: none;} ul#menu li.current a { color: #1D1D1D; background: #FFF; background: -moz-linear-gradient(#fff, #ccc); background: -o-linear-gradient(#fff, #ccc); background: -webkit-linear-gradient(#fff, #ccc); text-shadow: none;} ul#menu li:hover a { color: #1D1D1D; background: #FFF; background: -moz-linear-gradient(#fff, #ccc); background: -o-linear-gradient(#fff, #ccc); background: -webkit-linear-gradient(#fff, #ccc); text-shadow: none;} #site_content { width: 920px; overflow: hidden; margin: 0 auto;} .sidebar_container { float: left; margin: 10px 20px 0 0; width: 215px; padding: 0;} .sidebar { float: left; width: 250px; padding: 0; margin-top: 10px; margin-bottom: 10px;} .sidebar_item { font: normal 100% Arial, Helvetica, sans-serif; width: 215px;} .sidebar h2 { padding: 5px 0 0 10px; font: normal 140% Arial, Helvetica, sans-serif; height: 30px; text-shadow: 0px -1px 0px #000; color: #fff; background: #1D1D1D; background: -moz-linear-gradient(#535353, #1d1d1d); background: -o-linear-gradient(#535353, #1d1d1d); background: -webkit-linear-gradient(#535353, #1d1d1d); border-radius: 15px 15px 15px 15px; -moz-border-radius: 15px 15px 15px 15px; -webkit-border: 15px 15px 15px 15px; -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;} #content { width: 680px; margin-bottom: 20px; float: left;} .content_item { width: 680px; margin-top: 20px; margin-bottom: 20px;} .content_image { float: left; width: 150px; height: 150px; margin: 0 20px 10px 0; -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px; box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;} .content_container { width: 320px; padding: 5px; margin-right: 10px; float: left;} #content_grey { width: 920px; height: 160px; text-align: center; background: #1D1D1D; background: -moz-linear-gradient(#535353, #1d1d1d); background: -o-linear-gradient(#535353, #1d1d1d); background: -webkit-linear-gradient(#535353, #1d1d1d); border-radius: 15px 15px 15px 15px; -moz-border-radius: 15px 15px 15px 15px; -webkit-border: 15px 15px 15px 15px; -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px; box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;} #content_grey p { color: #FFF;} #content_grey h4 { text-shadow: none;} .content_grey_container_box { width: 270px; padding: 5px; text-align: center; margin: 20px 10px 10px 10px; float: left;} .content_grey_container_boxl { width: 270px; padding: 5px; text-align: center; margin: 20px 0 10px 10px; float: left;} #footer { width: 920px; height: 20px; padding-top: 20px; text-align: center; background: transparent; text-shadow: 1px 1px #fff; color: #535353;} #footer a, #footer a:hover { color: #535353; text-decoration: none; padding-bottom: 20px;} #footer a:hover { text-decoration: underline;} #footer a, #footer a:hover { color: #535353; text-decoration: none;} #footer a:hover { text-decoration: underline;} .readmore { font: bold 110% Arial, Helvetica, sans-serif; height: 15px; width: 80px; margin-left: 95px; padding: 5px 2px 7px 2px; background: #fff; background: -moz-linear-gradient(#fff, #ccc); background: -o-linear-gradient(#fff, #ccc); background: -webkit-linear-gradient(#fff, #ccc); border-radius: 15px 15px 15px 15px; -moz-border-radius: 15px 15px 15px 15px; -webkit-border: 15px 15px 15px 15px; -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;} .readmore a { color: #1D1D1D;} .button_small { font: normal 110% Arial, Helvetica, sans-serif; height: 15px; width: 80px; padding: 5px 2px 7px 2px; background: #1D1D1D; background: -moz-linear-gradient(#535353, #1d1d1d); background: -o-linear-gradient(#535353, #1d1d1d); background: -webkit-linear-gradient(#535353, #1d1d1d); border-radius: 15px 15px 15px 15px; -moz-border-radius: 15px 15px 15px 15px; -webkit-border: 15px 15px 15px 15px; -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px; box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;} .button_small a { color: #FFF; padding-left: 5px;} .form_settings { margin: 15px 0 0 0;} .form_settings p { padding: 0 0 4px 0;} .form_settings span { float: left; width: 280px; text-align: left;} .form_settings input, .form_settings textarea { padding: 2px; width: 299px; font: 100% arial; border: 1px solid #E5E5DB; background: #FFF; color: #47433F;} .form_settings input[type="checkbox"] { padding: 2px 0; width: 15px; font: 100% arial; border: 0; background: #FFF; color: #47433F; margin: 28px 0;} .form_settings .submit { font: 100% arial; border: 1px solid; width: 99px; margin: 0 0 0 206px; height: 26px; padding: 2px 0 3px 0; cursor: pointer; background: #5082BD; color: #FFF;} /* styling for the slideshow on the homepage */ ul.slideshow { list-style: none; width: 680px; height: 250px; overflow: hidden; position: relative; margin: 0; margin-top: 20px; -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px; box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;} ul.slideshow li { position: absolute; margin: 0; padding: 0; left: 0; right: 0;} ul.slideshow li.show { z-index: 500;} ul img { border: none;} #slideshow-caption { width: 680px; height: 38px; position: absolute; bottom: 0; left: 0; z-index: 500;} #slideshow-caption .slideshow-caption-container { padding: 10px 25px 10px 25px; background: transparent url(../images/transparent.png) repeat; z-index: 1000;} #slideshow-caption p { padding: 0; font: normal 130% arial, sans-serif; color: #FFF;} .wp-caption { max-width: 100%; /* Keep wide captions from overflowing their container. */ padding: 4px; } .wp-caption-text, .gallery-caption, .entry-caption { font-style: italic; font-size: 12px; font-size: 0.857142857rem; line-height: 2; color: #757575; } .sticky .featured-post { border-top: 4px double #ededed; border-bottom: 4px double #ededed; color: #757575; font-size: 13px; font-size: 0.928571429rem; line-height: 3.692307692; margin-bottom: 24px; margin-bottom: 1.714285714rem; text-align: center; } .gallery-caption, .entry-caption { font-style: italic; font-size: 12px; font-size: 0.857142857rem; line-height: 2; color: #757575; } .bypostauthor cite span { position: absolute; margin-left: 5px; margin-left: 0.357142857rem; padding: 2px 5px; padding: 0.142857143rem 0.357142857rem; font-size: 10px; font-size: 0.714285714rem; } .alignleft { float: left; } .alignright { float: right; } .aligncenter { display: block; margin-left: auto; margin-right: auto; }