Skip to content

Commit

Permalink
#301 small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Annevd committed Jan 16, 2025
1 parent 572433b commit e062340
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
10 changes: 5 additions & 5 deletions src/lib/molecules/home-campus.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@
margin-bottom: 1em;
}
/* MEDIA QUERY TABLET = 430px */
/* MEDIA QUERY MOBILE = 430px */
@media (min-width: 26.8rem) {
h2 {
flex-direction: row;
}
}
/* MEDIA QUERY TABLET = 686px */
/* MEDIA QUERY TABLET S = 686px */
@media (min-width: 42.125rem) {
h2 span:nth-of-type(1) {
margin-right: 0.2em;
}
}
/* MEDIA QUERY TABLET = 768px */
/* MEDIA QUERY TABLET M = 768px */
@media (min-width: 48rem) {
section {
padding: 0 var(--section-padding-x) var(--section-padding-y);
Expand All @@ -76,7 +76,7 @@
}
}
/* MEDIA QUERY TABLET = 1100px */
/* MEDIA QUERY LAPTOP = 1100px */
@media (min-width: 68.75rem) {
section {
padding: 0 9em var(--section-padding-y);
Expand All @@ -87,7 +87,7 @@
}
}
/* MEDIA QUERY TABLET = 1250px */
/* MEDIA QUERY TABLET L = 1250px */
@media (min-width: 78.1rem) {
section {
height: 70vh;
Expand Down
14 changes: 7 additions & 7 deletions src/lib/molecules/home-partners.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@
}
}
/* MEDIA QUERY DESKTOP = 1500px */
@media (min-width: 93.75rem) {
section{
padding: var(--section-padding-y) 15em;
}
}
/* MEDIA QUERY TABLET = 1250px */
@media (min-width: 78.1rem) {
p{
max-width: 68em;
}
}
/* MEDIA QUERY DESKTOP = 1500px */
@media (min-width: 93.75rem) {
section{
padding: var(--section-padding-y) 15em;
}
}
</style>
7 changes: 3 additions & 4 deletions src/lib/organisms/agenda.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
background: var(--main-color-beige);
z-index: 2;
max-width: 100%;
min-height: 70vh;
overflow: hidden;
padding: var(--section-padding-y) 0 var(--section-padding-y) 1rem;
}
Expand Down Expand Up @@ -54,8 +53,8 @@
/* MEDIA QUERY DESKTOP = 1500px */
@media (min-width: 93.75rem) {
/* section {
padding: 4rem 15em;
} */
section {
padding: var(--section-padding-y) 15em;
}
}
</style>

0 comments on commit e062340

Please sign in to comment.