venom/venom.css
2024-11-22 00:50:31 -05:00

155 lines
1.8 KiB
CSS

/* venom.css v4.1 by snake | GPL-3.0 */
*,
::before,
::after {
box-sizing:border-box;
}
/* blocks */
html {
font-size:1rem;
line-height:1.5;
tab-size:4;
}
body {
margin:0;
}
p,
h1, h2, h3, h4, h5, h6,
ol, ul,
blockquote,
figure,
dl,
hr {
margin:1rem 0;
}
ul, ol {
padding:0 2rem;
}
ul ul,
ul ol,
ol ol,
ol ul {
margin:0.5rem 0;
padding:0 1rem;
}
li {
margin:0.25rem 0;
}
summary {
display:list-item;
cursor:pointer;
}
dt {
font-weight:bold;
font-size:1.15rem;
}
dd {
margin:0;
padding:0;
}
progress {
vertical-align:baseline;
}
p:first-child,
h2:first-child,
li:first-child {
margin-top:0;
}
p:last-child,
h2:last-child,
li:last-child {
margin-bottom:0;
}
p:only-child,
h2:only-child,
li:only-child {
margin:0;
}
header h1 {
margin:0;
line-height:1;
}
nav ul {
margin:0;
padding:0;
list-style-type:none;
}
/* formatting */
b, strong {
font-weight:bolder;
}
code, kbd, samp, pre {
font-family:monospace,monospace;
font-size:1rem;
}
small {
font-size:80%;
}
sub,
sup {
position:relative;
font-size:75%;
line-height:0;
vertical-align:baseline;
}
sub {
bottom:-0.25rem;
}
sup {
top:-0.25rem;
}
/* media, embeds */
img {
max-width:100%;
border-style:none;
}
/* accessibility */
[title] {
border-bottom:none;
text-decoration:underline;
text-decoration:underline dotted;
text-underline-offset:0.25rem;
cursor:help;
}
[aria-disabled="true"],
[aria-disabled],
[disabled] {
cursor:not-allowed;
pointer-events:none;
}
@media(prefers-reduced-motion:reduce) {
*, ::before, ::after {
animation-delay:-1ms!important;
animation-duration:1ms!important;
animation-iteration-count:1!important;
background-attachment:initial!important;
scroll-behavior:auto!important;
transition-delay:0s!important;
transition-duration:0s!important;
}
}