From f80199e5b98cd3155d2dd8dc5b52b79d4bfe3414 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Wed, 10 Jan 2024 02:27:00 +0100 Subject: [PATCH] styled header and linked titles --- style.css | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/style.css b/style.css index e3fc3f3..7d8a24c 100644 --- a/style.css +++ b/style.css @@ -448,27 +448,23 @@ textarea { h4, h5 { /*text-transform: uppercase;*/ + font-family: var(--font-xarxaprod); clear: both; line-height: 1.1; } h1 { - font-family: var(--font-xarxaprod); font-size: 1.8rem; } h2 { - font-family: var(--font-xarxaprod); font-size: 1.5rem; } h3 { - font-family: var(--font-xarxaprod); font-size: 1.3rem; } h4 { - font-family: var(--font-xarxaprod); font-size: 1.2rem; } h5 { - font-family: var(--font-xarxaprod); font-size: 1.1rem; } h6 { @@ -485,7 +481,6 @@ textarea { margin: 0; } .single h1 { - font-family: var(--font-xarxaprod); } .home-featured h2 { margin: 1.2rem 0; @@ -493,6 +488,13 @@ textarea { line-height: 1.2; border-bottom: 0.6rem solid #000; } + h1 a, + h2 a, + h3 a, + h4 a, + h5 a, + h6 a { + text-decoration: none; } @media screen and (min-width: 48em) { @@ -917,7 +919,7 @@ textarea { top: 0; margin-bottom: 2rem; background-color: #fff; - box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 1px 0 0 rgba(0, 0, 0, 0); + /*box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05), 0 1px 0 0 rgba(0, 0, 0, 0);*/ } .site-header .main { display: flex; @@ -948,7 +950,7 @@ textarea { flex-flow: column; } .site-header .secondary { - border-top: 1px solid #eee; + /* border-top: 1px solid #eee;*/ } .site-main { padding: 0 2rem; @@ -1005,7 +1007,7 @@ textarea { } .main-navigation ul ul, .secondary-navigation ul ul { background-color: #fff; - box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); + /*box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);*/ float: left; position: absolute; top: 100%; @@ -1622,7 +1624,7 @@ textarea { .screen-reader-text:focus { background-color: #fff; border-radius: 3px; - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); + /*box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);*/ clip: auto !important; clip-path: none; color: #111;