www/styles/global.css

373 lines
6.7 KiB
CSS
Raw Normal View History

2022-04-27 09:10:49 +00:00
:root {
2022-04-28 14:13:27 +00:00
--main-background-color: #0d1117;
2022-04-27 09:10:49 +00:00
--main-border-color: #555555;
2022-04-28 14:13:27 +00:00
--link-color: #009dff;
--primary-green: #099945;
--secondary-green: #1a3a15;
--tertiary-green: #0f200c;
--primary-blue: #0a82b1;
--secondary-blue: #05455f;
--tertiary-blue: #05232f;
2022-04-27 09:10:49 +00:00
}
2021-12-08 03:38:31 +00:00
@font-face {
font-family: 'Cantarell';
2022-05-15 13:56:45 +00:00
src: url('/assets/fonts/Cantarell/Cantarell-Regular.otf') format('opentype');
2021-12-08 03:38:31 +00:00
font-weight: normal;
font-style: normal;
}
2021-12-08 08:07:00 +00:00
@font-face {
font-family: 'Cantarell';
2022-05-15 13:56:45 +00:00
src: url('/assets/fonts/Cantarell/Cantarell-Thin.otf') format('opentype');
2021-12-08 08:07:00 +00:00
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Cantarell';
2022-05-15 13:56:45 +00:00
src: url('/assets/fonts/Cantarell/Cantarell-Light.otf') format('opentype');
2021-12-08 08:07:00 +00:00
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Cantarell';
2022-05-15 13:56:45 +00:00
src: url('/assets/fonts/Cantarell/Cantarell-Bold.otf') format('opentype');
2021-12-08 08:07:00 +00:00
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Cantarell';
2022-05-15 13:56:45 +00:00
src: url('/assets/fonts/Cantarell/Cantarell-ExtraBold.otf') format('opentype');
2021-12-08 08:07:00 +00:00
font-weight: 800;
font-style: normal;
}
2022-05-15 13:56:45 +00:00
@font-face {
font-family: 'EB Garamond';
src: url('/assets/fonts/EB_Garamond/static/EBGaramond-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'EB Garamond';
src: url('/assets/fonts/EB_Garamond/static/EBGaramond-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'EB Garamond';
src: url('/assets/fonts/EB_Garamond/static/EBGaramond-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
}
2021-12-08 08:07:00 +00:00
2022-05-15 22:55:12 +00:00
@font-face {
font-family: 'Hack';
src: url('/assets/fonts/Hack/hack-regular-subset.woff2?sha=3114f1256') format('woff2'), url('/assets/fonts/Hack/hack-regular-subset.woff?sha=3114f1256') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Hack';
src: url('/assets/fonts/Hack/hack-bold-subset.woff2?sha=3114f1256') format('woff2'), url('/assets/fonts/Hack/hack-bold-subset.woff?sha=3114f1256') format('woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Hack';
src: url('/assets/fonts/Hack/hack-italic-subset.woff2?sha=3114f1256') format('woff2'), url('/assets/fonts/Hack/hack-italic-webfont.woff?sha=3114f1256') format('woff');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Hack';
src: url('/assets/fonts/Hack/hack-bolditalic-subset.woff2?sha=3114f1256') format('woff2'), url('/assets/fonts/Hack/hack-bolditalic-subset.woff?sha=3114f1256') format('woff');
font-weight: 700;
font-style: italic;
}
2021-12-08 03:38:31 +00:00
* {
box-sizing: border-box;
}
body {
2022-05-15 13:56:45 +00:00
font-family: 'Cantarell', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
2021-12-08 03:38:31 +00:00
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
body {
margin: 0 0 4rem;
2021-12-08 03:38:31 +00:00
font-size: 18px;
font-weight: 400;
line-height: 1.5;
2022-04-28 14:13:27 +00:00
color: #ffffff;
2021-12-08 03:38:31 +00:00
text-align: left;
height: 100%;
2022-04-28 14:13:27 +00:00
background-color: var(--main-background-color);
2021-12-08 03:38:31 +00:00
background-size: cover;
padding-bottom: 2.5rem;
}
[tabindex="-1"]:focus {
outline: 0 !important;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
h1,
.h1 {
font-size: 2.5rem;
}
h2,
.h2 {
font-size: 2rem;
}
h3,
.h3 {
font-size: 1.75rem;
}
h4,
.h4 {
font-size: 1.5rem;
}
h5,
.h5 {
font-size: 1.25rem;
}
h6,
.h6 {
font-size: 1rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
a {
2022-04-28 14:13:27 +00:00
color: var(--link-color);
2021-12-08 03:38:31 +00:00
text-decoration: underline;
background-color: transparent;
outline: none;
}
2022-04-28 14:13:27 +00:00
2021-12-08 03:38:31 +00:00
a:hover {
text-decoration: underline;
}
2022-04-28 14:13:27 +00:00
2021-12-08 03:38:31 +00:00
a:focus {
text-decoration: underline dotted;
}
section {
margin: 0.5rem;
}
2022-04-28 16:37:12 +00:00
pre {
width: 100%;
2022-05-15 22:55:12 +00:00
max-width: 100%;
overflow-x: auto;
}
pre,
kbd,
code {
font-family: 'Hack', 'Source Code Pro', Consolas, monospace;
font-size: 0.9rem;
2022-04-28 16:37:12 +00:00
}
table {
display: flex;
flex-direction: column;
2022-04-30 13:56:18 +00:00
margin: 1rem 0;
overflow: hidden;
2022-04-28 16:37:12 +00:00
}
table thead {
background: var(--secondary-green);
2022-04-30 13:56:18 +00:00
z-index: -1;
2022-04-28 16:37:12 +00:00
}
table thead tr,
table tbody tr {
display: flex;
}
table tbody tr+tr {
2022-04-30 13:56:18 +00:00
border-top: 1px solid #999999;
2022-04-28 16:37:12 +00:00
}
table thead tr th,
table tbody tr td {
display: flex;
flex: 1;
2022-05-15 13:56:45 +00:00
padding: .25rem 0.75rem;
2022-04-30 13:56:18 +00:00
}
2021-12-08 03:38:31 +00:00
.lambda-logo {
width: 256px;
height: 256px;
position: fixed;
bottom: 0;
left: 0;
z-index: -1;
}
2022-04-27 09:10:49 +00:00
.container {
2022-04-24 00:35:53 +00:00
max-width: 1018px;
margin: 0 auto;
2022-04-27 09:10:49 +00:00
position: relative;
}
.block {
2022-04-30 13:56:18 +00:00
display: block;
2022-04-27 09:10:49 +00:00
padding: 1.5rem;
max-width: 100%;
2022-04-30 13:56:18 +00:00
margin: 1rem 0.25rem;
border-radius: 1rem;
}
code {
2022-05-15 22:55:12 +00:00
overflow-x: auto;
max-width: 100%;
display: inline-block;
background-color: rgba(255, 255, 255, 0.1);
padding: 0.1rem 0.5rem;
vertical-align: bottom;
2022-04-27 09:10:49 +00:00
}
.button {
padding: 0.2rem 1rem;
margin: 0.3rem 0.3rem;
2022-04-28 13:24:17 +00:00
color: #ffffff;
2022-04-28 14:13:27 +00:00
background: var(--primary-green);
2022-04-27 09:10:49 +00:00
display: inline-block;
text-decoration: none;
transition: 100ms ease-in-out all;
border-radius: 0.5rem;
2022-04-28 13:24:17 +00:00
box-shadow: none;
2022-04-27 09:10:49 +00:00
}
.button:hover {
text-decoration: none;
2022-04-28 14:13:27 +00:00
background: var(--secondary-green);
box-shadow: 0 0 0 1px var(--secondary-green);
2022-04-28 13:24:17 +00:00
}
.button:focus {
box-shadow: 0 0 0 2px #ffffff;
2022-04-27 09:10:49 +00:00
}
.button:active {
text-decoration: none;
box-shadow: none;
2022-04-28 13:24:17 +00:00
color: #cccccc;
2022-04-28 14:13:27 +00:00
background: var(--tertiary-green);
2022-04-28 13:24:17 +00:00
box-shadow: none;
2022-04-27 09:10:49 +00:00
}
.button.blue {
2022-04-28 14:13:27 +00:00
background: var(--primary-blue);
2022-04-27 09:10:49 +00:00
}
.button.blue:hover {
2022-04-28 14:13:27 +00:00
background: var(--secondary-blue);
box-shadow: 0 0 0 1px var(--secondary-blue);
2022-04-28 13:24:17 +00:00
}
.button.blue:active {
2022-04-28 14:13:27 +00:00
background: var(--tertiary-blue);
2022-04-28 14:05:26 +00:00
box-shadow: none;
}
.text.center {
text-align: center;
}
.no-display {
display: none;
}
.button.link::after {
content: ' \2192';
display: inline-block;
transition: 100ms ease-in-out all;
margin-left: 0.3rem;
}
.button.link:hover {
display: inline-block;
transition: 100ms ease-in-out all;
}
.button.link:hover::after {
transform: translateX(0.2rem) scale(1.3);
}
.button.link.extern:hover::after {
transform: rotateZ(-45deg) scale(1.5);
}
.button.link.back::before {
content: ' \2190';
display: inline-block;
transition: 100ms ease-in-out all;
margin-right: 0.3rem;
2022-04-28 13:24:17 +00:00
}
2022-04-28 14:05:26 +00:00
.button.link:hover::before {
transform: translateX(-0.2rem) scale(1.3);
}
.button.link.back::after {
content: '';
display: none;
}
.monospace {
font-family: 'Hack', 'Source Code Pro', Consolas, monospace;
2022-09-28 04:01:03 +00:00
}
.license {
background-color: #222222;
padding: 1rem;
2022-04-28 14:13:27 +00:00
}