167 lines
2.6 KiB
CSS
167 lines
2.6 KiB
CSS
:root {
|
|
--background: rgb(43, 41, 48);
|
|
--foreground: rgb(129, 129, 129);
|
|
--light: #2b2930;
|
|
font-family: "Work Sans", monospace;
|
|
}
|
|
|
|
.custom-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(37vw, 1fr));
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.custom-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
}
|
|
}
|
|
|
|
/* work-sans-regular - latin */
|
|
@font-face {
|
|
font-family: "Work Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("/fonts/work-sans-v18-latin-regular.woff2") format("woff2");
|
|
}
|
|
|
|
/* work-sans-700 - latin */
|
|
@font-face {
|
|
font-family: "Work Sans";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url("/fonts/work-sans-v18-latin-700.woff2") format("woff2");
|
|
}
|
|
|
|
body {
|
|
background: #141218;
|
|
padding: 0px 20px;
|
|
font-family: "Work Sans", monospace;
|
|
}
|
|
|
|
pre {
|
|
font-family: "Work Sans", monospace;
|
|
}
|
|
|
|
a {
|
|
color: cadetblue;
|
|
font-family: "Work Sans", monospace;
|
|
}
|
|
|
|
.animate-hover {
|
|
animation: hover 4s infinite;
|
|
}
|
|
|
|
@keyframes hover {
|
|
|
|
0%,
|
|
100% {
|
|
transform: translateY(-15%);
|
|
}
|
|
|
|
50% {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.fix-border::before {
|
|
content: "";
|
|
width: calc(100% + 2px);
|
|
height: calc(100% + 2px);
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
border: solid thin #141218;
|
|
border-radius: 1.5rem;
|
|
}
|
|
|
|
.noisy-gradient::after {
|
|
content: "";
|
|
top: 0;
|
|
left: 0;
|
|
position: absolute;
|
|
height: 100%;
|
|
width: 100%;
|
|
filter: saturate(0) brightness(2);
|
|
background: url("/grainy-gradient.png");
|
|
background-size: contain;
|
|
background-position: 0px 0px;
|
|
}
|
|
|
|
.octicon-link {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.octicon-link path {
|
|
fill: #dcdbdc;
|
|
}
|
|
|
|
.items-52>* {
|
|
height: 52px;
|
|
}
|
|
|
|
.highlight>pre {
|
|
text-wrap: wrap;
|
|
}
|
|
|
|
.list-decimal li::marker {
|
|
color: #8a898c;
|
|
}
|
|
|
|
main {
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
main.loading {
|
|
opacity: 0;
|
|
}
|
|
|
|
.markdown-body>h1 {
|
|
font-size: 2.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.markdown-body>h2 {
|
|
font-size: 1.75rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.markdown-body>h3 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.markdown-body>h1>.anchor,
|
|
.markdown-body>h2>.anchor,
|
|
.markdown-body>h3>.anchor {
|
|
display: inline-flex;
|
|
margin-left: -26px;
|
|
margin-right: 12px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.markdown-body>h1:hover .anchor,
|
|
.markdown-body>h2:hover .anchor,
|
|
.markdown-body>h3:hover .anchor {
|
|
opacity: 1;
|
|
}
|
|
|
|
input::-webkit-outer-spin-button,
|
|
input::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Firefox */
|
|
input[type="number"] {
|
|
-moz-appearance: textfield;
|
|
appearance: textfield;
|
|
}
|
|
|
|
.object-cover {
|
|
object-position: 50% 33%;
|
|
}
|