www/styles/global.css

237 lines
3.6 KiB
CSS
Raw Normal View History

2022-04-27 09:10:49 +00:00
:root {
--main-border-color: #555555;
}
2021-12-08 03:38:31 +00:00
@font-face {
font-family: 'Cantarell';
2021-12-08 08:07:00 +00:00
src: url('/assets/fonts/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';
src: url('/assets/fonts/Cantarell-Thin.otf') format('opentype');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Cantarell';
src: url('/assets/fonts/Cantarell-Light.otf') format('opentype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Cantarell';
src: url('/assets/fonts/Cantarell-Bold.otf') format('opentype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Cantarell';
src: url('/assets/fonts/Cantarell-ExtraBold.otf') format('opentype');
font-weight: 800;
font-style: normal;
}
2021-12-08 03:38:31 +00:00
* {
box-sizing: border-box;
}
body {
font-family: 'Cantarell', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
body {
margin: 0 0 1rem;
font-size: 18px;
font-weight: 400;
line-height: 1.5;
color: #fff;
text-align: left;
height: 100%;
background-color: #0d1117;
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 {
color: #009dff;
text-decoration: underline;
background-color: transparent;
outline: none;
}
a:hover {
text-decoration: underline;
}
a:focus {
text-decoration: underline dotted;
}
section {
margin: 0.5rem;
}
.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 {
padding: 1.5rem;
max-width: 100%;
margin: 0 0.25rem;
border: 1px solid var(--main-border-color);
border-bottom: none;
}
.block:first-of-type {
border-top-right-radius: 1rem;
border-top-left-radius: 1rem;
margin-top: 2rem;
}
.block:last-of-type {
2022-04-27 09:10:49 +00:00
border-bottom: 1px solid var(--main-border-color);
border-bottom-right-radius: 1rem;
border-bottom-left-radius: 1rem;
margin-bottom: 2rem;
}
code {
overflow-x: scroll;
max-width: 100%;
display: inline-block;
background-color: rgba(255, 255, 255, 0.1);
font-size: 1rem;
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;
background:#099945;
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 13:24:17 +00:00
background:#1a3a15;
box-shadow: 0 0 0 1px #1a3a15;
}
.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;
background:#0f200c;
box-shadow: none;
2022-04-27 09:10:49 +00:00
}
.button.blue {
2022-04-28 13:24:17 +00:00
background: #0a82b1;
2022-04-27 09:10:49 +00:00
}
.button.blue:hover {
2022-04-28 13:24:17 +00:00
background:#05455f;
box-shadow: 0 0 0 1px #05455f;
}
.button.blue:active {
background:#05232f;
}