vugo/static/style.css

149 lines
4.6 KiB
CSS
Raw Permalink Normal View History

2022-09-18 11:47:00 +02:00
@charset "UTF-8";
@import "gruvbox.css";
2023-09-09 18:02:05 +02:00
@font-face {
font-family: "BQN386";
src: url('/fonts/BQN386.ttf');
}
2022-08-10 15:27:44 +02:00
:root{
2022-09-26 19:31:12 +02:00
scrollbar-color: var(--ansi08) transparent;
2022-08-10 15:27:44 +02:00
}
2022-09-29 14:41:16 +02:00
:target{border-bottom: 1pt dashed; 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; }
2023-03-23 11:31:44 +01:00
a:hover:active{ background-color: var(--ansi03); }
2023-02-21 09:59:48 +01:00
a{ color: var(--ansi11); }
a:hover{ color: var(--ansi00-hard); background-color: var(--ansi11); text-decoration: none;}
a:hover > code{ 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;}
2023-08-18 11:52:54 +02:00
h1:hover>a,h2:hover>a,h3:hover>a,h4:hover>a,h5:hover>a,h6: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);}
menu{
height: 100%;
padding: 0.5em;
float:left;
background: var(--ansi00-soft);
border-right:solid 1pt;
border-bottom: solid 1pt;
width: 10em;
text-transform: capitalize;
margin-top:0;
}
menu li{list-style: none; list-style-position:outside;}
menu a{ display: block;}
nav{
border-bottom: 1pt solid;
margin-bottom: .5em;
}
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);}
2022-09-29 14:41:16 +02:00
code{ background: var(--ansi00); }
pre{ overflow-x: auto; background: var(--ansi00); padding: 1em; border-radius: 1em;}
2023-03-08 19:02:24 +01:00
blockquote{ background-color: var(--ansi00); padding:0.5em; border-radius:1em;}
hr{color: var(--ansi00);}
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;}
@media (max-width: 800px){
main{max-width:100%; margin: 1em;}
menu{padding:0; width: 100%; border-right:solid 0pt;}
menu a{ padding-left: 1em;}
.post-content{
max-width: 80ch;
}
}
@media (min-width: 80ch){
.post-content{ column-count: 1;
max-width: 80ch;
margin: auto;
}
}
@media (min-width: 160ch){
.post-content{ column-count: 2;
max-width: 160ch;
margin: auto;
}
}
@media (min-width: 240ch){
.post-content{ column-count: 3;
max-width: 240ch;
margin: auto;
}
}
.post-content{
margin: auto;
2022-08-10 15:27:44 +02:00
}
2022-11-06 22:51:40 +01:00
.post-content img{
max-width: 100%;
2022-11-06 23:49:11 +01:00
text-align: center;
2022-11-06 22:51:40 +01:00
}
2022-08-10 15:27:44 +02:00
.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-09-28 12:13:52 +02:00
table{ border-spacing:0; border: 1pt solid; padding:1em; margin:1em 0; }
2022-09-27 23:04:06 +02:00
td{ border-bottom: 1pt dashed; }
2022-09-26 19:31:12 +02:00
.posts{ overflow-x: auto; }
2022-09-28 12:31:50 +02:00
.posts p{ text-align: center;}
2022-09-27 23:04:06 +02:00
.post-meta{ color: var(--ansi08); border-bottom: 1pt solid var(--ansi15); padding-bottom:.25em; margin-bottom: 1em;}
2022-09-29 14:41:16 +02:00
.post-meta a{ text-decoration: none; color: inherit;}
2022-09-27 23:04:06 +02:00
.post-meta a:hover{ color: var(--ansi15); background-color: var(--ansi00-hard);}
.post-entry-meta{ width: 100%; background-color: var(--ansi00); padding:.5em;}
.post-entry-meta table{color: var(--ansi07); margin-bottom: .5em;}
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:"← ";}
2023-09-09 18:02:05 +02:00
.language-bqn{font-family: "BQN386", monospace;}
.language-orca{font-family: "BQN386", monospace;}
2022-08-18 14:17:23 +02:00
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%;}
}