vugo/static/style.css

94 lines
3.5 KiB
CSS
Raw Normal View History

2022-09-18 11:47:00 +02:00
@charset "UTF-8";
@import "gruvbox.css";
2022-08-10 15:27:44 +02:00
:root{
2022-09-18 11:47:00 +02:00
scrollbar-color: var(--ansi00-soft) var(--ansi00-hard);
2022-08-10 15:27:44 +02:00
}
2022-09-18 14:46:25 +02:00
:target{background-color: var(--ansi00-soft);}
2022-08-10 15:27:44 +02:00
::selection{
2022-09-18 11:47:00 +02:00
background-color: var(--selection-bg);
color: var(--selection-fg);
2022-08-10 15:27:44 +02:00
}
2022-09-18 15:06:39 +02:00
a:hover::selection{ background-color: var(--ansi03); }
2022-08-10 15:27:44 +02:00
html{
2022-09-18 11:47:00 +02:00
color: var(--ansi15);
background-color: var(--ansi00-hard);
2022-08-10 15:27:44 +02:00
}
body{ padding: 0; margin: 0; }
2022-09-18 11:47:00 +02:00
a{ color: var(--ansi11); }
a:hover{ color: var(--ansi00-hard); background-color: var(--ansi11); text-decoration: none;}
2022-08-10 15:27:44 +02:00
audio{ width: 100%; display: block; margin-top: 1em; }
2022-09-18 12:29:02 +02:00
a.anchor{visibility:hidden; text-decoration: none;}
h1:hover>a,h2:hover>a,h3:hover>a,h4:hover>a,h5:hover>a,h6:hover>a,h1:hover>a{visibility:visible;}
2022-08-10 15:27:44 +02:00
main{ margin-left: 12em; margin-right: 1em; padding: 1em; border:1pt solid; margin-bottom: 1em;}
main h1{border-bottom: 1pt solid;}
2022-08-18 14:17:23 +02:00
main a h1 {border-bottom: transparent 0pt solid;}
2022-09-18 11:47:00 +02:00
li::marker{color: var(--ansi05);}
nav{height: 100%;padding: 0.5em; float:left; background: var(--ansi00-soft); border-right:solid 1pt; border-bottom: solid 1pt; width: 10em;}
2022-08-10 15:27:44 +02:00
nav li{list-style: none; list-style-position:outside;}
nav a{ display: block;}
2022-08-18 14:17:23 +02:00
nav{text-transform: capitalize;}
2022-08-10 15:27:44 +02:00
summary{cursor:pointer;}
2022-09-18 11:47:00 +02:00
summary:hover{ color: var(--ansi00-hard); background-color: var(--ansi11); }
2022-08-10 15:27:44 +02:00
footer{text-align:center; border-top:1pt solid; margin-top: 1em;}
footer a{text-decoration:none;}
2022-09-18 11:47:00 +02:00
footer .mirror{text-align:center; color: var(--ansi11);}
code{ background: var(--ansi00-soft); }
2022-09-18 12:29:02 +02:00
pre{ overflow-x: auto; background: var(--ansi00-soft); padding: 1em; border-radius: 1em;}
2022-08-23 16:48:16 +02:00
.hyperbowl{ font-style: italic; font-size: 1.2em;}
2022-08-10 15:27:44 +02:00
.logo{
padding: 5pt 0;
margin:0;
width:100%;
border-bottom: 2pt solid;
2022-09-18 11:47:00 +02:00
background-color: var(--ansi00-soft);
background: linear-gradient(to right,var(--ansi05),var(--ansi00));
2022-08-10 15:27:44 +02:00
}
2022-09-18 15:38:12 +02:00
.logo a{ color: var(--ansi00); text-decoration: none; }
.logo a:hover{ background-color: var(--ansi03); }
2022-08-18 14:26:45 +02:00
.logo img{
float:left;
max-height:5em;
}
2022-08-10 15:27:44 +02:00
.about ul{list-style:none;}
2022-08-18 14:36:45 +02:00
.about img{height:10em; float:left;}
2022-09-18 15:29:42 +02:00
@media (prefers-color-scheme:dark){
.about img{filter:invert(.92)}
}
2022-08-10 15:27:44 +02:00
header{text-transform: capitalize; text-align:center;border-bottom:2pt solid; font-weight:bold;}
.page-head{text-transform: capitalize; text-align:center;border-bottom:2pt solid; font-weight:bold;}
2022-09-18 12:29:02 +02:00
@media (min-width: 1200px){
.post-content{ column-count: 2; }
}
2022-08-10 15:27:44 +02:00
@media (max-width: 800px){
main{max-width:100%; margin: 1em;}
nav{padding:0; width: 100%; border-right:solid 0pt;}
nav a{ padding-left: 1em;}
}
.stickers{ text-align:center; }
.gay{
2022-09-18 11:47:00 +02:00
background:linear-gradient(-45deg, var(--ansi01), var(--ansi02), var(--ansi03), var(--ansi04), var(--ansi05), var(--ansi06));
2022-08-10 15:27:44 +02:00
background-clip: text;
background-size:300%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation:gay 8s ease-in-out infinite;
-moz-animation: gay 8s ease-in-out infinite;
-webkit-animation: gay 8s ease-in-out infinite;
}
2022-08-18 14:17:23 +02:00
.post-meta{margin-bottom: .5em; border-bottom: solid 1pt;}
2022-09-18 11:47:00 +02:00
.on-list{color: var(--ansi07);}
.post-meta{color: var(--ansi07); display:flex; justify-content: space-between; }
2022-08-18 14:17:23 +02:00
.post-tags a{text-decoration:none; color:inherit;}
2022-09-18 11:47:00 +02:00
.post-tags a:hover{text-decoration:none; color:var(--ansi15); background:inherit;}
2022-08-18 14:17:23 +02:00
.button{padding:.3em;border-radius:.3em;}
.pagination__buttons{display:flex; justify-content:center;}
.pagination__buttons .next::after{content:" →";}
.pagination__buttons .prev::before{content:"← ";}
2022-08-10 15:27:44 +02:00
@keyframes gay {
0%{background-position: 0px 50%;}
50%{background-position: 100% 50%;}
10%{background-position: 0px 50%;}
}