cyberpink/static/style.css

132 lines
1.9 KiB
CSS
Raw Permalink Normal View History

2023-09-17 17:23:15 +02:00
@import "custom.css";
2024-01-04 12:42:45 +01:00
2023-08-21 03:41:41 +02:00
:root{
--fg:#E60073;
}
2024-01-04 12:42:45 +01:00
2023-08-10 03:39:50 +02:00
::selection{
color: black;
2023-08-21 03:41:41 +02:00
background-color: var(--fg);
2023-08-10 03:39:50 +02:00
}
body {
background: black;
2023-08-21 03:41:41 +02:00
color: var(--fg);
2023-08-10 03:39:50 +02:00
font-family: monospace;
font-size: 1.2em;
2024-01-04 12:42:45 +01:00
margin: 0;
padding: 0;
2023-08-10 03:39:50 +02:00
}
summary{cursor:pointer;}
2023-08-10 23:20:58 +02:00
summary:hover{
2023-08-11 00:10:47 +02:00
filter: url(#chroma);
2023-08-10 23:20:58 +02:00
color: black;
2023-08-21 03:41:41 +02:00
background-color: var(--fg);
2023-08-10 23:20:58 +02:00
}
2023-08-10 03:39:50 +02:00
2023-08-11 00:10:47 +02:00
summary:hover:active{ filter: url(#chromaClick) }
2023-08-10 03:39:50 +02:00
a{
2023-08-21 03:41:41 +02:00
color: var(--fg);
2023-08-10 03:39:50 +02:00
text-decoration: none;
}
2023-08-11 00:10:47 +02:00
a:hover:active{
filter:url(#chromaClick);
}
2023-08-10 03:39:50 +02:00
a::after{ content: ']'; }
2023-08-10 04:00:46 +02:00
2023-08-10 03:39:50 +02:00
a::before{ content: '['; }
a:hover{
color: black;
2023-08-21 03:41:41 +02:00
background-color: var(--fg);
2024-01-04 12:42:45 +01:00
position: relative;
2023-08-11 00:10:47 +02:00
filter: url(#chroma);
2023-08-10 23:20:58 +02:00
}
a:hover::selection{
background-color: black;
2023-08-21 03:41:41 +02:00
color: var(--fg);
2023-08-10 03:39:50 +02:00
}
2023-08-10 04:20:23 +02:00
.postImage a::before{ content: none; }
.postImage a::after{ content: none; }
code{
font-size: 0.9em;
}
2023-08-10 03:39:50 +02:00
img{
max-width: 100%;
align-self: center;
}
figcaption{
text-align: center;
}
span{
text-align: center;
}
main{
margin: auto;
max-width: 80ch;
padding: 1em;
}
a.anchor{visibility: hidden; text-decoration: none;}
2024-01-04 12:42:45 +01:00
h1:target::before,h2:target::before,h3:target::before,h4:target::before,h5:target::before,h6:target::before{content: "> "; }
h1:hover>a,h2:hover>a,h3:hover>a,h4:hover>a,h5:hover>a,h6:hover>a{visibility: visible;}
h1:target>a,h2:target>a,h3:target>a,h4:target>a,h5:target>a,h6:target>a{color: black; visibility: visible;}
:target{color: black; background-color: var(--fg);}
:target::selection{color: var(--fg); background-color: black;}
2023-08-10 03:39:50 +02:00
footer{
text-align: center;
2024-01-04 12:42:45 +01:00
border-top: 1pt solid;
2023-08-10 03:39:50 +02:00
margin-top: 1em;
}
footer pre{
margin: 0;
}
2023-08-10 04:20:23 +02:00
table.posts{ width: 100%; }
2023-08-10 23:20:58 +02:00
2023-08-10 04:20:23 +02:00
.post-content{
text-align: justify;
}
2023-08-16 16:52:10 +02:00
header a{
filter: drop-shadow(0 0 5px);
}
2023-08-10 03:39:50 +02:00
@media(min-width: 81ch){
header{
2024-01-04 12:42:45 +01:00
display: flex;
2023-08-10 03:39:50 +02:00
justify-content: space-around;
}
menu{
2024-01-04 12:42:45 +01:00
display: flex;
2023-08-10 03:39:50 +02:00
}
menu a{
2024-01-04 12:42:45 +01:00
padding: 1em;
2023-08-10 03:39:50 +02:00
}
}
@media(max-width: 80ch){
header{
display: block;
}
header h1{
text-align: center;
}
menu{
visibility: collapse;
}
}