styled header and linked titles

This commit is contained in:
jorge-vitrubio 2024-01-10 02:27:00 +01:00
parent 05370137b6
commit f80199e5b9
1 changed files with 12 additions and 10 deletions

View File

@ -448,27 +448,23 @@ textarea {
h4, h4,
h5 { h5 {
/*text-transform: uppercase;*/ /*text-transform: uppercase;*/
font-family: var(--font-xarxaprod);
clear: both; clear: both;
line-height: 1.1; line-height: 1.1;
} }
h1 { h1 {
font-family: var(--font-xarxaprod);
font-size: 1.8rem; font-size: 1.8rem;
} }
h2 { h2 {
font-family: var(--font-xarxaprod);
font-size: 1.5rem; font-size: 1.5rem;
} }
h3 { h3 {
font-family: var(--font-xarxaprod);
font-size: 1.3rem; font-size: 1.3rem;
} }
h4 { h4 {
font-family: var(--font-xarxaprod);
font-size: 1.2rem; font-size: 1.2rem;
} }
h5 { h5 {
font-family: var(--font-xarxaprod);
font-size: 1.1rem; font-size: 1.1rem;
} }
h6 { h6 {
@ -485,7 +481,6 @@ textarea {
margin: 0; margin: 0;
} }
.single h1 { .single h1 {
font-family: var(--font-xarxaprod);
} }
.home-featured h2 { .home-featured h2 {
margin: 1.2rem 0; margin: 1.2rem 0;
@ -493,6 +488,13 @@ textarea {
line-height: 1.2; line-height: 1.2;
border-bottom: 0.6rem solid #000; 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) { @media screen and (min-width: 48em) {
@ -917,7 +919,7 @@ textarea {
top: 0; top: 0;
margin-bottom: 2rem; margin-bottom: 2rem;
background-color: #fff; 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 { .site-header .main {
display: flex; display: flex;
@ -948,7 +950,7 @@ textarea {
flex-flow: column; flex-flow: column;
} }
.site-header .secondary { .site-header .secondary {
border-top: 1px solid #eee; /* border-top: 1px solid #eee;*/
} }
.site-main { .site-main {
padding: 0 2rem; padding: 0 2rem;
@ -1005,7 +1007,7 @@ textarea {
} }
.main-navigation ul ul, .secondary-navigation ul ul { .main-navigation ul ul, .secondary-navigation ul ul {
background-color: #fff; 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; float: left;
position: absolute; position: absolute;
top: 100%; top: 100%;
@ -1622,7 +1624,7 @@ textarea {
.screen-reader-text:focus { .screen-reader-text:focus {
background-color: #fff; background-color: #fff;
border-radius: 3px; 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: auto !important;
clip-path: none; clip-path: none;
color: #111; color: #111;