abtmtr-v13/assets/elements.css

94 lines
No EOL
1.6 KiB
CSS

h1, h2, h3, h4, h5, h6, p, li, br {
font-weight: normal;
margin: 0;
/* text-shadow: 1px 1px 0 var(--color-text-shadow); */
line-height: 1.5rem;
}
h1, h2, h3, h4, h5, h6 {
margin-block: 1.5rem;
padding-inline: 0.5rem;
font-size: 1rem;
background-color: var(--color-text);
color: var(--color-bg);
}
h3, h4, h5, h6 {
margin-block: 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
display: block;
margin-inline: -0.5rem;
padding-inline: 0.5rem;
background-color: var(--color-accent);
color: var(--color-bg);
}
p {
margin-inline-start: 1rem;
margin-block: 1.5rem;
}
p.nomargin {
margin-block: unset;
}
ul {
margin: 0;
padding-inline-start: 2rem;
list-style-type: "- ";
}
ul li {
margin-block: 1.5rem;
}
div {
margin-block: 1.5em;
margin-inline-start: 1em;
}
img {
vertical-align: middle;
}
a {
color: var(--color-accent);
text-decoration: underline solid currentColor 1px;
}
code {
display: inline-block;
font: inherit;
background-color: var(--color-code);
padding-inline: 0.5rem;
color: var(--color-code-text);
user-select: all;
}
button, input {
border: none;
background: transparent;
color: inherit;
font: inherit;
padding: 0;
outline: none;
}
input[type=text], input[type=url] {
padding-inline: 0.5rem;
border-inline: 0.5em solid var(--color-accent);
}
button, input[type=submit] {
padding-inline: 0.5rem;
background-color: var(--color-accent);
color: var(--color-bg);
cursor: pointer;
}
button:active, input[type=submit]:active {
background-color: transparent;
color: var(--color-accent);
}