Compare commits
5 Commits
b2d000cda0
...
90bfc3df69
| Author | SHA1 | Date | |
|---|---|---|---|
|
90bfc3df69
|
|||
|
e7c23969b4
|
|||
|
2b705e2001
|
|||
|
9bfb71c4d4
|
|||
|
b14c982f5c
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
dist/*
|
||||
@@ -1,21 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Tonys-rookie-enhancements Theme functions and definitions.
|
||||
* Tony's Rookie Ehancements Theme functions and definitions.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/basics/theme-functions/
|
||||
*
|
||||
* @package tonys-rookie-enhancements
|
||||
*/
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'rookie_parent_theme_enqueue_styles' );
|
||||
add_action( 'wp_enqueue_scripts', 'rookie_parent_theme_enqueue_styles', 11);
|
||||
|
||||
/**
|
||||
* Enqueue scripts and styles.
|
||||
*/
|
||||
function rookie_parent_theme_enqueue_styles() {
|
||||
wp_enqueue_style( 'rookie-style', get_template_directory_uri() . '/style.css' );
|
||||
wp_enqueue_style( 'rookie-parent-style', get_template_directory_uri() . '/style.css');
|
||||
wp_enqueue_style( 'tonys-rookie-enhancements-style',
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
[ 'rookie-style' ]
|
||||
get_stylesheet_directory_uri() . '/style.css',
|
||||
[ 'rookie-parent-style' ]
|
||||
);
|
||||
}
|
||||
|
||||
BIN
screenshot.png
Executable file
BIN
screenshot.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
95
style.css
95
style.css
@@ -7,3 +7,98 @@ Author URI:
|
||||
Template: rookie
|
||||
Version: 0.1.0
|
||||
*/
|
||||
|
||||
@import url('https://fonts.googleapis.com/css?family=Jost&display=swap');
|
||||
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
|
||||
|
||||
.site-title, .site-description {
|
||||
font-family: Jost;
|
||||
color: white;
|
||||
/* offset-x | offset-y | blur-radius | color */
|
||||
text-shadow: 1px 1px 10px black;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
.site-description {
|
||||
display: none;
|
||||
}
|
||||
.site-title{
|
||||
font-size: 1em;
|
||||
text-shadow:none;
|
||||
}
|
||||
.header-area.header-area-custom {
|
||||
background-image: none !important;
|
||||
background-color: rgb(13, 71, 133);
|
||||
border-bottom: none;
|
||||
}
|
||||
.site-logo img {
|
||||
max-height: 40px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.header-area-custom .site-branding {
|
||||
padding: 14px;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
.sp-data-table th.data-rank, .sp-data-table td.data-rank {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.sp-event-list span.team-0::after{
|
||||
content: " (V)";
|
||||
font-size: 0.8em;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.sp-event-list span.team-1::after{
|
||||
content: " (H)";
|
||||
font-size: 0.8em;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.sp-league-table th {
|
||||
/* font-family: Oswald, sans-serif;
|
||||
text-transform: uppercase;
|
||||
background-color: rgb(13, 71, 133);
|
||||
color: white;
|
||||
border: none; */
|
||||
}
|
||||
|
||||
.sp-data-table thead tr th {
|
||||
border-top: 2px solid black;
|
||||
border-bottom: 2px solid black;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.sp-data-table tbody td.data-name {
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 600px) {
|
||||
.header-area-custom .site-logo {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.site-logo img {
|
||||
max-height: 90px;
|
||||
}
|
||||
|
||||
.header-area-custom .site-branding {
|
||||
padding: 0.8em;
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.wp-block-table td {
|
||||
border-color: #d8d9da;
|
||||
}
|
||||
|
||||
.wp-block-table th {
|
||||
border-color: #d8d9da;
|
||||
}
|
||||
Reference in New Issue
Block a user