This repository has been archived on 2024-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
library/sass/main.scss

179 lines
3.3 KiB
SCSS

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
// hello if you are reading this please remind me to clean this up
body {
background-color: #150e41;
color: #eceafa;
font-family: 'Crimson Text', serif;
max-width: 900px;
margin: auto;
padding: 48px 24px;
}
.title {
h1 {
font-weight: 400;
margin: 0.25em 0;
}
p {
margin: 0;
}
line-height: 100%;
}
.search {
width: calc(100% - 72px);
height: 36px;
margin: 24px;
padding: 4px 12px;
background: #423c63;
border: 1px #6a6391 solid;
border-radius: 4px;
box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.25);
color: #d9d5f3;
font-size: 1.5em;
font-family: 'Crimson Text', serif;
}
.categories {
max-width: 600px;
margin: 12px auto;
display: flex;
flex-flow: row wrap;
justify-content: space-around;
.category {
width: calc(50% - 24px);
padding: 4px 0;
margin: 12px;
* {
margin: 0;
}
.category-link {
display: flex;
align-items: center;
.icon {
margin-right: 4px;
margin-left: -2px;
}
}
}
}
a, a:focus {
color: #d9d5f3
}
.icon {
width: 24px;
}
.page {
padding: 4px 0;
margin: 0 26px;
* {
margin: 0;
}
.page-title {
display: flex;
align-items: center;
.icon {
margin-right: 4px;
margin-left: -2px;
}
}
}
.contribute {
width: calc(100% - 72px);
margin: 24px;
padding: 18px 12px;
background-image: url(/img/contribute.jpg);
background-repeat: no-repeat;
background-position: center right;
background-color: #1f1a14;
border: 1px #1f1b11 solid;
border-radius: 4px;
box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.25);
color: #f8f3ec;
font-family: 'Crimson Text', serif;
h2,p {
margin: 0;
}
.button {
background-color: #f8f3ec;
color: #1f1a14;
padding: 4px 8px;
border-radius: 4px;
margin: 12px 0;
text-decoration: none;
}
}
.infobox {
max-width: 400px;
margin: 24px auto;
padding: 12px;
background: #EBE5CD;
color: #181818;
a {
color: #181818;
a:focus {
color: #181818;
}
}
text-align: center;
}
.infobox-error {
background: #ddb1b1;
}
.infobox-important {
background: #faecc0;
}
pre {
width: calc(100% - 72px);
margin: 24px;
padding: 4px 12px;
background: #2b303b;
border: 1px #6a6391 solid;
border-radius: 4px;
box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.25);
color: #d9d5f3;
font-family: 'Jetbrains Mono', monospace;
font-size: 0.9em;
code {
border: none;
padding: none;
}
}
code {
padding: 0 4px;
background: #2b303b;
border: 1px #6a6391 solid;
border-radius: 4px;
font-family: 'Jetbrains Mono', monospace;
font-size: 0.9em;
}
img {
max-width: 100%;
border: 1px #6a6391 solid;
border-radius: 4px;
box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.25);
}