관리-도구
편집 파일: style.php
<?php header('Content-type: text/css'); header("Cache-Control: must-revalidate"); $offset = 72000 ; $ExpStr = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT"; header($ExpStr); require_once("../../../../../wp-load.php"); //Custom options $websitez_custom_options = websitez_get_options(); //$websitez_custom_options = array(); //Default options $websitez_default_options['general'] = array( "font_family" => "Helvetica Neue" ); $websitez_default_options['colors'] = array( "custom_color_light"=>"afbbcb", "custom_color_medium_light"=>"abbdce", "custom_color_dark"=>"6e86a4", "default_link_color"=>"556b00", "custom_post_background"=>"ffffff", "custom_header_logo"=>"f5f5f5" ); $websitez_options = array_merge($websitez_default_options,$websitez_custom_options); ?> body{ background: url("<?php echo $websitez_options['images']['custom_website_background'];?>") repeat; font-family: "<?php echo $websitez_options['general']['font_family'];?>", Helvetica, Arial, sans-serif; } a:link, a:visited{ color: #<?php echo $websitez_options['colors']['default_link_color'];?>; text-decoration: none; } /* Start Header */ #header{ z-index: 50; min-height: 50px; position: fixed; top: 0px; left: 0px; right: 0px; width: 100%; line-height: 48px; /*border-bottom: 1px solid #22374a;*/ text-align: center; /*background: -moz-linear-gradient(bottom, #<?php echo $websitez_options['colors']['custom_color_dark'];?>, #<?php echo $websitez_options['colors']['custom_color_light'];?>);*/ /*background: -webkit-gradient(linear, center bottom, center top, from(#<?php echo $websitez_options['colors']['custom_color_dark'];?>), to(#<?php echo $websitez_options['colors']['custom_color_light'];?>));*/ background: #<?php echo $websitez_options['colors']['custom_color_dark'];?>; } #header .brand{ margin: 0 10px; font-size: 20px; text-align: left; /*text-shadow: #666666 1px 1px 2px;*/ font-weight: bold; font-family: Arial; display: block; color: #<?php echo $websitez_options['colors']['custom_header_logo'];?>; } #header .brand a{ color: #<?php echo $websitez_options['colors']['custom_header_logo'];?>; } #header .logo{ padding: 6px 0px; display: block; overflow: hidden; } #header .rMenu{ float: right; } #header .rMenu .bar{ margin: 10px 12px 0 0; height: 26px; width: 26px; line-height: 25px; /*border: 1px solid rgba(0,0,0, 0.4);*/ -webkit-border-radius: 5px; /*background: -webkit-gradient(linear, left top, left bottom, from(#9fb3cc), to(#5b80ab), color-stop(0.5, #6b8bb2), color-stop(0.51, #597eaa));*/ /*background: -moz-linear-gradient(bottom, #<?php echo $websitez_options['colors']['custom_color_light'];?>, #<?php echo $websitez_options['colors']['custom_color_dark'];?>);*/ /*background: -webkit-gradient(linear, center bottom, center top, from(#<?php echo $websitez_options['colors']['custom_color_light'];?>), to(#<?php echo $websitez_options['colors']['custom_color_dark'];?>));*/ /*-webkit-box-shadow: 0 1px 0 rgba(255,255,255, 0.25), inset 0 1px 1px rgba(0,0,0, 0.2);*/ /*background: #<?php echo $websitez_options['colors']['custom_color_light'];?>;*/ } #header .rMenu .bar i{ margin: 5px auto 0px; } #rbMenu .element h3, #lbMenu .element h3{ /*border-top: 2px solid #<?php echo $websitez_options['colors']['custom_color_dark'];?>;*/ font-size: 12px; color: #666666; margin: 0px; padding: 10px; } #rbMenu .element.home{ background: #<?php echo $websitez_options['colors']['custom_color_dark'];?>; height: 50px; line-height: 46px; font-weight: bold; font-size: 14px; } #rbMenu .element.home a{ color: #<?php echo $websitez_options['colors']['custom_header_logo'];?>; display: block; padding-left: 10px; } /* END HEADER */ /* START CONTENT */ #content{ z-index: 40; position: absolute; top: 0px; left: 0px; right: 0px; width: 100%; } #content #title{ text-transform:uppercase; font-size: 14px; text-shadow: black 1px 1px 1px; color: #<?php echo $websitez_options['colors']['custom_color_dark'];?>; font-weight: bold; background-color: #333; padding: 5px; text-align: center; margin: 0px; } #content.full{ margin-top: 0px; margin-bottom: 0px; } #content.part{ margin-top: 50px; } .content h2{ color: #<?php echo $websitez_options['colors']['custom_color_dark'];?>; } /* END CONTENT */ /* START POSTS */ #posts_container{ } #posts_container a{ text-decoration: none; } #posts_container .the_post{ background-color: #<?php echo $websitez_options['colors']['custom_post_background']; ?>; /*background-image:-webkit-gradient(linear, left top, left bottom, from(#585858), to(#555));*/ /*position: relative;*/ } #posts_container .the_post .slider{ } #posts_container .the_post .slider > a{ height: 150px; opacity: .2; display: block; background-position: center center; background-repeat: no-repeat; width: 40px; } #posts_container .the_post .slider > a.left{ background-image: url("images/left-arrow.png"); } #posts_container .the_post .slider > a.right{ background-image: url("images/right-arrow.png"); } #posts_container .the_post .content{ padding: 10px; } #posts_container .the_post .content h2{ margin: 0px 50px 5px 0px; padding: 0px; font-size: 18px; /*text-shadow: black 1px 1px 1px;*/ color: #<?php echo $websitez_options['colors']['custom_color_dark'];?>; line-height: 25px; } #posts_container .the_post .content p{ margin: 0px; padding: 0px; } #posts_container .the_post .content div.meta{ text-transform:uppercase; font-size: 12px; /*text-shadow: black 1px 1px 1px;*/ color: #999999; margin-right: 25px; } #posts_container .the_post .content div.comments{ float: right; font-size: 12px; /*text-shadow: black 1px 1px 1px;*/ color: #333333; font-weight: bold; } /* END POSTS */