-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modularize styling, and improve breakpoint responsiveness to page layout
- Loading branch information
Jonathan Visser
committed
Jan 2, 2025
1 parent
53f6806
commit 5e932b8
Showing
10 changed files
with
466 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@use "../breakpoints" as *; | ||
|
||
.article-meta { | ||
display: inline-block; | ||
position: relative; | ||
top: 30px; | ||
font-size: 11px; | ||
font-weight: 600; | ||
opacity: 0.35; | ||
|
||
&--updated { | ||
opacity: 0.5; | ||
|
||
&::after { | ||
content: "•"; | ||
padding-left: 5px; | ||
} | ||
} | ||
|
||
@media (max-width: $breakpoint-mobile) { | ||
font-size: 12px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@use "../breakpoints" as *; | ||
|
||
/* breadcrumbs*/ | ||
.wy-breadcrumbs { | ||
max-width: 1500px; | ||
padding: 0 21px; | ||
margin: auto; | ||
|
||
& li { | ||
padding-top: initial; | ||
} | ||
|
||
@media (max-width: $breakpoint-landscape) { | ||
padding: 0 20px 0 60px; | ||
overflow: auto; | ||
white-space: nowrap; | ||
} | ||
|
||
@media (max-width: $breakpoint-mobile) { | ||
padding: 0 20px 0 65px; | ||
} | ||
} | ||
|
||
.wy-breadcrumbs, | ||
.wy-breadcrumbs li a, | ||
.wy-breadcrumbs-aside a { | ||
font-size: 11px; | ||
} | ||
.wy-breadcrumbs li.wy-breadcrumbs-aside { | ||
@media (max-width: $breakpoint-portrait) { | ||
display: none; | ||
} | ||
} | ||
|
||
.wy-breadcrumbs li a:visited { | ||
color: var(--light-orange); | ||
} | ||
|
||
li.wy-breadcrumbs-aside a { | ||
padding: 10px; | ||
} | ||
|
||
.header { | ||
height: 50px; | ||
line-height: 50px; | ||
width: 100%; | ||
position: fixed; | ||
top: 60px; | ||
border-bottom: 1px solid var(--grey-border); | ||
z-index:20; | ||
background-color: white; | ||
|
||
@media (max-width: $breakpoint-mobile) { | ||
top: 90px; | ||
} | ||
} | ||
|
||
/* header end */ |
Oops, something went wrong.