mirror of
https://github.com/byReqz/nils.lol.git
synced 2024-11-22 10:11:15 +00:00
1271b90bc7
and clean up design
160 lines
2.3 KiB
CSS
160 lines
2.3 KiB
CSS
* {
|
|
font-family: 'Hack','Hack Nerd Font', 'SF Mono', 'Source Code Pro', 'Sauce Code Pro', 'Courier','Consolas', monospace;
|
|
background-color: #0c0a20 !important;
|
|
color: white;
|
|
text-indent:-9999px;
|
|
}
|
|
|
|
#darkreader {
|
|
color: #0c0a20;
|
|
background-color: transparent;
|
|
position: absolute;
|
|
left: 60px;
|
|
}
|
|
|
|
#so {
|
|
position: absolute;
|
|
left: 52%;
|
|
color: white;
|
|
text-indent: 0px;
|
|
}
|
|
|
|
#keys {
|
|
position: absolute;
|
|
right: 52%;
|
|
color: white;
|
|
text-indent: 0px;
|
|
}
|
|
|
|
|
|
a, .toctext {
|
|
color: #DF85FF !important;
|
|
}
|
|
.tocnumber, i {
|
|
color: #FF2E97 !important;
|
|
}
|
|
code {
|
|
color: #ffd400 !important;
|
|
}
|
|
|
|
p {
|
|
text-indent: 0px;
|
|
}
|
|
|
|
::selection {
|
|
background-color:#8b32ad;
|
|
user-select:none
|
|
}
|
|
|
|
body {
|
|
/* color: #333; */
|
|
/* font-family: helvetica, arial, sans-serif; */
|
|
line-height: 1.5;
|
|
margin: 0 auto;
|
|
max-width: 40em;
|
|
padding: 0 1em;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
margin: 1em 0 0.5em 0;
|
|
line-height: 1.2;
|
|
text-indent:0px;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: #03c;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover, a:active, a:focus {
|
|
color: #06f;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1 a:empty:before, h2 a:empty:before, h3 a:empty:before,
|
|
h4 a:empty:before, h5 a:empty:before, h6 a:empty:before {
|
|
content: "#";
|
|
}
|
|
|
|
h1 a:empty, h2 a:empty, h3 a:empty, h4 a:empty, h5 a:empty, h6 a:empty {
|
|
visibility: hidden;
|
|
padding-left: 0.25em;
|
|
}
|
|
|
|
h1:hover a:empty, h2:hover a:empty, h3:hover a:empty,
|
|
h4:hover a:empty, h5:hover a:empty, h6:hover a:empty {
|
|
visibility: visible;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
figure {
|
|
margin: 1em 0;
|
|
text-align: center;
|
|
}
|
|
|
|
figcaption {
|
|
font-size: small;
|
|
}
|
|
|
|
pre, code, samp, kbd {
|
|
color: #009;
|
|
font-family: monospace, monospace;
|
|
}
|
|
|
|
pre kbd {
|
|
color: #060;
|
|
}
|
|
|
|
pre, blockquote {
|
|
background: #eee;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
pre {
|
|
overflow: auto;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: medium solid #ccc;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
blockquote :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
blockquote :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th, td {
|
|
border: thin solid #999;
|
|
padding: 0.3em 0.4em;
|
|
text-align: left;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
pre, code, samp, kbd {
|
|
color: #6cf;
|
|
}
|
|
pre kbd {
|
|
color: #9c9;
|
|
}
|
|
pre, blockquote {
|
|
background: #111;
|
|
}
|
|
blockquote {
|
|
border-color: #444;
|
|
}
|
|
th, td {
|
|
border-color: #666;
|
|
}
|
|
}
|