-
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rm old style and layouts, set up overrides
- Loading branch information
1 parent
8fd28f1
commit 0b804ba
Showing
69 changed files
with
223 additions
and
1,028 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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
File renamed without changes.
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
File renamed without changes.
42 changes: 42 additions & 0 deletions
42
website/assets/custom-theme/04-components/page-header.scss
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,42 @@ | ||
.c-page-header { | ||
&__breadcrumbs { | ||
padding: 0; //no emojis on this layout so no need for extra padding | ||
} | ||
&__container { | ||
.c-page-header--toc:not(.c-page-header--solo) & { | ||
@media (min-width: $c-max) { | ||
grid-template: | ||
". " var(--gap) | ||
"breadcrumbs " min-content | ||
"toc " auto | ||
". " var(--gap) | ||
"title " min-content | ||
"subtitle " min-content | ||
"description " min-content | ||
/ 1fr; | ||
margin-bottom: calc(-1 * var(--theme-spacing--2)); | ||
} | ||
} | ||
} | ||
|
||
&__toc { | ||
position: sticky; | ||
top: 0; | ||
.c-toc { | ||
max-height: none; | ||
} | ||
} | ||
.p-home & { | ||
position: absolute; | ||
bottom: 0; | ||
margin-bottom: calc(-1 * var(--theme-spacing--6)); | ||
.c-page-header__title { | ||
max-width: 16ch; | ||
font: var(--theme-font--brand); | ||
font-size: var(--theme-type-size--1); | ||
text-shadow: initial; | ||
color: var(--theme-color--brand); | ||
mix-blend-mode: saturation; | ||
} | ||
} | ||
} |
File renamed without changes.
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,3 @@ | ||
#search .pagefind-ui__search-input { | ||
background: var(--theme-color--backdrop-to) !important; | ||
} |
9 changes: 6 additions & 3 deletions
9
...e/assets/styles/04-components/splash.scss → ...ts/custom-theme/04-components/splash.scss
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
File renamed without changes.
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
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,44 @@ | ||
.l-header { | ||
grid-template: | ||
" . ......... . " var(--theme-spacing--2) | ||
" . container ." minmax(0, 1fr) | ||
" . ......... ." var(--theme-spacing--3) / minmax( | ||
var(--theme-spacing--gutter), | ||
1fr | ||
) | ||
var(--theme-spacing--container) minmax(var(--theme-spacing--gutter), 1fr); | ||
@include pattern(dots, var(--theme-color--pop), null, false, 0.5); | ||
background: initial; | ||
border: initial; | ||
box-shadow: initial; | ||
backdrop-filter: initial; | ||
|
||
&__container { | ||
grid-template: | ||
"heading . search . action" min-content/max-content var( | ||
--theme-spacing--4 | ||
) | ||
1fr var(--theme-spacing--4) min-content; | ||
} | ||
|
||
&__action { | ||
background: var(--theme-color--brand); | ||
height: 100vh; | ||
position: fixed; | ||
right: 0; | ||
top: 0; | ||
align-items: flex-start; | ||
padding: var(--theme-spacing--2) var(--theme-spacing--3) 0 | ||
var(--theme-spacing--2); | ||
|
||
@include on-event() { | ||
background-color: var(--theme-color--accent); | ||
color: var(--theme-color--paper); | ||
} | ||
|
||
svg { | ||
height: fit-content; | ||
align-items: flex-start; | ||
} | ||
} | ||
} |
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,10 @@ | ||
.l-layout { | ||
grid-template: | ||
" header header header header" auto | ||
" ...... main ...... ......" 1fr | ||
" ...... footer ...... ......" auto / | ||
minmax(var(--theme-spacing--gutter), 1fr) | ||
var(--theme-spacing--container) | ||
var(--theme-spacing--gutter) | ||
minmax(var(--theme-spacing--touchtarget), 1fr); | ||
} |
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,29 @@ | ||
.l-menu { | ||
@include pattern(graph, currentColor, b, false, 0.2); | ||
@include backdrop(true, true, 0.6); | ||
z-index: 5; | ||
width: fit-content; | ||
--box-shadow: var(--theme-color--ink-fade); | ||
box-shadow: -20px -2px 30px var(--box-shadow); | ||
text-transform: lowercase; | ||
|
||
.is-dark-mode & { | ||
--box-shadow: var(--theme-color--contrast-max); | ||
} | ||
|
||
&__container { | ||
max-height: calc(100vh - 2 * var(--theme-spacing--4)); | ||
grid-template: | ||
". ....... ......... ......... ." var(--gap) | ||
". heading ......... action ." min-content | ||
". ....... ......... ......... ." var(--gap) | ||
". primary primary primary ." 1fr | ||
". secondary secondary secondary ." var(--theme-spacing--touchtarget) | ||
". ....... ......... ......... ." var(--gap) / var(--gap) | ||
1fr 1fr var(--theme-spacing--touchtarget) var(--gap); | ||
} | ||
&__secondary { | ||
background: transparent; | ||
width: auto; | ||
} | ||
} |
File renamed without changes.
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,3 @@ | ||
[inert] > * { | ||
opacity: 0.5; | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.