Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…s-faweb-demo into 4-style-buttons
  • Loading branch information
kesiah committed Dec 9, 2024
2 parents b1485cf + aa5772b commit 162c248
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,32 @@ h1 {
h2 {
font-size: var(--hl18-font-size);
line-height: var(--hl18-line-height);

> u {
text-decoration: none;
}

&:has(> u) {
--section-title-underline-width: 60px;
--section-title-underline-gap: 12px;

display: flex;
flex-direction: column;
gap: var(--section-title-underline-gap);

@media (min-width: 768px) {
--section-title-underline-width: 80px;
--section-title-underline-gap: 16px;
}

&::after {
content: '';
display: block;
width: var(--section-title-underline-width);
height: 4px;
background-color: var(--col-brand40);
}
}
}

h3 {
Expand Down

0 comments on commit 162c248

Please sign in to comment.