diff --git a/functions/customize.php b/functions/customize.php index ac9f91f..9004b00 100644 --- a/functions/customize.php +++ b/functions/customize.php @@ -109,7 +109,8 @@ function comicpress_customize_register( $wp_customize ) { 'boxed' => 'Boxed', 'sandy' => 'Sandy', 'mecha' => 'Mecha', - 'ceasel' => 'CEasel' + 'ceasel' => 'CEasel', + 'high' => 'High Society' ) )); @@ -144,6 +145,8 @@ function comicpress_customize_register( $wp_customize ) { foreach ($css_array as $setting) { $wp_customize->get_setting($setting['slug'])->transport='postMessage'; } + if ($wp_customize->is_preview() && !is_admin()) + add_action('wp_footer', 'comicpress_customize_preview'); } function comicpress_customize_preview() { @@ -245,5 +248,4 @@ function comicpress_customize_wp_head() { $output .= "\r\n\r\n"; echo $output; } - add_action('wp_footer', 'comicpress_customize_preview'); } diff --git a/images/background-high-body.jpg b/images/background-high-body.jpg new file mode 100644 index 0000000..ba82f61 Binary files /dev/null and b/images/background-high-body.jpg differ diff --git a/images/background-high-page-wrap-home.jpg b/images/background-high-page-wrap-home.jpg new file mode 100644 index 0000000..a158b04 Binary files /dev/null and b/images/background-high-page-wrap-home.jpg differ diff --git a/images/background-high-page-wrap.jpg b/images/background-high-page-wrap.jpg new file mode 100644 index 0000000..893de38 Binary files /dev/null and b/images/background-high-page-wrap.jpg differ diff --git a/images/background-high-post.jpg b/images/background-high-post.jpg new file mode 100644 index 0000000..4069fa9 Binary files /dev/null and b/images/background-high-post.jpg differ diff --git a/readme.txt b/readme.txt index 79a4bce..1fa154f 100644 --- a/readme.txt +++ b/readme.txt @@ -19,6 +19,9 @@ Please read information and faqs on comiceasel.com for more information. * fixed the archive - asc/desc setting in the comicpress options * added #pagenav to the customizer for the uentry section for link:hover * style.css added #pagenav to the rounded-style class +* show the customizer jquery ONLY on the customizer page!bugfix +* added high society scheme + = 4.0.2 = * Added toggle to make header text into a hotspot for the entire header image. diff --git a/style.css b/style.css index 336ba35..26dcbb8 100644 --- a/style.css +++ b/style.css @@ -839,7 +839,7 @@ h2.widget-title, h2.widget-title a { .sidebar-no-widgets { color: #000; - margin: 0 auto; + margin: 0 auto 10px; padding: 5px; border: dotted 1px #aaa; background: #ccc; @@ -2093,4 +2093,167 @@ body.scheme-ceasel .sidebar .widget_search, body.scheme-ceasel .sidebar .ceo_co body.scheme-ceasel .sidebar .ceo_comic_archive_dropdown_widget h2.widget-title { display: none; +} + +/* high society - body.scheme-high */ + +body.scheme-high { + color: #fff; + background: #111 url('images/background-high-body.jpg') top center repeat; +} + +body.scheme-high #page { + width: auto; +} + +body.scheme-high #header, +body.scheme-high #menubar-wrapper, +body.scheme-high #breadcrumb-wrapper, +body.scheme-high #subcontent-wrapper, +body.scheme-high #footer-sidebar-wrapper { + width: 982px; + margin: 0 auto; +} + +body.scheme-high #comic-wrap { + width: 982px; + margin: 5px auto!important; + padding: 5px; +} + + +body.layout-2cl.scheme-high #header, +body.layout-2cr.scheme-high #header, +body.layout-2cl.scheme-high #menubar-wrapper, +body.layout-2cr.scheme-high #menubar-wrapper, +body.layout-2cl.scheme-high #breadcrumb-wrapper, +body.layout-2cr.scheme-high #breadcrumb-wrapper, +body.layout-2cl.scheme-high #subcontent-wrapper, +body.layout-2cr.scheme-high #subcontent-wrapper, +body.layout-2cl.scheme-high #footer-sidebar-wrapper, +body.layout-2cr.scheme-high #footer-sidebar-wrapper, +body.layout-2cl.scheme-high #comic-wrap, +body.layout-2cr.scheme-high #comic-wrap { + width: 782px; + margin: 0 auto; +} + +body.scheme-high #page-wrap { + background: url('images/background-high-page-wrap.jpg') top repeat-x; +} + +body.scheme-high a, body.scheme-high a:link, body.scheme-high a:visited, body.scheme-high #wp-calendar a { + color: #f1a616; +} + +body.scheme-high a:hover, body.scheme-high #wp-calendar a:hover { + color: #ffcf00; +} + +body.scheme-high h2.post-title a { + color: #ffcf00; +} + +body.scheme-high h2.post-title a:hover { + color: #fff; +} + +body.scheme-high #header { + height: 130px !important; + overflow: hidden; +} + +body.scheme-high #header h1 a, body.scheme-high #header .description { + text-shadow: 2px 2px 1px #000; + -moz-text-shadow: 2px 2px 1px #000; + -khtml-text-shadow: 2px 2px 1px #000; + -webkit-text-shadow: 2px 2px 1px #000; +} + +body.scheme-high .menu a, body.scheme-high .menunav a, body.scheme-high .comic-nav-base { + text-shadow: 1px 1px 1px #333; + -moz-text-shadow: 1px 1px 1px #333; + -khtml-text-shadow: 1px 1px 1px #333; + -webkit-text-shadow: 1px 1px 1px #333; +} + +body.scheme-high #menubar-wrapper { + background-color: Transparent; + margin-bottom: 5px; +} + +body.scheme-high .menu ul li a:link, body.scheme-high .menu ul li a:visited, body.scheme-high .menunav a:link, body.scheme-high .menunav a:visited { + color: #000; +} + +body.scheme-high .menunav a:hover { + color: #fff; + background-color: Transparent; +} + +body.scheme-high .menunav-rss:hover, body.scheme-high .menu ul li a:hover, body.scheme-high .menu ul li a.selected, body.scheme-high .menu ul li ul li a:link, body.scheme-high .menu ul li ul li a:visited { + color: #fcff00; + background-color: #303030; + -moz-border-radius: 10px; + -khtml-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} + +body.scheme-high .menu ul li ul li a:hover { + color: #fff; + background: #111; +} + +body.scheme-high .uentry, body.scheme-high .sidebar h2, body.scheme-high #wp-calendar-wrap, body.scheme-high #wp-paginav, body.scheme-high #comment-wrapper, body.scheme-high #pagenav, body.scheme-high table#comic-nav-wrapper, body.scheme-high #comic-wrap { + background: #000 url('images/background-high-post.jpg') repeat; + margin-bottom: 10px; + border: solid 1px #2d1f04; + -moz-border-radius: 10px; + -khtml-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; + -moz-box-shadow: 1px 2px 3px #000; + -webkit-box-shadow: 1px 2px 3px #000; + -khtml-box-shadow: 1px 2px 3px #000; + box-shadow: 1px 2px 3px #000; + margin-right: 3px; +} + +body.scheme-high .post-info { + background: #000; + padding: 0 5px 5px 5px; + border-bottom: solid 1px #2d1f04; + -moz-border-radius: 10px 10px 0 0; + -khtml-border-radius: 10px 10px 0 0; + -webkit-border-radius: 10px 10px 0 0; + border-radius: 10px 10px 0 0; + padding: 3px 5px; +} + +body.scheme-high table#comic-nav-wrapper { + background: #000 url('images/background-high-body.jpg') repeat; +} + +body.scheme-high .sidebar h2 { + padding: 2px 8px 3px; + font-weight: 400; + letter-spacing: 0; +} + +body.scheme-high #blogheader { + border-color: #2d1f04; + width: 80%; + -moz-box-shadow: 1px 2px 1px #000; + -webkit-box-shadow: 1px 2px 1px #000; + -khtml-box-shadow: 1px 2px 1px #000; + box-shadow: 1px 2px 1px #000; +} + +body.scheme-high .post-image img { + border: solid 1px #000; + -moz-border-radius: 10px 10px 0 0; + -khtml-border-radius: 10px 10px 0 0; + -webkit-border-radius: 10px 10px 0 0; + border-radius: 10px 10px 0 0; } \ No newline at end of file