Skip to content

Commit

Permalink
worked on #35
Browse files Browse the repository at this point in the history
  • Loading branch information
joostf committed Oct 5, 2022
1 parent 10eca91 commit e6c946c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/lib/components/Heading.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
h2 > strong {
display: block;
}
:global(section.semester h2) {
font-size: clamp(1.15rem, -.5rem + 2vw, 2.5rem);
Expand Down
File renamed without changes.
17 changes: 11 additions & 6 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@

<style>
:global(main) {
max-width:60em;
/max-width:60rem;
}
section:not(.semester) {
max-width:40rem;
}
section.semester {
font-size: .85em;
}
section:not(.semester) {
max-width:40em;
}
ol {
list-style: none;
margin:0
Expand All @@ -73,5 +71,12 @@
left:0;
width:100%;
height:100%;
z-index:1
}
@media (min-width: 50rem) {
section.semester {
font-size: inherit;
}
}
</style>
File renamed without changes.
3 changes: 3 additions & 0 deletions src/routes/[uid]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
section {
padding: 1rem 2rem;
}
section.col-span-2 {
max-width:40em
}
aside h3 {
display: none;
}
Expand Down

0 comments on commit e6c946c

Please sign in to comment.