2019-11-22 12:30:55 +01:00
|
|
|
@charset 'utf-8';
|
|
|
|
@import url('https://use.typekit.net/qlo3dpu.css');
|
|
|
|
|
|
|
|
@import '~prism-themes/themes/prism-a11y-dark';
|
2020-02-16 14:32:54 -07:00
|
|
|
@import '_sass/functions';
|
2020-02-19 18:48:29 +11:00
|
|
|
@import '_sass/colours'
|
2020-02-16 12:14:24 -07:00
|
|
|
|
|
|
|
$browser-context: 16;
|
|
|
|
|
2019-11-22 12:30:55 +01:00
|
|
|
pre[class*='language-'] {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2020-02-19 18:48:29 +11:00
|
|
|
background-color: $dark-grey;
|
|
|
|
border: 1px solid $black;
|
|
|
|
color: $white;
|
2019-11-22 12:30:55 +01:00
|
|
|
padding: 0.15em;
|
|
|
|
border-radius: 0.25em;
|
|
|
|
font-size: 95%;
|
|
|
|
|
|
|
|
pre & {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// COLORS //
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--auto-grid-min-size: 17rem;
|
2019-11-29 17:45:38 +01:00
|
|
|
|
|
|
|
--l-gap: 1rem;
|
2019-11-22 12:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// TYPOGRAPHY //
|
|
|
|
$sans-serif: monotype-grotesque, 'Lucida Sans', sans-serif;
|
|
|
|
$serif: orpheuspro, Palatino, Times, serif;
|
|
|
|
$ext-sans: monotype-grotesque-extended, Arial Black, sans-serif;
|
|
|
|
$con-sans: monotype-grotesque-condensed, Arial Narrow, sans-serif;
|
|
|
|
|
|
|
|
$thin: 200;
|
|
|
|
$light: 300;
|
|
|
|
$regular: 400;
|
|
|
|
$medium: 500;
|
|
|
|
$bold: 700;
|
|
|
|
|
|
|
|
//MIXINS
|
|
|
|
|
|
|
|
@mixin icon__avoid() {
|
|
|
|
content: '🚨';
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin icon__alt() {
|
|
|
|
content: '👍';
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin icon__tool() {
|
|
|
|
content: '🧰';
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin icon__hanging() {
|
|
|
|
margin-left: -2.15rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin icon__embed() {
|
|
|
|
margin-right: 0.35rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
border-top: 1rem solid red;
|
|
|
|
font-family: $sans-serif;
|
2020-02-16 14:32:54 -07:00
|
|
|
font-size: pxToRem(20);
|
2019-11-22 12:30:55 +01:00
|
|
|
padding: 2rem;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-family: $ext-sans;
|
|
|
|
font-weight: $bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4 {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0.75rem 0;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
line-height: 1.25;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
|
|
|
border-bottom: darkgrey solid 0.1em;
|
|
|
|
font-family: $ext-sans;
|
|
|
|
margin: 1rem 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom: red solid 0.1rem;
|
|
|
|
}
|
2020-02-09 19:24:35 -08:00
|
|
|
&:focus {
|
2020-02-16 12:14:24 -07:00
|
|
|
outline: pxToRem(3) solid $primary-color;
|
|
|
|
outline-offset: pxToRem(5);
|
2020-02-09 19:24:35 -08:00
|
|
|
}
|
2019-11-22 12:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.subtitle {
|
|
|
|
font-family: $ext-sans;
|
|
|
|
font-weight: $regular;
|
|
|
|
letter-spacing: 0.1;
|
|
|
|
grid-column: span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul[class] {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.summary {
|
|
|
|
grid-column: span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.small {
|
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title__thicc {
|
2020-01-15 14:18:45 +00:00
|
|
|
// a sensible base font size
|
|
|
|
font-size: 3rem;
|
2019-11-22 12:30:55 +01:00
|
|
|
line-height: 0.75;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0.5rem 0rem;
|
|
|
|
// transform: rotateZ(90deg);
|
|
|
|
// margin: 13rem -7rem;
|
|
|
|
}
|
|
|
|
|
2020-02-16 12:14:24 -07:00
|
|
|
@media (min-width: 51rem) and (min-height: #{pxToRem(400)}) {
|
2020-01-15 14:18:45 +00:00
|
|
|
// a dramatic font size
|
|
|
|
.title__thicc {
|
|
|
|
font-size: 12vh;
|
2020-02-07 15:44:31 -08:00
|
|
|
}
|
2020-01-15 14:18:45 +00:00
|
|
|
}
|
|
|
|
|
2020-02-16 12:14:24 -07:00
|
|
|
@media (min-width: 51rem) and (min-height: #{pxToRem(850)}) {
|
2020-01-15 14:18:45 +00:00
|
|
|
// cap the max-height of the title
|
|
|
|
// at the same size that 12vh computes to
|
|
|
|
// when the viewport is 850px high
|
|
|
|
.title__thicc {
|
|
|
|
font-size: 6.75rem;
|
2020-02-07 15:44:31 -08:00
|
|
|
}
|
2020-01-15 14:18:45 +00:00
|
|
|
}
|
|
|
|
|
2020-02-16 12:14:24 -07:00
|
|
|
@media (min-width: #{pxToRem(800)}) {
|
2020-01-15 12:56:05 +00:00
|
|
|
.title__thicc {
|
2020-02-07 15:44:31 -08:00
|
|
|
grid-column: 1 / 3;
|
2020-01-15 12:56:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.title__thicc + p {
|
|
|
|
grid-column: 1 / 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-22 12:30:55 +01:00
|
|
|
.help {
|
|
|
|
margin: 1rem 0;
|
|
|
|
li {
|
|
|
|
margin: 0.75rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
// GRID //
|
|
|
|
|
|
|
|
.grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(4, [col] 1fr [col]);
|
|
|
|
grid-template-rows: fit-content, fit-content, auto;
|
|
|
|
grid-row-gap: 10rem;
|
|
|
|
grid-column-gap: 4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(
|
|
|
|
auto-fill,
|
|
|
|
minmax(var(--auto-grid-min-size), 1fr)
|
|
|
|
);
|
2019-11-29 17:45:38 +01:00
|
|
|
grid-gap: var(--l-gap);
|
|
|
|
}
|
|
|
|
|
2020-01-15 16:13:36 +01:00
|
|
|
@import './structures/multi-column';
|
2020-01-15 16:13:23 +01:00
|
|
|
@import './structures/table-of-content';
|
2019-11-22 12:30:55 +01:00
|
|
|
|
|
|
|
.small-left-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-gap: 1rem;
|
|
|
|
|
2020-02-16 12:14:24 -07:00
|
|
|
@media (min-width: #{pxToRem(800)}) {
|
2019-11-22 12:30:55 +01:00
|
|
|
grid-template-columns: 10rem 60ch;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
align-items: start;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.box {
|
|
|
|
background: black;
|
|
|
|
color: white;
|
|
|
|
padding: 1rem;
|
|
|
|
margin: 1rem 0.5rem;
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-headline {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list {
|
|
|
|
ol {
|
|
|
|
padding: 0 0 0 1em;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
|
|
|
|
&.subterm {
|
2020-02-16 12:14:24 -07:00
|
|
|
padding-left: pxToRem(10);
|
2019-11-22 12:30:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.subterm:before {
|
|
|
|
content: '\21B3';
|
2020-02-16 12:14:24 -07:00
|
|
|
padding-right: pxToRem(5);
|
2019-11-22 12:30:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.style__italics {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.word {
|
|
|
|
--word-signal-color: currentColor;
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
font-family: $serif;
|
|
|
|
font-weight: 900;
|
|
|
|
font-size: 2.5rem;
|
|
|
|
line-height: 1.25;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
@supports (display: grid) {
|
|
|
|
// align-items: flex-start;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 4fr;
|
|
|
|
grid-gap: 1rem;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > p {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
font-family: $sans-serif;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
& h4 {
|
|
|
|
grid-column: 1;
|
|
|
|
font-family: $con-sans;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
font-weight: normal;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
text-transform: uppercase;
|
|
|
|
transform: translateY(0.4em);
|
|
|
|
|
|
|
|
@supports (display: grid) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& h4,
|
|
|
|
& h4 + * {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
& h4 ~ p,
|
|
|
|
& h4 ~ ul {
|
|
|
|
// border-left: 0.1rem solid lightgrey;
|
|
|
|
// padding-left: 1rem;
|
|
|
|
grid-column: 2;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__speech {
|
|
|
|
font-size: 0.5em;
|
|
|
|
font-family: $sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__signal {
|
2020-02-16 12:14:24 -07:00
|
|
|
border-top: pxToRem(1) solid var(--word-signal-color);
|
2019-11-22 12:30:55 +01:00
|
|
|
color: var(--word-signal-color);
|
|
|
|
display: inline-block;
|
|
|
|
font-family: $ext-sans;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
letter-spacing: 0.15rem;
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
|
|
|
&--avoid {
|
2020-02-07 15:44:31 -08:00
|
|
|
--word-signal-color: #a40000;
|
2019-11-22 12:30:55 +01:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
@include icon__avoid();
|
|
|
|
@include icon__hanging();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--better {
|
|
|
|
--word-signal-color: green;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
@include icon__alt();
|
|
|
|
@include icon__hanging();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--tool {
|
|
|
|
&:before {
|
|
|
|
@include icon__tool();
|
|
|
|
@include icon__hanging();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.block__dictionary {
|
|
|
|
max-width: 50rem;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding: 0 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block__word {
|
|
|
|
grid-column: span 2;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block__type {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 4fr;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.word__type {
|
|
|
|
text-align: right;
|
|
|
|
padding-right: 1rem;
|
|
|
|
font-family: $con-sans;
|
|
|
|
font-size: 0.85rem;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.word__link {
|
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
|
|
|
border-bottom: darkgrey solid 0.1em;
|
|
|
|
font-family: $ext-sans;
|
|
|
|
}
|
|
|
|
|
|
|
|
.word__breakdown {
|
|
|
|
font-family: $sans-serif;
|
|
|
|
border-left: 0.1rem solid lightgrey;
|
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag__red {
|
|
|
|
background-color: rgb(255, 192, 203);
|
|
|
|
font-size: 0.9rem;
|
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 1rem;
|
|
|
|
padding: 0.45rem 0.65rem;
|
|
|
|
margin: 0.25rem 0.75rem;
|
|
|
|
text-transform: lowercase;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
@include icon__avoid();
|
|
|
|
@include icon__embed();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-semicolon {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
& > li {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
&:not(:last-child)::after {
|
|
|
|
content: '; ';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-footer {
|
|
|
|
margin-top: 3rem;
|
|
|
|
}
|
2019-11-29 17:45:38 +01:00
|
|
|
|
|
|
|
.u-no-padding-left {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
}
|