roboto font

This commit is contained in:
Ross Trottier 2024-07-29 13:58:33 -06:00
parent e1a67b23d1
commit 53670b5467
2 changed files with 5 additions and 4 deletions

View File

@ -13,7 +13,7 @@ add_action('wp_enqueue_scripts', 'slowtwitch_register_styles_scripts');
function slowtwitch_register_styles_scripts() { function slowtwitch_register_styles_scripts() {
wp_enqueue_style('slowtwitch-styles', get_template_directory_uri() . '/style.css', array(), wp_get_theme()->get('version'), 'all'); wp_enqueue_style('slowtwitch-styles', get_template_directory_uri() . '/style.css', array(), wp_get_theme()->get('version'), 'all');
wp_enqueue_style( 'rubik font', 'https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap' ); wp_enqueue_style( 'roboto font', 'https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap' );
wp_enqueue_script( 'slowtwitch-nav-script', get_template_directory_uri() . '/assets/js/st-nav.js', NULL, NULL, true ); wp_enqueue_script( 'slowtwitch-nav-script', get_template_directory_uri() . '/assets/js/st-nav.js', NULL, NULL, true );
} }

View File

@ -18,7 +18,7 @@ CSS RESETS + GLOBALS
body { body {
margin: 0; margin: 0;
font-size: 1.25rem; font-size: 1.25rem;
font-family: "Rubik", sans-serif; font-family: "Roboto", sans-serif;
line-height: 1.6; line-height: 1.6;
overflow-anchor: none; overflow-anchor: none;
/* min-width: 320px; */ /* min-width: 320px; */
@ -621,6 +621,7 @@ SECTIONS
margin-bottom: .5em; margin-bottom: .5em;
color: black; color: black;
font-weight: 800; font-weight: 800;
text-transform: uppercase;
} }
.st-article-section-title > a { .st-article-section-title > a {
@ -898,9 +899,9 @@ COMPONENTS
color: #fff; color: #fff;
padding: .3em .75em; padding: .3em .75em;
background: #0b4fa0; background: #0b4fa0;
font-size: .6rem; font-size: .75rem;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 1px; letter-spacing: 2px;
font-weight: 600; font-weight: 600;
} }