Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT #231

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

DRAFT #231

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions primers/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
+++
title="Primers"
date="28 Dec 2022 12:22:11 BST"
menu="syllabus"
+++
forhugo-->

Expand Down
4 changes: 2 additions & 2 deletions primers/distributed-software-systems-architecture/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Some workloads are too high to be served from a single machine. We use distribut

Almost all computer systems that we build today are distributed systems, whether large or small.

{{< details summary="Glossary of Abbreviations" >}}
<details><summary>Glossary of Abbreviations</summary>
API
: Application Programming Interface

Expand Down Expand Up @@ -94,4 +94,4 @@ UDP
3PC
: 3 Phase Commit

{{</ details >}}
</details>
1 change: 1 addition & 0 deletions projects/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!--forhugo
+++
title="Projects"
menu="syllabus"
+++
forhugo-->

Expand Down
10 changes: 0 additions & 10 deletions website/archetypes/default.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
* {
box-sizing: border-box;
}
body,
html {
font-family: var(--theme-font--copy);
font-size: 100%;
background-color: var(--theme-color--paper);
background-image: url("./pictures/svgs/neons/nnneon-hex.svg"),
url("./pictures/svgs/quads/qqquad-02.svg"),
radial-gradient(
Expand All @@ -19,7 +13,7 @@ html {
margin: 0;
padding: 0;
height: 100%;
animation: fade-in 0.2s;
animation: fade-in 0.6s;
}

html {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
#{$rule}: var(--button-#{$rule});
}

transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
transition:
all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
border-color 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);

@include on-event {
Expand All @@ -52,9 +53,10 @@
// sometimes buttons have an icon or are only visibly an icon

&__icon,
&__icon svg,
&--icon {
// enforce tap sizing
$taps: height, width, min-width, max-width;
$taps: height, width, min-width, max-width, font-size;
@each $rule in $taps {
#{$rule}: var(--theme-spacing--touchtarget);
}
Expand All @@ -64,6 +66,7 @@
box-shadow: none;
color: currentColor;
place-content: center;
border-radius: 0;

@include on-event {
background: transparent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ $heading__levels: 1, 2, 3, 4, 5, 6;
}
}

h1,
.e-heading__1,
h4,
.e-heading__4 {
text-transform: uppercase;
background-color: transparent;
}

h4,
.e-heading__4 {
color: var(--theme-color--accent);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@
padding: var(--theme-spacing--6);
max-width: var(--theme-spacing--linelength);
}

span {
toggle-root: check self;
}

span:toggle(check) {
text-decoration: line-through;
}
42 changes: 42 additions & 0 deletions website/assets/custom-theme/04-components/page-header.scss
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;
}
}
}
3 changes: 3 additions & 0 deletions website/assets/custom-theme/04-components/search.scss
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;
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
.c-splash {
// background: var(--theme-color--ink);
// color: var(--theme-color--paper);

margin-top: var(--theme-spacing--6);
transform: rotate(-3.5deg);
@include backdrop(true, true, 0.6);
border-top: var(--theme-spacing--gutter) solid var(--theme-color--pop);
border-radius: 8px 8px 2px 2px;
box-shadow: var(--theme-box-shadow);
padding: var(--theme-spacing--gutter);
max-width: var(--theme-spacing--linelength);
text-wrap: balance;
font: var(--theme-font--system);

animation: float 6s infinite alternate ease-in-out;

strong,
a {
font-size: var(--theme-type-size--4);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@

.c-toc {
color: var(--theme-color--accent);
max-width: var(--theme-spacing--container);
border: var(--theme-border--thick);
padding: var(--gap);

ol {
color: var(--theme-color--ink);
padding-right: var(--theme-spacing--gutter);
text-transform: uppercase;
ol {
padding-left: var(--theme-spacing--gutter);
}
}

ol li {
text-transform: uppercase;
font-family: var(--theme-font--display);
font-weight: 500;

a,
a:link {
Expand Down
44 changes: 44 additions & 0 deletions website/assets/custom-theme/layout/header.scss
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;
}
}
}
10 changes: 10 additions & 0 deletions website/assets/custom-theme/layout/layout.scss
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);
}
29 changes: 29 additions & 0 deletions website/assets/custom-theme/layout/menu.scss
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;
}
}
3 changes: 3 additions & 0 deletions website/assets/custom-theme/states/inert.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[inert] > * {
opacity: 0.5;
}
50 changes: 0 additions & 50 deletions website/assets/scripts/app.js

This file was deleted.

17 changes: 0 additions & 17 deletions website/assets/styles/03-elements/images.scss

This file was deleted.

22 changes: 0 additions & 22 deletions website/assets/styles/03-elements/links.scss

This file was deleted.

Loading
Loading