mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
96a3054e7d
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
94 lines
1.6 KiB
CSS
94 lines
1.6 KiB
CSS
@import url("https://cdn.jsdelivr.net/npm/hack-font@3/build/web/hack.min.css");
|
|
|
|
:root {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
background-color: #262220;
|
|
color: #f9f6e8;
|
|
font-family: Hack, hack, monospace;
|
|
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
word-wrap: break-word;
|
|
/*
|
|
* Removed because users asked to to:
|
|
* word-break: break-all;
|
|
* */
|
|
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
code,
|
|
code *,
|
|
pre,
|
|
pre * {
|
|
white-space: pre-wrap;
|
|
white-space: -moz-pre-wrap;
|
|
white-space: -pre-wrap;
|
|
white-space: -o-pre-wrap;
|
|
}
|
|
|
|
body {
|
|
margin: auto;
|
|
padding: 2rem;
|
|
max-width: 1100px;
|
|
min-height: 100vh;
|
|
text-rendering: optimizeSpeed;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin: 1em;
|
|
font-size: 2em;
|
|
}
|
|
|
|
li {
|
|
margin: 0.5em;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
text-shadow: 0px 0px 6px white;
|
|
}
|
|
|
|
code {
|
|
white-space: pre-wrap !important;
|
|
}
|
|
|
|
#info-bar {
|
|
text-align: center;
|
|
}
|
|
|
|
#blog-content {
|
|
padding: 0.3em;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
-webkit-animation-duration: 0.01ms !important;
|
|
animation-duration: 0.01ms !important;
|
|
|
|
-webkit-animation-iteration-count: 1 !important;
|
|
animation-iteration-count: 1 !important;
|
|
|
|
-webkit-transition-duration: 0.01ms !important;
|
|
-o-transition-duration: 0.01ms !important;
|
|
transition-duration: 0.01ms !important;
|
|
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|