optimized file layout; added legacy variant; …
This commit is contained in:
parent
2500dc94f6
commit
f096c97b16
13 changed files with 676 additions and 214 deletions
3
scss/import/_colors.scss
Normal file
3
scss/import/_colors.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
$blau: rgb(70, 136, 222);
|
||||
$blau-light: rgb(110, 176, 255);
|
||||
$grau: rgb(155, 155, 170);
|
1
scss/import/_globalnav.scss
Normal file
1
scss/import/_globalnav.scss
Normal file
|
@ -0,0 +1 @@
|
|||
|
22
scss/import/blog-meta.scss
Normal file
22
scss/import/blog-meta.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
Theme Name: Twenty Twenty Child
|
||||
Text Domain: twentytwenty-child
|
||||
Template: twentytwenty
|
||||
Version: 1.0
|
||||
Requires at least: 4.7
|
||||
Requires PHP: 5.2.4
|
||||
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
|
||||
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Theme URI: https://wordpress.org/themes/twentytwenty/
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
All files, unless otherwise stated, are released under the GNU General Public
|
||||
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
|
||||
|
||||
This theme, like WordPress, is licensed under the GPL.
|
||||
Use it to make something cool, have fun, and share what you've learned
|
||||
with others.
|
||||
*/
|
105
scss/import/blog.scss
Normal file
105
scss/import/blog.scss
Normal file
|
@ -0,0 +1,105 @@
|
|||
// Ueberschriften: kleiner
|
||||
h1 {
|
||||
font-size: 3rem !important;
|
||||
}
|
||||
h2 {
|
||||
font-size: 3rem !important;
|
||||
}
|
||||
h3 {
|
||||
font-size: 2.5rem !important;
|
||||
}
|
||||
h4 {
|
||||
font-size: 2rem !important;
|
||||
}
|
||||
h5 {
|
||||
font-size: 1.5rem !important;
|
||||
}
|
||||
|
||||
// Links: blau statt default pink
|
||||
.post-inner a {
|
||||
color: #6db0ff !important;
|
||||
}
|
||||
.related_post a,
|
||||
.post-tags a {
|
||||
color: #979ba9 !important;
|
||||
}
|
||||
.previous-post,
|
||||
.next-post {
|
||||
color: #6db0ff !important;
|
||||
}
|
||||
.footer-menu-wrapper a {
|
||||
color: #6db0ff !important;
|
||||
}
|
||||
|
||||
// Button: »Weiterlesen« && »Kommentar abschicken«
|
||||
.faux-button,
|
||||
.submit {
|
||||
background: $blau !important;
|
||||
padding: 0.5em 2.2em !important; // Groesse aendern
|
||||
text-transform: none !important; // nicht unterstrichen
|
||||
}
|
||||
|
||||
// Button: »Kommentieren«
|
||||
.comment-reply-link {
|
||||
text-transform: none !important;
|
||||
background: $blau !important; // Farbe: blau
|
||||
}
|
||||
|
||||
// Autor im Beitragsheader ausblenden */
|
||||
.post-author.meta-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.footer-nav-widgets-wrapper {
|
||||
.footer-widgets-outer-wrapper {
|
||||
.footer-widgets-wrapper {
|
||||
.footer-widgets {
|
||||
.widget_nav_menu {
|
||||
.widget-content {
|
||||
.menu-datenschutz-impressum-faq-container {
|
||||
.menu {
|
||||
.menu-item {
|
||||
a {
|
||||
color: $blau-light !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.widget.widget_tag_cloud {
|
||||
.widget-content {
|
||||
.tagcloud {
|
||||
a.tag-cloud-link {
|
||||
color: $grau !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Lightbox Plugin
|
||||
#slb_viewer_wrap {
|
||||
#slb_viewer_slb_default {
|
||||
.slb_viewer_layout {
|
||||
.slb_container {
|
||||
padding: 0 !important; // kein Rand
|
||||
box-shadow: none !important; // kein »glow« bzw. Schatten
|
||||
.slb_details {
|
||||
.inner {
|
||||
.slb_data {
|
||||
.slb_data_content {
|
||||
.slb_data_title {
|
||||
margin: 10px 20px 5px 20px; // gleichmaessiger Rand
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1
scss/import/wiki.scss
Normal file
1
scss/import/wiki.scss
Normal file
|
@ -0,0 +1 @@
|
|||
|
Reference in a new issue