You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
444 lines
7.8 KiB
CSS
444 lines
7.8 KiB
CSS
@font-face {
|
|
font-family: 'Rubik';
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: local(''),
|
|
url('/static/fonts/rubik-v20-latin-300.woff2') format('woff2'),
|
|
url('/static/fonts/rubik-v20-latin-300.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Rubik';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: local(''),
|
|
url('/static/fonts/rubik-v20-latin-700.woff2') format('woff2'),
|
|
url('/static/fonts/rubik-v20-latin-700.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Rubik';
|
|
font-style: normal;
|
|
font-weight: 800;
|
|
src: local(''),
|
|
url('/static/fonts/rubik-v20-latin-800.woff2') format('woff2'),
|
|
url('/static/fonts/rubik-v20-latin-800.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Rubik';
|
|
font-style: italic;
|
|
font-weight: 300;
|
|
src: local(''),
|
|
url('/static/fonts/rubik-v20-latin-300italic.woff2') format('woff2'),
|
|
url('/static/fonts/rubik-v20-latin-300italic.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local(''),
|
|
url('/static/fonts/jetbrains-mono-v12-latin-regular.woff2') format('woff2'),
|
|
url('/static/fonts/jetbrains-mono-v12-latin-regular.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: local(''),
|
|
url('/static/fonts/jetbrains-mono-v12-latin-700.woff2') format('woff2'),
|
|
url('/static/fonts/jetbrains-mono-v12-latin-700.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: local(''),
|
|
url('/static/fonts/jetbrains-mono-v12-latin-italic.woff2') format('woff2'),
|
|
url('/static/fonts/jetbrains-mono-v12-latin-italic.woff') format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
src: local(''),
|
|
url('/static/fonts/jetbrains-mono-v12-latin-700italic.woff2') format('woff2'),
|
|
url('/static/fonts/jetbrains-mono-v12-latin-700italic.woff') format('woff');
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
grid-template-areas:
|
|
"header"
|
|
"main"
|
|
"footer";
|
|
grid-template-columns: 100%;
|
|
grid-template-rows: auto 1fr auto;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Rubik, sans-serif;
|
|
font-size: 1.1rem;
|
|
line-height: 1.4;
|
|
font-weight: 300;
|
|
background-color: #94BFBE;
|
|
color: white;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
figure {
|
|
width: fit-content;
|
|
margin: 0;
|
|
}
|
|
|
|
figcaption {
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
figcaption a {
|
|
color: inherit;
|
|
}
|
|
|
|
a:link {
|
|
color: #0960BA;
|
|
}
|
|
|
|
a:visited {
|
|
color: #72109B;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: circle;
|
|
}
|
|
|
|
li {
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 700;
|
|
}
|
|
|
|
#page_header {
|
|
background-color: #94BFBE;
|
|
color: white;
|
|
}
|
|
|
|
#page_nav {
|
|
padding: 1rem 1rem;
|
|
margin: 0 auto;
|
|
max-width: 60rem;
|
|
}
|
|
|
|
#page_nav #title_box {
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
#page_nav #right_nav_box {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
}
|
|
|
|
#page_nav ul {
|
|
list-style-type: none;
|
|
display: grid;
|
|
grid-template-columns: repeat(5, auto);
|
|
grid-template-rows: 100%;
|
|
column-gap: 1rem;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
padding: 0;
|
|
font-size: 1.2rem;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#page_nav li {
|
|
margin: 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#page_nav a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
#page_main {
|
|
background-color: white;
|
|
color: black;
|
|
}
|
|
|
|
#page_footer {
|
|
background-color: #94BFBE;
|
|
color: white;
|
|
}
|
|
|
|
#page_footer_content {
|
|
padding: 1rem 1rem;
|
|
margin: 0 auto;
|
|
max-width: 60rem;
|
|
color: white;
|
|
}
|
|
|
|
#page_footer_content ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: grid;
|
|
grid-template-rows: repeat(3, auto);
|
|
row-gap: 0.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
#page_footer_content li {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#page_footer_content a {
|
|
color: inherit;
|
|
}
|
|
|
|
.sticky_header {
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.offwhite {
|
|
background-color: white;
|
|
padding: 2rem 8rem;
|
|
}
|
|
|
|
.textsection {
|
|
background-color: #F5F5F0;
|
|
padding: 1rem 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
#content {
|
|
margin: 0 auto;
|
|
padding: 1rem 1rem 2rem 1rem;
|
|
max-width: 60rem;
|
|
}
|
|
|
|
.content_section {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.quiet {
|
|
color: #898989;
|
|
}
|
|
|
|
.quiet a {
|
|
color: inherit;
|
|
}
|
|
|
|
ul.articles_list {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.articles_list li {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.article_list_subtitle {
|
|
margin-top: 0.25rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.article_list_published_date {
|
|
color: #898989;
|
|
font-size: 1rem;
|
|
margin-top: 0.25rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.article_header {
|
|
padding-bottom: 1rem;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 2rem;
|
|
border-bottom: 2px solid #94BFBE;
|
|
}
|
|
|
|
.article_title {
|
|
font-size: 2rem;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.article_subtitle {
|
|
font-size: 1.2rem;
|
|
margin-top: 0.25rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.article_published_date {
|
|
color: #898989;
|
|
font-size: 1rem;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.article_edit {
|
|
font-size: 1rem;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.article_edit a {
|
|
color: #898989;
|
|
}
|
|
|
|
.codeblock {
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 2rem;
|
|
background-color: #FAF9F6;
|
|
border-radius: 5px;
|
|
box-shadow: 3px 3px 10px #C9C9C9;
|
|
}
|
|
|
|
.codeblock_banner {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-top-left-radius: 5px;
|
|
border-top-right-radius: 5px;
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
padding-top: 0.3rem;
|
|
padding-bottom: 0.3rem;
|
|
color: white;
|
|
}
|
|
|
|
.codeblock_code {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
margin: 0;
|
|
font-size: 0.9rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.codeblock_code code {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
.inline_code {
|
|
background-color: #F0F0F0;
|
|
padding-left: 0.2rem;
|
|
padding-right: 0.2rem;
|
|
border-radius: 5px;
|
|
font-size: 1rem;
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
.codeblock_banner {
|
|
background-color: #94BFBE;
|
|
}
|
|
|
|
.article_content img {
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 5px;
|
|
box-shadow: 3px 3px 10px #C9C9C9;
|
|
}
|
|
|
|
.article_content h1,
|
|
.article_content h2,
|
|
.article_content h3 {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.article_content blockquote {
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
border-left: 5px solid #C9C9C9;
|
|
padding-left: 1rem;
|
|
padding-top: 0.5rem;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.article_content blockquote p {
|
|
margin: 0;
|
|
}
|
|
|
|
@media screen and (min-width: 22em) {
|
|
#page_nav #title_box {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.article_title {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.codeblock_code {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 40em) {
|
|
#page_nav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
padding: 1rem 2rem;
|
|
}
|
|
|
|
#page_nav #title_box {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
#page_footer_content {
|
|
padding: 1rem 2rem;
|
|
}
|
|
|
|
#page_footer_content ul {
|
|
grid-template-columns: repeat(3, auto);
|
|
grid-template-rows: 100%;
|
|
column-gap: 1rem;
|
|
row-gap: 0;
|
|
width: fit-content;
|
|
}
|
|
|
|
#content {
|
|
padding: 2rem 2rem 4rem 2rem;
|
|
}
|
|
|
|
.article_title {
|
|
font-size: 3rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 50rem) {
|
|
#page_nav ul {
|
|
column-gap: 1.5rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|