/* Theme Name: BestRespo Theme URI: http://bestrespo.tk/ Description: A beautiful, responsive theme for WordPress sites. Author: Adi Pratama Author URI: http://www.bestrespo.tk Version: 1.0 Tags: light, white, gray, red, orange, yellow, green, blue, purple, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-menu, featured-images, full-width-template, theme-options, threaded-comments License: GNU General Public License v2.0 License URI: http://gnu.org/licenses/gpl-2.0.html */ @import url("oldstyle.css"); /* Ad sections */ .ad1.hp { text-align: center; position: relative; top: -12px; } .ad1.gr { text-align: center; padding: 8px 0; } .ad2 { float:left; margin: 12px 10px 10px 0; } /* Main Navigation */ #primary-nav, #primary-nav ul { margin: 0; padding: 0; list-style: none; list-style-type : none; list-style-position: outside; } #primary-nav { width: 805px; display: table-cell; } .nosearch #primary-nav { width:980px; } #header nav { width: 100%; position: relative; bottom: -16px; 500. margin: 0 0 16px 0; background: # C32420 url("images/nav-red.png") repeat-x 0 top; background: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#C32420) ,color-stop(100%,#8F050E)); background: -webkit-linear-gradient(#C32420,#8F050E); background: -moz-linear-gradient(#C32420,#8F050E); background: -o-linear-gradient(#C32420,#8F050E); background: -ms-linear-gradient(top, #C32420 0%,#8F050E 100%); background: linear-gradient(#C32420,#8F050E); -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.35); -webkit-box-shadow : 0 2px 10px rgba(0,0,0,0.35); box-shadow: 0 2px 10px rgba(0,0,0,0.35); display: block; } #primary-nav:before, #primary-nav:after { /*content: "";*/ display: table; } #primary-nav:after { clear: both; } #primary-nav { zoom:1; } #primary-nav li { float: left; border-right: 1px solid #7B0D0F; position: relative; margin: 0; } #primary-nav a { float: left; padding: 10px 22px; color: #ffffff; text-transform: uppercase; text-decoration: none; text-shadow: 0 1px 0 #000; border-left: 1px solid #B11719; position: relative; } #primary-nav a:hover { background: url ("images/nav-red.png") repeat-x bottom left; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9b1211), color-stop(100%,#760509)); background: -webkit-linear-gradient(top, #9b1211 0%,#760509 100%); background: -moz-linear-gradient(top, #9b1211 0%, #760509 100%); background: -o-linear-gradient(top, #9b1211 0%,#760509 100%); background: -ms-linear-gradient(top, #9b1211 0%,#760509 100%); background: linear-gradient(top, #9b1211, #760509); } #primary-nav > li:first-child > a{ border-left: none; } #primary-nav > li:first-child > a:hover { border-radius: 6px 0 0 6px; } #primary-nav > li:last-child { border-right: 1px solid #B11719; } #primary-nav > li:last-child > a{ border-right: 1px solid #7B0D0F; } #primary-nav ul a { float: none; } #primary-nav ul li { float: none; border-right: 1px solid #B11719; } #primary-nav li:hover > a { color: #ffffff; } *html #primary-nav li a:hover { /* IE6 only */ color: #ffffff; } #primary-nav ul { margin: 0; opacity: 0; visibility: hidden; display: none; position: absolute; left: 0; z-index: 99999; -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -ms-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease- in-out; } #primary-nav > li > ul { top: 50px; } #primary-nav > li > ul { padding-top: 10px; } #primary-nav ul > li:first-child { -moz-box-shadow: 0 -1px #AC1417; -webkit-box-shadow : 0 -1px 0 #AC1417; box-shadow: 0 -1px 0 #AC1417; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } #primary-nav > li:hover > ul { top: 38px; } #primary-nav li:hover > ul { opacity: 1; display: block; visibility: visible; margin: 0; } #primary-nav ul ul { top: 0; left: 163px; margin: 0; } #primary-nav li ul li:hover > ul { left: 153px; } #primary-nav ul li { float: none; display: block; border: 0; _line-height: 0; /*IE6 only*/ border-bottom: 1px solid #B11719; background: #9b1211; width: auto; min-width: 145px; } #primary-nav ul li:last-child { border: none; } #primary-nav ul a { adding: 10px; width: auto; _height: 10px; /*IE6 only*/ display: block; white-space: nowrap; border-left: none; border-bottom: 1px solid #7B0D0F; float: none; text-transform: none; } #primary-nav ul a:hover { background: url("images/nav-red-hover.png") repeat-x bottom left; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9b1211), color-stop(100%,#760509)); background: -webkit-linear-gradient(top, #9b1211 0%,#760509 100%); background: -o-linear-gradient(top, #9b1211 0%,#760509 100%); background: -moz-linear-gradient(top, #9b1211 0%, #760509 100%); background: -ms-linear-gradient(top, #9b1211 0%,#760509 100%); -ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#9b1211, endColorstr=#760509)"; background: linear-gradient(top, #9b1211, #760509); } #primary-nav ul li:first-child > a { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; } #primary-nav > li > ul > li:first-child > a:before, #primary-nav > li > ul > li:first-child > .before { content: ''; position: absolute; left: 15px; width: 15px; height: 10px; top: -30px; padding-top: 20px; border-left: 6px solid transparent; border-right: 6px solid transparent; background: url("images/submenu-arrow.png") no-repeat bottom left; } #primary-nav ul ul li:first-child > a:before, #primary-nav ul ul > li:first-child > .before { content: ''; position: absolute; left: -13px; width: 8px; height: 10px; top: -3px; padding-top: 20px; border-left: 6px solid transparent; border-right: 6px solid transparent; background: url("images/submenu-arrow.png") no-repeat bottom right; } #primary-nav ul li:first-child a:hover:after { border-bottom-color: #7B0D0F; } #primary-nav ul li:last-child > a { -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; } /* Search field */ #search { background: url(images/searchbar-bg.png) no-repeat top left; width: 150px; margin: 7px 18px 0 0; float: right; position: absolute; top: 0; right: 0; height: 25px; } #search input { width: 125px; height: 25px; margin: 0; background: none; padding: 0 0 0 20px; border: none ! important; box-shadow: none; }