Commit 4f65bb46 authored by lucha's avatar lucha Committed by lechuck

updated ZenLite Black Mandarin theme (v. 3.0)

parent 2f842924
......@@ -19,7 +19,7 @@ function zenlite_admin_header_style() {
padding:0;
margin:70px 0 0;
background-color:#000;
background-image:url(images/banner.jpg);
background-image:url(<?php echo get_stylesheet_directory_uri(); ?>/images/banner.jpg);
background-repeat:no-repeat;
background-position:top left;
border-top:3px double #999;
......@@ -57,13 +57,3 @@ function zenlite_admin_header_style() {
</style>
<?php
}
function black_mandarin_thickbox_style() {
$css_file = get_stylesheet_directory() . '/dark-thickbox.css';
$css_url = get_stylesheet_directory_uri() . '/dark-thickbox.css';
if ( file_exists($css_file) && is_attachment() ) {
wp_register_style('dark-thickbox', $css_url, '', '', 'screen');
wp_enqueue_style('dark-thickbox');
}
}
add_action('wp_print_styles', 'black_mandarin_thickbox_style');
/*
Theme Name:ZenLite Black Mandarin
Version: 2.0
Theme URI: http://quirm.net
Description: A black & orange child theme for ZenLite.
Version: 3.0
Theme URI: http://quirm.net/zenlite-black-mandarin/
Description: A black & orange child theme for ZenLite 4.
Author: Mel Pedley
Author URI: http://www.blackwidows.co.uk
Author URI: http://blackwidows.co.uk
Template: zenlite
Template Version: 4.0
Tags: one-column, custom-header, black, orange, flexible-width,, theme-options, translation-ready, threaded-comments
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
/* Copyright 2009-2011 Mel P. (email : esmi@quirm.net)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.
You may NOT assume that you can use any other version of the GPL.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA
The license for this software can also likely be found here:
http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Import layout */
......@@ -123,28 +147,26 @@ a:active img, a:focus img {
}
/* MENU */
.sidebar {
.navbar {
border-top:3px double #333;
border-bottom:3px double #333;
}
.sidebar a {
background:#000;
color:#999;
}
.sidebar .current_page_item a,.sidebar .current-cat a,
.sidebar .current-menu-item {
background:#000;
.navbar ul ul,
.navbar ul li:hover,
.navbar ul a:hover {
background:#222;
color:#fff;
}
.sidebar .current_page_item li a,.sidebar .current-cat li a {
background:#000;
.navbar ul a {
color:#999;
}
.sidebar a:hover {
background:#999;
color:#000;
.navbar .current_page_item > a,
.navbar .current-cat > a,
.navbar .current-menu-item > a {
color:#fff;
}
.sidebar a:active,.sidebar a:focus {
.navbar a:active,
.navbar a:focus {
background:#D47218;
color:#000;
}
......@@ -154,11 +176,14 @@ a:active img, a:focus img {
background:#000;
color:#999;
}
.postfoot {
border-bottom:3px double #aaa;
#content .hentry {
border-bottom:3px double #333;
}
.single #content .hentry {
border-bottom:none;
}
.author .posts-by {
border-top:3px double #aaa;
border-top:3px double #333;
}
.single {
border:none;
......@@ -184,7 +209,84 @@ a:active img, a:focus img {
list-style:none;
}
/* page tree */
.page-tree {
background-color:#111;
}
/* Post Formats */
.format-audio a img,
.format-chat a img,
.format-gallery a img,
.format-image a img,
.format-status a img {
border:none;
-moz-box-shadow:0 0 0 rgba(0,0,0,0);
-webkit-box-shadow:0 0 0 rgba(0,0,0,0);
-box-shadow:0 0 0 rgba(0,0,0,0);
}
.single .format-audio {
background:url(images/audio.png) no-repeat right top;
}
.single .format-chat {
background-image:none;
}
.format-link .post-title a {
background:url(images/link.png) no-repeat right top;
}
.format-video .more-link a {
background:url(images/video.png) no-repeat right top;
}
.format-quote .postcontent {
background:#111 url(images/quotes.png) no-repeat left top;
border:4px solid #111;
-moz-border-radius:20px;
-webkit-border-radius:20px;
border-radius:20px;
}
.format-quote .postcontent .inner {
background:url(images/quotes2.png) no-repeat right bottom;
}
.format-quote .postcontent blockquote {
border:none;
}
.format-chat .postcontent {
background:url(images/paper.png);
border-width:1px 2px 2px 1px;
border-style:solid;
border-color:#111 #141414 #141414 #111;
padding-bottom:16px;
}
.single .format-image img {
border:10px solid #222;
-moz-border-radius:3px;
-khtml-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
}
.single .format-image a:hover img {
border-color:#333;
}
.single .format-image a:active img,
.single .format-image a:focus img {
border-color:#f93;
}
.format-gallery .more-link img,
.format-image .more-link img {
border-width:5px;
}
/* pagination */
.prevnext .next a {
background-image:url(images/left.png);
background-repeat:no-repeat;
background-position:left center;
}
.prevnext .prev a {
background-image:url(images/right.png);
background-repeat:no-repeat;
background-position:right center;
}
.page-numbers a,.pagelist a {
background-color:#222;
color:#aaa;
......@@ -199,11 +301,6 @@ a:active img, a:focus img {
color:#000;
}
/* page tree */
.page-tree {
background-color:#111;
}
/* COMMENTS */
#commentlist .even {
background-color:#111;
......@@ -251,3 +348,6 @@ a:active img, a:focus img {
background:#D47218;
color:#000;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment