diff --git a/fonts/bereitbold-oblique.otf b/fonts/bereitbold-oblique.otf new file mode 100644 index 0000000..1b29178 Binary files /dev/null and b/fonts/bereitbold-oblique.otf differ diff --git a/fonts/bereitbold-oblique.woff b/fonts/bereitbold-oblique.woff new file mode 100644 index 0000000..f7af9ca Binary files /dev/null and b/fonts/bereitbold-oblique.woff differ diff --git a/fonts/bereitbold-oblique.woff2 b/fonts/bereitbold-oblique.woff2 new file mode 100644 index 0000000..b973ade Binary files /dev/null and b/fonts/bereitbold-oblique.woff2 differ diff --git a/functions.php b/functions.php index e217c5b..a33a690 100644 --- a/functions.php +++ b/functions.php @@ -1,7 +1,57 @@ esc_html__( 'Schwarz', 'jkb' ), + 'slug' => 'black', + 'color' => '#000000', + ], + [ + 'name' => esc_html__( 'Weiß', 'jkb' ), + 'slug' => 'white', + 'color' => '#ffffff', + ], + [ + 'name' => esc_html__( 'Pistazie', 'jkb' ), + 'slug' => 'pistachio', + 'color' => '#a0c864', + ], + [ + 'name' => esc_html__( 'Sonneblume', 'jkb' ), + 'slug' => 'sunflower', + 'color' => '#ffe100', + ], + [ + 'name' => esc_html__( 'Moos', 'jkb' ), + 'slug' => 'moss', + 'color' => '#145f32', + ], + [ + 'name' => esc_html__( 'Lachs', 'jkb' ), + 'slug' => 'salmon', + 'color' => '#f06464', + ], + ] + ); +} +add_action( 'after_setup_theme', 'jkb_add_custom_gutenberg_color_palette' ); diff --git a/images/body_bg-pistazie.png b/images/body_bg-pistazie.png new file mode 100644 index 0000000..159a3fb Binary files /dev/null and b/images/body_bg-pistazie.png differ diff --git a/login.css b/login.css new file mode 100644 index 0000000..64e0837 --- /dev/null +++ b/login.css @@ -0,0 +1,28 @@ +/* +Theme Name: KV Rostock +Theme URI: https://git.verdigado.com/dirk.ruediger/jkb-kv-hro +Description: Child Theme fuer KV Rostock, based on "Joseph knows Best" +Author: Dirk Ruediger, Henning Wuestemann +Author URI: https://verdigado.com +Template: Joseph-knows-best +Version: 0.0.1 +Text Domain: jkb-kv-hro +Tags: child, childtheme, child-theme, two-columns, green, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, custom-menu, theme-options, featured-images, storytelling +License: GNU General Public License v3 or later +License URI: http://www.gnu.org/licenses/gpl-3.0.html + +*/ + +body.login { + background: #559448 url(images/body_bg-pistazie.png) top center repeat fixed !important; + font-family: "BereitBold-Oblique", Trebuchet, "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif !important; +} + +body.login form label, +body.login #login a, +body.login #login p#nav a, +body.login #login p#backtoblog a{ + color: #145f32 !important; + text-shadow: 0 0 0; +} + diff --git a/sidebar.php b/sidebar.php new file mode 100755 index 0000000..83b2347 --- /dev/null +++ b/sidebar.php @@ -0,0 +1,9 @@ + diff --git a/style.css b/style.css index 5465486..70dfd71 100644 --- a/style.css +++ b/style.css @@ -13,6 +13,174 @@ License URI: http://www.gnu.org/licenses/gpl-3.0.html */ -.p-8 { - padding: 2em; +@font-face { + font-family:"BereitBold-Oblique"; + src: url("fonts/bereitbold-oblique.woff") format('woff'), + url("fonts/bereitbold-oblique.woff2") format('woff2'); + font-weight: normal; + font-style: normal; } + +body { + background: #559448 url(images/body_bg-pistazie.png) top center repeat fixed !important; +} +body.home article { + background: transparent !important; + box-shadow: none !important; +} + +body.home header h1.landing-title { + display: none; +} + +@media screen { + h1, h2, h3, h4, h5, h6, + .nav-main { + font-family: "BereitBold-Oblique", Trebuchet, "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif !important; + } + .nav-main li a { + font-family: "BereitBold-Oblique", Trebuchet, "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif !important; + font-size:34px; + text-transform:uppercase; + text-decoration:none; + line-height:1em + } + .nav-main li.home a { + color: #ffe100; + } + .nav-main ul ul li a { + font-size: 20px; + letter-spacing: 1px; + } + /* + .nav-main > ul > li.menu-item-has-children > a::after { + content: ' ^ '; + transform: rotate(180deg); + } + */ + #footer { + background-color: #1e193b !important; + background-image: none !important; + padding: 70px 0; + } + #footer * { + color: white; + } + #footer a, #footer a:hover, #footer a:visited, #footer a:active { + color: #ffe100 !important; + } +} + +#tribe-events-content .tribe-block__event-website a { + background-color: var(--e-global-color-accent); + color: #FFFFFF; +} + +.wp-block-latest-posts li::before, +.tribe-events .hentry ul li::before { + content: none !important; +} +.wp-block-latest-posts li img.size-large, +.wp-block-latest-posts li img.size-full { + width: 100% !important; +} + +.has-black-color { + color: #000000 !important;; +} +.has-white-color { + color: #ffffff !important;; +} +.has-pistachio-color { + color: #a0c864 !important;; +} +.has-sunflower-color { + color: #ffe100 !important;; +} +.has-moss-color { + color: #145f32 !important;; +} +.has-salmon-color { + color: #f06464 !important;; +} + +.has-black-background-color { + background-color: #000000 !important;; +} +.has-white-background-color { + background-color: #ffffff !important;; +} +.has-pistachio-background-color { + background-color: #a0c864 !important;; +} +.has-sunflower-background-color { + background-color: #ffe100 !important;; +} +.has-moss-background-color { + background-color: #145f32 !important;; +} +.has-salmon-background-color { + background-color: #f06464 !important;; +} + +.m-1 { + margin: .25rem; +} +.m-2 { + margin: .5rem; +} +.m-4 { + margin: 1rem; +} +.m-8 { + margin: 2rem; +} +.mt-0 { + margin-top: 0; +} +.mt-1 { + margin-top: .25rem; +} +.mt-2 { + margin-top: .5rem; +} +.mt-4 { + margin-top: 1rem; +} +.mt-8 { + margin-top: 2rem; +} +.mb-0 { + margin-bottom: 0; +} +.mb-1 { + margin-bottom: .25rem; +} +.mb-2 { + margin-bottom: .5rem; +} +.mb-4 { + margin-bottom: 1rem; +} +.mb-8 { + margin-bottom: 2rem; +} + +.p-1 { + padding: .25rem; +} +.p-2 { + padding: .5rem; +} +.p-4 { + padding: 1rem; +} +.p-8 { + padding: 2rem; +} + +.text-right { text-align: right;} + +.float-left { float: left; } +.float-right { float: right; } +.float-none { float: none; }