Skip to content

Commit

Permalink
#301 added clamp to h2's
Browse files Browse the repository at this point in the history
Same clamp @Lmikkers and @rutgerkock used for the h2's of the slide cards for consistency
  • Loading branch information
Annevd committed Jan 16, 2025
1 parent e062340 commit 0b279df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
3 changes: 1 addition & 2 deletions src/lib/molecules/home-campus.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
h2 {
font-family: var(--sub-header-font);
font-size: 3.5em;
font-size: clamp(2em, 5vw, 8em);
display: flex;
flex-direction: column;
flex-wrap: wrap;
Expand Down Expand Up @@ -68,7 +68,6 @@
padding: 0 var(--section-padding-x) var(--section-padding-y);
}
h2 {
font-size: 4.5rem;
padding-bottom: 0.7em;
}
p {
Expand Down
5 changes: 1 addition & 4 deletions src/lib/molecules/home-partners.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
h2{
font-family: var(--sub-header-font);
font-size: 3.5em;
font-size: clamp(2em, 5vw, 8em);
line-height: 1;
padding-bottom: .7em;
}
Expand All @@ -67,9 +67,6 @@
section{
padding: var(--section-padding-y) var(--section-padding-x);
}
h2{
font-size: 4.5rem;
}
}
/* MEDIA QUERY TABLET = 1250px */
Expand Down
6 changes: 1 addition & 5 deletions src/lib/organisms/agenda.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
h2 {
font-size: 3.5rem;
font-size: clamp(2em, 5vw, 8em);
padding-bottom: 0.7em;
font-family: var(--sub-header-font);
color: var(--main-color-brown);
Expand All @@ -42,10 +42,6 @@
section {
padding: var(--section-padding-y) 0 var(--section-padding-y) var(--section-padding-x);
}
h2 {
font-size: 4.5rem;
}
img {
display: block;
}
Expand Down

0 comments on commit 0b279df

Please sign in to comment.