264 lines
4.3 KiB
CSS
264 lines
4.3 KiB
CSS
@import url("./motion.css");
|
|
@import url("./variables.css");
|
|
@import url("./nav.css");
|
|
|
|
/* i hate default styles >:( and also chrome */
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
display: block;
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
width: fit-content;
|
|
}
|
|
body {
|
|
font-family: "Rubik", sans-serif;
|
|
font-size: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
& a,
|
|
button {
|
|
cursor: pointer;
|
|
&:is(:hover, :focus) {
|
|
outline: 0;
|
|
}
|
|
}
|
|
}
|
|
svg {
|
|
fill: currentColor;
|
|
stroke: currentColor;
|
|
stroke-width: 0;
|
|
}
|
|
header {
|
|
margin-top: var(--pad-xl);
|
|
margin-left: calc(var(--view) + var(--pad-xl));
|
|
& a {
|
|
display: flex;
|
|
padding: var(--pad-s);
|
|
border-radius: var(--round);
|
|
}
|
|
& svg {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
margin-right: var(--pad-m);
|
|
}
|
|
}
|
|
footer {
|
|
overflow-y: hidden;
|
|
word-break: break-all;
|
|
flex-wrap: wrap;
|
|
font-family: "Nosey Rodent", sans-serif;
|
|
display: flex;
|
|
margin: auto 0 0 auto;
|
|
width: fit-content;
|
|
justify-content: center;
|
|
position: sticky;
|
|
inset-block: 100%;
|
|
text-align: center;
|
|
& span {
|
|
background-image: var(--transgender);
|
|
padding: 0 var(--pad-s);
|
|
}
|
|
}
|
|
main {
|
|
width: fit-content;
|
|
padding: var(--pad-xl);
|
|
padding-left: calc(var(--view) + var(--pad-xl));
|
|
overflow: hidden;
|
|
position: relative;
|
|
& ul[role="list"] {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
details {
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
& summary::marker {
|
|
content: none;
|
|
}
|
|
}
|
|
article {
|
|
width: auto;
|
|
max-width: var(--main);
|
|
color: inherit;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
border-radius: var(--round);
|
|
height: max-content;
|
|
padding: var(--pad-xl);
|
|
& a:has(figure) {
|
|
border-radius: var(--round);
|
|
& figure {
|
|
border-color: inherit;
|
|
}
|
|
}
|
|
& s {
|
|
text-decoration-style: line-through;
|
|
text-decoration-thickness: 0.1em;
|
|
}
|
|
& u {
|
|
text-decoration-style: double;
|
|
text-decoration-thickness: 2px;
|
|
}
|
|
& em {
|
|
font-weight: 200;
|
|
}
|
|
& p {
|
|
word-wrap: break-word;
|
|
}
|
|
& p:not(:last-child, [aria-label]) {
|
|
padding-bottom: var(--pad-s);
|
|
}
|
|
& pre {
|
|
display: flex;
|
|
width: auto;
|
|
padding: var(--pad-m);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
}
|
|
& figure {
|
|
margin: 0;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
padding: var(--pad-m);
|
|
border-radius: inherit;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
& section {
|
|
& a:has(figure) {
|
|
height: max-content;
|
|
}
|
|
& figure img {
|
|
border-radius: inherit;
|
|
}
|
|
& figcaption {
|
|
font-weight: normal;
|
|
font-style: italic;
|
|
padding: var(--pad-m) 0;
|
|
}
|
|
}
|
|
}
|
|
.paws li::marker {
|
|
content: none;
|
|
}
|
|
.paws li::before {
|
|
content: "";
|
|
width: 20px;
|
|
height: 20px;
|
|
position: absolute;
|
|
mask-image: var(--paw);
|
|
mask-size: contain;
|
|
mask-repeat: no-repeat;
|
|
margin: 0 0 0 calc(var(--pad-xl) * -1);
|
|
}
|
|
:is(main article, main section):not(:last-child) {
|
|
margin-bottom: var(--pad-m);
|
|
}
|
|
img[src*="/assets/img/flag/"] {
|
|
height: 32px;
|
|
border-radius: 2px;
|
|
&:first-child {
|
|
margin-left: var(--pad-m);
|
|
}
|
|
&:not(:last-child) {
|
|
margin-right: var(--pad-m);
|
|
}
|
|
}
|
|
dialog button[commandfor="signal"] {
|
|
width: max-content;
|
|
padding: 0 var(--pad-s);
|
|
margin: 0 auto;
|
|
}
|
|
#signal {
|
|
cursor: default;
|
|
background: black;
|
|
border: none;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
position: fixed;
|
|
padding: var(--pad-xl);
|
|
& article {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
max-width: fit-content;
|
|
background: none;
|
|
word-wrap: break-word;
|
|
color: white;
|
|
& h1 {
|
|
font-size: 4rem;
|
|
}
|
|
& p {
|
|
font-size: 2rem;
|
|
}
|
|
& a {
|
|
margin: auto 0 0 auto;
|
|
}
|
|
& h1,
|
|
p,
|
|
a {
|
|
font-family: "Times New Roman", Times, serif;
|
|
}
|
|
& img {
|
|
border: 4px solid white;
|
|
padding: var(--pad-s);
|
|
max-width: 100%;
|
|
max-height: 250px;
|
|
}
|
|
}
|
|
}
|
|
@media screen and (min-width: 916px) {
|
|
#sidebar {
|
|
display: flex;
|
|
}
|
|
#floating {
|
|
display: none;
|
|
}
|
|
#default button[popovertarget] {
|
|
display: none;
|
|
}
|
|
}
|
|
@media screen and (max-width: 916px) {
|
|
/* Reset */
|
|
header,
|
|
footer,
|
|
main {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: auto;
|
|
}
|
|
article {
|
|
margin: var(--pad-m);
|
|
padding: var(--pad-l);
|
|
}
|
|
header {
|
|
margin: calc(var(--pad-xxl) + var(--pad-l)) 0 0 0;
|
|
}
|
|
header h1 {
|
|
margin: auto 0 0 auto;
|
|
padding-right: var(--pad-m);
|
|
}
|
|
#default::before {
|
|
content: none;
|
|
}
|
|
body::after {
|
|
content: "";
|
|
}
|
|
}
|