From 556bbb275310ea8e72a5c066867c563a3f02df85 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 11 Mar 2023 16:43:53 +0100 Subject: [PATCH] Use Coda font for buttons and headers --- public/css/default.css | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/public/css/default.css b/public/css/default.css index 2cb4faf..ecc227b 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -34,6 +34,10 @@ a:hover { color: #262626; } +.btn { + font-family: 'Coda', 'sans-serif'; +} + /* Navigation ---------------*/ @@ -107,8 +111,11 @@ i.space-invader.alt-7::before { border-radius: 0.5rem; box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1); } -.content-box h1 { +.content-box h1, +.content-box h2, +.content-box h3 { font-family: 'Coda', sans-serif; + margin-bottom: 0.5em; } @@ -122,7 +129,7 @@ i.space-invader.alt-7::before { clear: both; float: left; margin: 0 0 1.5% 0; - font: 400 18px/2.2 "Open Sans", sans-serif; + font: 400 18px/2.2 'Coda', sans-serif; padding: 6px 22px; text-overflow: ellipsis; white-space: nowrap; @@ -280,7 +287,7 @@ i.space-invader.alt-7::before { } .album_title_box h2 { color: #262626; - font: 400 18px/2 "Open Sans", sans-serif !important; + font: 400 18px/2 'Coda', sans-serif !important; margin: 0; } .album_title_box p { @@ -427,13 +434,8 @@ a#previous_photo:hover, a#next_photo:hover { } #sub_photo h2, #sub_photo h3, #photo_exif_box h3, #user_actions_box h3 { - font: 600 20px/30px "Open Sans", sans-serif; - margin: 0 0 10px; + margin-bottom: 1rem; } -#sub_photo h3 { - font-size: 16px; -} - #sub_photo #tag_list { list-style: none; margin: 1em 0;