From 53670b5467326fdb4c3a903a84b8c14d6a76f45a Mon Sep 17 00:00:00 2001 From: Ross Trottier Date: Mon, 29 Jul 2024 13:58:33 -0600 Subject: [PATCH] roboto font --- functions.php | 2 +- style.css | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 7471165..9f96a5f 100644 --- a/functions.php +++ b/functions.php @@ -13,7 +13,7 @@ add_action('wp_enqueue_scripts', '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( '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 ); } diff --git a/style.css b/style.css index 3c88224..0591cc0 100644 --- a/style.css +++ b/style.css @@ -18,7 +18,7 @@ CSS RESETS + GLOBALS body { margin: 0; font-size: 1.25rem; - font-family: "Rubik", sans-serif; + font-family: "Roboto", sans-serif; line-height: 1.6; overflow-anchor: none; /* min-width: 320px; */ @@ -621,6 +621,7 @@ SECTIONS margin-bottom: .5em; color: black; font-weight: 800; + text-transform: uppercase; } .st-article-section-title > a { @@ -898,9 +899,9 @@ COMPONENTS color: #fff; padding: .3em .75em; background: #0b4fa0; - font-size: .6rem; + font-size: .75rem; text-transform: uppercase; - letter-spacing: 1px; + letter-spacing: 2px; font-weight: 600; }