This repository has been archived on 2023-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
old-website/static/css/main.css
2023-04-30 04:32:43 -05:00

174 lines
2.3 KiB
CSS

html, body {
min-height: 100vh;
max-width: 100%;
margin: 0;
padding: 0;
background-color: black;
background-image: url("/static/img/stars.gif");
color: #ffffff;
}
body {
font-family: "Shippori Antique", Arial, Helvetica, sans-serif;
display: grid;
place-items: center;
min-height: 100vh;
max-width: 100%;
}
.main {
background: #282828;
color: #ffffff;
width: 80ch;
border-radius: 8px;
display: flex;
flex-direction: column;
margin: 0 auto;
padding: 10px;
max-width: calc(100% - 20px);
}
.center {
text-align: center;
}
.no-margin,
.block > * {
margin: 0;
}
.no-margin-on-bottom {
margin-bottom: 0;
}
.no-margin-on-top {
margin-top: 0;
}
a {
color: #a8d3ff;
font-weight: bolder;
text-decoration: none;
position: relative;
overflow: hidden;
display: inline-block;
}
p a, ul a {
margin-bottom: -5px;
}
a.no-fancy {
position: initial;
margin: 0;
text-decoration: none;
}
a.linked-image {
margin-bottom: -4px;
}
@media (prefers-reduced-motion) {
a::after {
display: none !important;
}
a {
position: initial;
margin: 0;
text-decoration: none;
}
}
a:not(.no-fancy)::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background: #a8d3ff;
transform: translate3d(-110%, 0, 0);
transition: transform 0.3s;
}
a:not(.no-fancy):hover::after,
a:not(.no-fancy):focus::after {
transform: translate3d(0, 0, 0);
}
.floater > .float-left {
float: left;
}
.floater > .float-left::after {
content: " ";
clear: both;
display: table;
}
.main > hr {
width: 100%;
margin: 0;
}
.pfp {
width: 100px;
border-radius: 50%;
}
.pfp-source {
font-size: xx-small;
margin: 0;
}
.tll, .tll * {
text-align: left;
}
.small-margin-inside > * {
margin: 0.5vh 0;
}
ul.hori-list {
padding: 0;
}
ul.hori-list > li {
display: inline;
}
.bold {
font-weight: bold;
}
img {
max-width: 100%;
width: fit-content;
}
.block {
background: #000000;
padding: 10px;
border-radius: 5px;
}
code {
display: inline-flex;
background: #000000;
color: #ffffff;
padding: 2px;
border-radius: 4px;
max-width: 100%;
margin: 0 !important;
overflow: auto;
overflow-wrap: break-word;
}
code.no-scroll {
display: inline-block !important;
}
.definition {
font-style: italic;
}