template-updates
This commit is contained in:
parent
bbdfce831d
commit
a8cdc18f0c
@ -7,12 +7,12 @@
|
|||||||
* @package gruener-salon
|
* @package gruener-salon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( '_S_VERSION' ) ) {
|
if (! defined('_S_VERSION')) {
|
||||||
// Replace the version number of the theme on each release.
|
// Replace the version number of the theme on each release.
|
||||||
define( '_S_VERSION', '1.0.0' );
|
define('_S_VERSION', '1.0.0');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! function_exists( 'gruener_salon_setup' ) ) :
|
if (! function_exists('gruener_salon_setup')) :
|
||||||
/**
|
/**
|
||||||
* Sets up theme defaults and registers support for various WordPress features.
|
* Sets up theme defaults and registers support for various WordPress features.
|
||||||
*
|
*
|
||||||
@ -20,17 +20,18 @@ if ( ! function_exists( 'gruener_salon_setup' ) ) :
|
|||||||
* runs before the init hook. The init hook is too late for some features, such
|
* runs before the init hook. The init hook is too late for some features, such
|
||||||
* as indicating support for post thumbnails.
|
* as indicating support for post thumbnails.
|
||||||
*/
|
*/
|
||||||
function gruener_salon_setup() {
|
function gruener_salon_setup()
|
||||||
|
{
|
||||||
/*
|
/*
|
||||||
* Make theme available for translation.
|
* Make theme available for translation.
|
||||||
* Translations can be filed in the /languages/ directory.
|
* Translations can be filed in the /languages/ directory.
|
||||||
* If you're building a theme based on gruener-salon, use a find and replace
|
* If you're building a theme based on gruener-salon, use a find and replace
|
||||||
* to change 'gruener-salon' to the name of your theme in all the template files.
|
* to change 'gruener-salon' to the name of your theme in all the template files.
|
||||||
*/
|
*/
|
||||||
load_theme_textdomain( 'gruener-salon', get_template_directory() . '/languages' );
|
load_theme_textdomain('gruener-salon', get_template_directory() . '/languages');
|
||||||
|
|
||||||
// Add default posts and comments RSS feed links to head.
|
// Add default posts and comments RSS feed links to head.
|
||||||
add_theme_support( 'automatic-feed-links' );
|
add_theme_support('automatic-feed-links');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Let WordPress manage the document title.
|
* Let WordPress manage the document title.
|
||||||
@ -38,19 +39,19 @@ if ( ! function_exists( 'gruener_salon_setup' ) ) :
|
|||||||
* hard-coded <title> tag in the document head, and expect WordPress to
|
* hard-coded <title> tag in the document head, and expect WordPress to
|
||||||
* provide it for us.
|
* provide it for us.
|
||||||
*/
|
*/
|
||||||
add_theme_support( 'title-tag' );
|
add_theme_support('title-tag');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable support for Post Thumbnails on posts and pages.
|
* Enable support for Post Thumbnails on posts and pages.
|
||||||
*
|
*
|
||||||
* @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
|
* @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/
|
||||||
*/
|
*/
|
||||||
add_theme_support( 'post-thumbnails' );
|
add_theme_support('post-thumbnails');
|
||||||
|
|
||||||
// This theme uses wp_nav_menu() in one location.
|
// This theme uses wp_nav_menu() in one location.
|
||||||
register_nav_menus(
|
register_nav_menus(
|
||||||
array(
|
array(
|
||||||
'menu-1' => esc_html__( 'Primary', 'gruener-salon' ),
|
'menu-1' => esc_html__('Primary', 'gruener-salon'),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -84,7 +85,7 @@ if ( ! function_exists( 'gruener_salon_setup' ) ) :
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Add theme support for selective refresh for widgets.
|
// Add theme support for selective refresh for widgets.
|
||||||
add_theme_support( 'customize-selective-refresh-widgets' );
|
add_theme_support('customize-selective-refresh-widgets');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add support for core custom logo.
|
* Add support for core custom logo.
|
||||||
@ -102,7 +103,7 @@ if ( ! function_exists( 'gruener_salon_setup' ) ) :
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
endif;
|
endif;
|
||||||
add_action( 'after_setup_theme', 'gruener_salon_setup' );
|
add_action('after_setup_theme', 'gruener_salon_setup');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the content width in pixels, based on the theme's design and stylesheet.
|
* Set the content width in pixels, based on the theme's design and stylesheet.
|
||||||
@ -111,22 +112,24 @@ add_action( 'after_setup_theme', 'gruener_salon_setup' );
|
|||||||
*
|
*
|
||||||
* @global int $content_width
|
* @global int $content_width
|
||||||
*/
|
*/
|
||||||
function gruener_salon_content_width() {
|
function gruener_salon_content_width()
|
||||||
$GLOBALS['content_width'] = apply_filters( 'gruener_salon_content_width', 640 );
|
{
|
||||||
|
$GLOBALS['content_width'] = apply_filters('gruener_salon_content_width', 640);
|
||||||
}
|
}
|
||||||
add_action( 'after_setup_theme', 'gruener_salon_content_width', 0 );
|
add_action('after_setup_theme', 'gruener_salon_content_width', 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register widget area.
|
* Register widget area.
|
||||||
*
|
*
|
||||||
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
|
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
|
||||||
*/
|
*/
|
||||||
function gruener_salon_widgets_init() {
|
function gruener_salon_widgets_init()
|
||||||
|
{
|
||||||
register_sidebar(
|
register_sidebar(
|
||||||
array(
|
array(
|
||||||
'name' => esc_html__( 'Sidebar', 'gruener-salon' ),
|
'name' => esc_html__('Sidebar', 'gruener-salon'),
|
||||||
'id' => 'sidebar-1',
|
'id' => 'sidebar-1',
|
||||||
'description' => esc_html__( 'Add widgets here.', 'gruener-salon' ),
|
'description' => esc_html__('Add widgets here.', 'gruener-salon'),
|
||||||
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
||||||
'after_widget' => '</section>',
|
'after_widget' => '</section>',
|
||||||
'before_title' => '<h2 class="widget-title">',
|
'before_title' => '<h2 class="widget-title">',
|
||||||
@ -134,22 +137,23 @@ function gruener_salon_widgets_init() {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
add_action( 'widgets_init', 'gruener_salon_widgets_init' );
|
add_action('widgets_init', 'gruener_salon_widgets_init');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enqueue scripts and styles.
|
* Enqueue scripts and styles.
|
||||||
*/
|
*/
|
||||||
function gruener_salon_scripts() {
|
function gruener_salon_scripts()
|
||||||
wp_enqueue_style( 'gruener-salon-style', get_stylesheet_uri(), array(), _S_VERSION );
|
{
|
||||||
wp_style_add_data( 'gruener-salon-style', 'rtl', 'replace' );
|
wp_enqueue_style('gruener-salon-style', get_stylesheet_uri(), array(), _S_VERSION);
|
||||||
|
wp_style_add_data('gruener-salon-style', 'rtl', 'replace');
|
||||||
|
|
||||||
wp_enqueue_script( 'gruener-salon-navigation', get_template_directory_uri() . '/js/navigation.js', array(), _S_VERSION, true );
|
wp_enqueue_script('gruener-salon-navigation', get_template_directory_uri() . '/js/navigation.js', array(), _S_VERSION, true);
|
||||||
|
|
||||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
if (is_singular() && comments_open() && get_option('thread_comments')) {
|
||||||
wp_enqueue_script( 'comment-reply' );
|
wp_enqueue_script('comment-reply');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_action( 'wp_enqueue_scripts', 'gruener_salon_scripts' );
|
add_action('wp_enqueue_scripts', 'gruener_salon_scripts');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement the Custom Header feature.
|
* Implement the Custom Header feature.
|
||||||
@ -174,7 +178,7 @@ require get_template_directory() . '/inc/customizer.php';
|
|||||||
/**
|
/**
|
||||||
* Load Jetpack compatibility file.
|
* Load Jetpack compatibility file.
|
||||||
*/
|
*/
|
||||||
if ( defined( 'JETPACK__VERSION' ) ) {
|
if (defined('JETPACK__VERSION')) {
|
||||||
require get_template_directory() . '/inc/jetpack.php';
|
require get_template_directory() . '/inc/jetpack.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,12 +2,12 @@
|
|||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: auto;
|
height : auto;
|
||||||
max-width: 100%;
|
max-width : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
margin: 1em 0;
|
margin : 1em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -15,49 +15,23 @@ figure {
|
|||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
.gallery {
|
.gallery {
|
||||||
margin-bottom: 1.5em;
|
margin-bottom : 1.5em;
|
||||||
display: grid;
|
display : grid;
|
||||||
grid-gap: 1.5em;
|
grid-gap : 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery-item {
|
.gallery-item {
|
||||||
display: inline-block;
|
display : inline-block;
|
||||||
text-align: center;
|
text-align : center;
|
||||||
width: 100%;
|
width : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery-columns-2 {
|
@for $i from 2 through 9 {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
.gallery-columns-#{$i} {
|
||||||
}
|
grid-template-columns : repeat(#{$i}, 1fr);
|
||||||
|
}
|
||||||
.gallery-columns-3 {
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gallery-columns-4 {
|
|
||||||
grid-template-columns: repeat(4, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gallery-columns-5 {
|
|
||||||
grid-template-columns: repeat(5, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gallery-columns-6 {
|
|
||||||
grid-template-columns: repeat(6, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gallery-columns-7 {
|
|
||||||
grid-template-columns: repeat(7, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gallery-columns-8 {
|
|
||||||
grid-template-columns: repeat(8, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gallery-columns-9 {
|
|
||||||
grid-template-columns: repeat(9, 1fr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery-caption {
|
.gallery-caption {
|
||||||
display: block;
|
display : block;
|
||||||
}
|
}
|
||||||
@ -1,28 +1,3 @@
|
|||||||
/*!
|
|
||||||
Theme Name: gruener-salon
|
|
||||||
Theme URI: http://underscores.me/
|
|
||||||
Author: Underscores.me
|
|
||||||
Author URI: http://underscores.me/
|
|
||||||
Description: Description
|
|
||||||
Version: 1.0.0
|
|
||||||
Tested up to: 5.4
|
|
||||||
Requires PHP: 5.6
|
|
||||||
License: GNU General Public License v2 or later
|
|
||||||
License URI: LICENSE
|
|
||||||
Text Domain: gruener-salon
|
|
||||||
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
|
|
||||||
|
|
||||||
This theme, like WordPress, is licensed under the GPL.
|
|
||||||
Use it to make something cool, have fun, and share what you've learned.
|
|
||||||
|
|
||||||
gruener-salon is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
|
|
||||||
Underscores is distributed under the terms of the GNU GPL v2 or later.
|
|
||||||
|
|
||||||
Normalizing styles have been helped along thanks to the fine work of
|
|
||||||
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*--------------------------------------------------------------
|
/*--------------------------------------------------------------
|
||||||
>>> TABLE OF CONTENTS:
|
>>> TABLE OF CONTENTS:
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
@ -74,8 +49,8 @@ Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
html {
|
html {
|
||||||
line-height: 1.15;
|
line-height : 1.15;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -88,7 +63,7 @@ html {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -97,7 +72,7 @@ body {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
main {
|
main {
|
||||||
display: block;
|
display : block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -107,8 +82,8 @@ main {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2em;
|
font-size : 2em;
|
||||||
margin: 0.67em 0;
|
margin : 0.67em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -122,9 +97,9 @@ h1 {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
box-sizing: content-box;
|
box-sizing : content-box;
|
||||||
height: 0;
|
height : 0;
|
||||||
overflow: visible;
|
overflow : visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -134,8 +109,8 @@ hr {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-family: monospace, monospace;
|
font-family : monospace, monospace;
|
||||||
font-size: 1em;
|
font-size : 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -148,7 +123,7 @@ pre {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
a {
|
a {
|
||||||
background-color: transparent;
|
background-color : transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -158,9 +133,9 @@ a {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
abbr[title] {
|
abbr[title] {
|
||||||
border-bottom: none;
|
border-bottom : none;
|
||||||
text-decoration: underline;
|
text-decoration : underline;
|
||||||
text-decoration: underline dotted;
|
text-decoration : underline dotted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -170,7 +145,7 @@ abbr[title] {
|
|||||||
|
|
||||||
b,
|
b,
|
||||||
strong {
|
strong {
|
||||||
font-weight: bolder;
|
font-weight : bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -182,8 +157,8 @@ strong {
|
|||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
font-family: monospace, monospace;
|
font-family : monospace, monospace;
|
||||||
font-size: 1em;
|
font-size : 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -192,7 +167,7 @@ samp {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
small {
|
small {
|
||||||
font-size: 80%;
|
font-size : 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -203,18 +178,18 @@ small {
|
|||||||
|
|
||||||
sub,
|
sub,
|
||||||
sup {
|
sup {
|
||||||
font-size: 75%;
|
font-size : 75%;
|
||||||
line-height: 0;
|
line-height : 0;
|
||||||
position: relative;
|
position : relative;
|
||||||
vertical-align: baseline;
|
vertical-align : baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub {
|
sub {
|
||||||
bottom: -0.25em;
|
bottom : -0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
sup {
|
sup {
|
||||||
top: -0.5em;
|
top : -0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -227,7 +202,7 @@ sup {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
img {
|
img {
|
||||||
border-style: none;
|
border-style : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -245,10 +220,10 @@ input,
|
|||||||
optgroup,
|
optgroup,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
font-family: inherit;
|
font-family : inherit;
|
||||||
font-size: 100%;
|
font-size : 100%;
|
||||||
line-height: 1.15;
|
line-height : 1.15;
|
||||||
margin: 0;
|
margin : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -259,7 +234,7 @@ textarea {
|
|||||||
|
|
||||||
button,
|
button,
|
||||||
input {
|
input {
|
||||||
overflow: visible;
|
overflow : visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -270,7 +245,7 @@ input {
|
|||||||
|
|
||||||
button,
|
button,
|
||||||
select {
|
select {
|
||||||
text-transform: none;
|
text-transform : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -282,7 +257,7 @@ button,
|
|||||||
[type="button"],
|
[type="button"],
|
||||||
[type="reset"],
|
[type="reset"],
|
||||||
[type="submit"] {
|
[type="submit"] {
|
||||||
-webkit-appearance: button;
|
-webkit-appearance : button;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -294,8 +269,8 @@ button::-moz-focus-inner,
|
|||||||
[type="button"]::-moz-focus-inner,
|
[type="button"]::-moz-focus-inner,
|
||||||
[type="reset"]::-moz-focus-inner,
|
[type="reset"]::-moz-focus-inner,
|
||||||
[type="submit"]::-moz-focus-inner {
|
[type="submit"]::-moz-focus-inner {
|
||||||
border-style: none;
|
border-style : none;
|
||||||
padding: 0;
|
padding : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -307,7 +282,7 @@ button:-moz-focusring,
|
|||||||
[type="button"]:-moz-focusring,
|
[type="button"]:-moz-focusring,
|
||||||
[type="reset"]:-moz-focusring,
|
[type="reset"]:-moz-focusring,
|
||||||
[type="submit"]:-moz-focusring {
|
[type="submit"]:-moz-focusring {
|
||||||
outline: 1px dotted ButtonText;
|
outline : 1px dotted ButtonText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -316,7 +291,7 @@ button:-moz-focusring,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
padding: 0.35em 0.75em 0.625em;
|
padding : 0.35em 0.75em 0.625em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -328,12 +303,12 @@ fieldset {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
box-sizing: border-box;
|
box-sizing : border-box;
|
||||||
color: inherit;
|
color : inherit;
|
||||||
display: table;
|
display : table;
|
||||||
max-width: 100%;
|
max-width : 100%;
|
||||||
padding: 0;
|
padding : 0;
|
||||||
white-space: normal;
|
white-space : normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -342,7 +317,7 @@ legend {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
progress {
|
progress {
|
||||||
vertical-align: baseline;
|
vertical-align : baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -351,7 +326,7 @@ progress {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
overflow: auto;
|
overflow : auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -362,8 +337,8 @@ textarea {
|
|||||||
|
|
||||||
[type="checkbox"],
|
[type="checkbox"],
|
||||||
[type="radio"] {
|
[type="radio"] {
|
||||||
box-sizing: border-box;
|
box-sizing : border-box;
|
||||||
padding: 0;
|
padding : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -373,7 +348,7 @@ textarea {
|
|||||||
|
|
||||||
[type="number"]::-webkit-inner-spin-button,
|
[type="number"]::-webkit-inner-spin-button,
|
||||||
[type="number"]::-webkit-outer-spin-button {
|
[type="number"]::-webkit-outer-spin-button {
|
||||||
height: auto;
|
height : auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -383,8 +358,8 @@ textarea {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
[type="search"] {
|
[type="search"] {
|
||||||
-webkit-appearance: textfield;
|
-webkit-appearance : textfield;
|
||||||
outline-offset: -2px;
|
outline-offset : -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -393,7 +368,7 @@ textarea {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
[type="search"]::-webkit-search-decoration {
|
[type="search"]::-webkit-search-decoration {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -403,8 +378,8 @@ textarea {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
::-webkit-file-upload-button {
|
::-webkit-file-upload-button {
|
||||||
-webkit-appearance: button;
|
-webkit-appearance : button;
|
||||||
font: inherit;
|
font : inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -417,7 +392,7 @@ textarea {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
details {
|
details {
|
||||||
display: block;
|
display : block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -426,7 +401,7 @@ details {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display : list-item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -439,7 +414,7 @@ summary {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
template {
|
template {
|
||||||
display: none;
|
display : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -448,7 +423,7 @@ template {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
[hidden] {
|
[hidden] {
|
||||||
display: none;
|
display : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -462,11 +437,11 @@ template {
|
|||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
*::after {
|
*::after {
|
||||||
box-sizing: inherit;
|
box-sizing : inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
box-sizing: border-box;
|
box-sizing : border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -484,10 +459,10 @@ input,
|
|||||||
select,
|
select,
|
||||||
optgroup,
|
optgroup,
|
||||||
textarea {
|
textarea {
|
||||||
color: #404040;
|
color : #404040;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
font-family : -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||||
font-size: 1rem;
|
font-size : 1rem;
|
||||||
line-height: 1.5;
|
line-height : 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
@ -496,59 +471,59 @@ h3,
|
|||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
clear: both;
|
clear : both;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: 1.5em;
|
margin-bottom : 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
dfn,
|
dfn,
|
||||||
cite,
|
cite,
|
||||||
em,
|
em,
|
||||||
i {
|
i {
|
||||||
font-style: italic;
|
font-style : italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin: 0 1.5em;
|
margin : 0 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
address {
|
address {
|
||||||
margin: 0 0 1.5em;
|
margin : 0 0 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: #eee;
|
background : #eee;
|
||||||
font-family: "Courier 10 Pitch", courier, monospace;
|
font-family : "Courier 10 Pitch", courier, monospace;
|
||||||
line-height: 1.6;
|
line-height : 1.6;
|
||||||
margin-bottom: 1.6em;
|
margin-bottom : 1.6em;
|
||||||
max-width: 100%;
|
max-width : 100%;
|
||||||
overflow: auto;
|
overflow : auto;
|
||||||
padding: 1.6em;
|
padding : 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
tt,
|
tt,
|
||||||
var {
|
var {
|
||||||
font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
font-family : monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
abbr,
|
abbr,
|
||||||
acronym {
|
acronym {
|
||||||
border-bottom: 1px dotted #666;
|
border-bottom : 1px dotted #666;
|
||||||
cursor: help;
|
cursor : help;
|
||||||
}
|
}
|
||||||
|
|
||||||
mark,
|
mark,
|
||||||
ins {
|
ins {
|
||||||
background: #fff9c0;
|
background : #fff9c0;
|
||||||
text-decoration: none;
|
text-decoration : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
big {
|
big {
|
||||||
font-size: 125%;
|
font-size : 125%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -556,41 +531,41 @@ big {
|
|||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #fff;
|
background : #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
background-color: #ccc;
|
background-color : #ccc;
|
||||||
border: 0;
|
border : 0;
|
||||||
height: 1px;
|
height : 1px;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom : 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin: 0 0 1.5em 3em;
|
margin : 0 0 1.5em 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: disc;
|
list-style : disc;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
list-style: decimal;
|
list-style : decimal;
|
||||||
}
|
}
|
||||||
|
|
||||||
li>ul,
|
li>ul,
|
||||||
li>ol {
|
li>ol {
|
||||||
margin-bottom: 0;
|
margin-bottom : 0;
|
||||||
margin-left: 1.5em;
|
margin-left : 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
dt {
|
dt {
|
||||||
font-weight: 700;
|
font-weight : 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin: 0 1.5em 1.5em;
|
margin : 0 1.5em 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -599,12 +574,12 @@ dd {
|
|||||||
embed,
|
embed,
|
||||||
iframe,
|
iframe,
|
||||||
object {
|
object {
|
||||||
max-width: 100%;
|
max-width : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
margin: 0 0 1.5em;
|
margin : 0 0 1.5em;
|
||||||
width: 100%;
|
width : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -612,26 +587,26 @@ table {
|
|||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #4169e1;
|
color : #4169e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #800080;
|
color : #800080;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover,
|
a:hover,
|
||||||
a:focus,
|
a:focus,
|
||||||
a:active {
|
a:active {
|
||||||
color: #191970;
|
color : #191970;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:focus {
|
a:focus {
|
||||||
outline: thin dotted;
|
outline : thin dotted;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover,
|
a:hover,
|
||||||
a:active {
|
a:active {
|
||||||
outline: 0;
|
outline : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -642,20 +617,20 @@ button,
|
|||||||
input[type="button"],
|
input[type="button"],
|
||||||
input[type="reset"],
|
input[type="reset"],
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
border: 1px solid;
|
border : 1px solid;
|
||||||
border-color: #ccc #ccc #bbb;
|
border-color : #ccc #ccc #bbb;
|
||||||
border-radius: 3px;
|
border-radius : 3px;
|
||||||
background: #e6e6e6;
|
background : #e6e6e6;
|
||||||
color: rgba(0, 0, 0, 0.8);
|
color : rgba(0, 0, 0, 0.8);
|
||||||
line-height: 1;
|
line-height : 1;
|
||||||
padding: 0.6em 1em 0.4em;
|
padding : 0.6em 1em 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover,
|
button:hover,
|
||||||
input[type="button"]:hover,
|
input[type="button"]:hover,
|
||||||
input[type="reset"]:hover,
|
input[type="reset"]:hover,
|
||||||
input[type="submit"]:hover {
|
input[type="submit"]:hover {
|
||||||
border-color: #ccc #bbb #aaa;
|
border-color : #ccc #bbb #aaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active,
|
button:active,
|
||||||
@ -666,7 +641,7 @@ input[type="reset"]:active,
|
|||||||
input[type="reset"]:focus,
|
input[type="reset"]:focus,
|
||||||
input[type="submit"]:active,
|
input[type="submit"]:active,
|
||||||
input[type="submit"]:focus {
|
input[type="submit"]:focus {
|
||||||
border-color: #aaa #bbb #bbb;
|
border-color : #aaa #bbb #bbb;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"],
|
input[type="text"],
|
||||||
@ -685,10 +660,10 @@ input[type="datetime"],
|
|||||||
input[type="datetime-local"],
|
input[type="datetime-local"],
|
||||||
input[type="color"],
|
input[type="color"],
|
||||||
textarea {
|
textarea {
|
||||||
color: #666;
|
color : #666;
|
||||||
border: 1px solid #ccc;
|
border : 1px solid #ccc;
|
||||||
border-radius: 3px;
|
border-radius : 3px;
|
||||||
padding: 3px;
|
padding : 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="text"]:focus,
|
input[type="text"]:focus,
|
||||||
@ -707,15 +682,15 @@ input[type="datetime"]:focus,
|
|||||||
input[type="datetime-local"]:focus,
|
input[type="datetime-local"]:focus,
|
||||||
input[type="color"]:focus,
|
input[type="color"]:focus,
|
||||||
textarea:focus {
|
textarea:focus {
|
||||||
color: #111;
|
color : #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
border: 1px solid #ccc;
|
border : 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
width: 100%;
|
width : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -733,27 +708,27 @@ textarea {
|
|||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
.sticky {
|
.sticky {
|
||||||
display: block;
|
display : block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post,
|
.post,
|
||||||
.page {
|
.page {
|
||||||
margin: 0 0 1.5em;
|
margin : 0 0 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.updated:not(.published) {
|
.updated:not(.published) {
|
||||||
display: none;
|
display : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content,
|
.page-content,
|
||||||
.entry-content,
|
.entry-content,
|
||||||
.entry-summary {
|
.entry-summary {
|
||||||
margin: 1.5em 0 0;
|
margin : 1.5em 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-links {
|
.page-links {
|
||||||
clear: both;
|
clear : both;
|
||||||
margin: 0 0 1.5em;
|
margin : 0 0 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -761,11 +736,11 @@ textarea {
|
|||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
.comment-content a {
|
.comment-content a {
|
||||||
word-wrap: break-word;
|
word-wrap : break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bypostauthor {
|
.bypostauthor {
|
||||||
display: block;
|
display : block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -773,11 +748,11 @@ textarea {
|
|||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
.widget {
|
.widget {
|
||||||
margin: 0 0 1.5em;
|
margin : 0 0 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget select {
|
.widget select {
|
||||||
max-width: 100%;
|
max-width : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -787,17 +762,17 @@ textarea {
|
|||||||
.page-content .wp-smiley,
|
.page-content .wp-smiley,
|
||||||
.entry-content .wp-smiley,
|
.entry-content .wp-smiley,
|
||||||
.comment-content .wp-smiley {
|
.comment-content .wp-smiley {
|
||||||
border: none;
|
border : none;
|
||||||
margin-bottom: 0;
|
margin-bottom : 0;
|
||||||
margin-top: 0;
|
margin-top : 0;
|
||||||
padding: 0;
|
padding : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Make sure logo link wraps around logo image. */
|
/* Make sure logo link wraps around logo image. */
|
||||||
|
|
||||||
.custom-logo-link {
|
.custom-logo-link {
|
||||||
display: inline-block;
|
display : inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -805,22 +780,22 @@ textarea {
|
|||||||
--------------------------------------------- */
|
--------------------------------------------- */
|
||||||
|
|
||||||
.wp-caption {
|
.wp-caption {
|
||||||
margin-bottom: 1.5em;
|
margin-bottom : 1.5em;
|
||||||
max-width: 100%;
|
max-width : 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-caption img[class*="wp-image-"] {
|
.wp-caption img[class*="wp-image-"] {
|
||||||
display: block;
|
display : block;
|
||||||
margin-left: auto;
|
margin-left : auto;
|
||||||
margin-right: auto;
|
margin-right : auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-caption .wp-caption-text {
|
.wp-caption .wp-caption-text {
|
||||||
margin: 0.8075em 0;
|
margin : 0.8075em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-caption-text {
|
.wp-caption-text {
|
||||||
text-align: center;
|
text-align : center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -837,14 +812,14 @@ textarea {
|
|||||||
|
|
||||||
.infinite-scroll .posts-navigation,
|
.infinite-scroll .posts-navigation,
|
||||||
.infinite-scroll.neverending .site-footer {
|
.infinite-scroll.neverending .site-footer {
|
||||||
display: none;
|
display : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
|
/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
|
||||||
|
|
||||||
.infinity-end.neverending .site-footer {
|
.infinity-end.neverending .site-footer {
|
||||||
display: block;
|
display : block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -858,24 +833,24 @@ textarea {
|
|||||||
|
|
||||||
.alignleft {
|
.alignleft {
|
||||||
/*rtl:ignore*/
|
/*rtl:ignore*/
|
||||||
float: left;
|
float : left;
|
||||||
/*rtl:ignore*/
|
/*rtl :ignore*/
|
||||||
margin-right: 1.5em;
|
margin-right : 1.5em;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom : 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alignright {
|
.alignright {
|
||||||
/*rtl:ignore*/
|
/*rtl:ignore*/
|
||||||
float: right;
|
float : right;
|
||||||
/*rtl:ignore*/
|
/*rtl :ignore*/
|
||||||
margin-left: 1.5em;
|
margin-left : 1.5em;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom : 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligncenter {
|
.aligncenter {
|
||||||
clear: both;
|
clear : both;
|
||||||
display: block;
|
display : block;
|
||||||
margin-left: auto;
|
margin-left : auto;
|
||||||
margin-right: auto;
|
margin-right : auto;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom : 1.5em;
|
||||||
}
|
}
|
||||||
@ -1,4 +1,26 @@
|
|||||||
// own styles
|
/*!
|
||||||
|
Theme Name: gruener-salon
|
||||||
|
Theme URI: http://underscores.me/
|
||||||
|
Author: chrosey
|
||||||
|
Author URI: https://chrosey.de/
|
||||||
|
Description: Description
|
||||||
|
Version: 1.0.0
|
||||||
|
Tested up to: 5.4
|
||||||
|
Requires PHP: 5.6
|
||||||
|
License: GNU General Public License v2 or later
|
||||||
|
License URI: LICENSE
|
||||||
|
Text Domain: gruener-salon
|
||||||
|
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
|
||||||
|
|
||||||
|
This theme, like WordPress, is licensed under the GPL.
|
||||||
|
Use it to make something cool, have fun, and share what you've learned.
|
||||||
|
|
||||||
|
gruener-salon is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
|
||||||
|
Underscores is distributed under the terms of the GNU GPL v2 or later.
|
||||||
|
|
||||||
|
Normalizing styles have been helped along thanks to the fine work of
|
||||||
|
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
|
||||||
|
*/
|
||||||
@import 'includes/base';
|
@import 'includes/base';
|
||||||
//@import 'includes/underscores';
|
//@import 'includes/underscores';
|
||||||
// Required
|
// Required
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user