pages/assets/main.css

224 lines
2.7 KiB
CSS

*, *::before, *::after {
box-sizing: border-box;
}
html {
scrollbar-gutter: stable;
}
body {
background-color: #000000;
background-image: url("/assets/stars.gif");
color: #ffffff;
font-family: "Azeret Mono", monospace;
font-weight: 400;
font-variant-ligatures: none;
margin: 0;
padding: 0;
min-height: 100%;
}
button {
font: inherit;
}
.content {
margin: 0.5em auto;
width: 850px;
max-width: 100%;
}
.top {
width: 100%;
background: #000000;
min-height: 54px;
display: grid;
place-items: center;
}
.top h1,
.top p {
display: inline-block;
width: fit-content;
vertical-align: middle;
}
.top .pfp {
width: 36px;
border-radius: 100%;
}
.top-content {
padding: 0 0.5em;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 auto;
width: 100%;
max-width: 850px;
}
.left {
display: flex;
align-items: center;
gap: 0.5em;
}
.left * {
margin: 0;
}
code {
background: #282828;
color: #ffffff;
}
.nm {
margin: 0;
}
.linkable a {
display: none;
color: #bdbdbd;
cursor: pointer;
text-decoration: none;
}
.linkable:hover a,
.linkable:focus a,
.linkable:focus-within a {
display: inline;
}
@media (max-width: 740px) {
.left h1 {
display: none;
}
}
@media (max-width: 530px) {
.left {
display: none;
}
.top-content {
justify-content: center;
text-align: center;
}
}
a {
color: #acf8ff;
}
video {
max-width: 100%;
}
video.small,
img.small {
max-width: 30vw;
min-width: 75%;
}
img {
max-width: 75%;
}
.chunk {
backdrop-filter: blur(2px);
background: #0000;
max-width: 100%;
width: 100%;
padding: 0.5em 0.5em;
}
.chunk h1 {
width: fit-content;
}
.left {
width: fit-content;
}
.right {
display: flex;
align-items: center;
}
.right p {
width: fit-content;
margin: 0;
}
.chunk h1,
.chunk p {
margin: 0 0 1vh 0;
}
.yc-widget {
width: 300px;
height: 450px;
background: transparent;
}
.cwc {
background: #282828;
padding: 10px;
border-radius: 2px;
margin: 0 0 10px 0;
}
.cwc h2 {
margin: 0;
font-size: 26px;
}
.cwc p {
margin: 4px 0;
}
.singleline {
display: grid;
grid-template-columns: 28px 1fr;
align-items: center;
gap: 8px;
}
.singleline img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.cwc .button {
font-size: 0.8em;
display: inline-block;
text-decoration: none;
background: #000000;
color: #ffffff;
padding: 4px;
margin: 2px;
}
.footer {
text-align: right;
}
.copyleft {
font-size: 10px;
color: #787878;
}
.toc {
padding: 10px;
border: 2px solid #ffffff;
width: auto;
display: inline-block;
margin: 10px;
}
.toc h3,
.toc ul {
margin: 0;
}