1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-10-16 15:07:27 +00:00
festa/styles/elements.css

90 lines
1.3 KiB
CSS
Raw Permalink Normal View History

2022-06-04 03:13:19 +00:00
body {
padding: 0;
margin: 0;
background-color: var(--background);
color: var(--foreground);
font-family: sans-serif;
2022-06-05 15:51:02 +00:00
text-shadow: 1px 1px 2px var(--background);
2022-06-04 03:13:19 +00:00
min-height: 100vh;
}
2022-06-06 00:08:12 +00:00
main {
padding: 8px;
}
2022-06-04 03:13:19 +00:00
h1, h2, h3, h4, h5, h6 {
margin: 0;
}
h1 {
text-align: center;
}
2022-06-04 03:13:19 +00:00
a {
color: var(--anchor);
}
a:visited {
color: var(--anchor-visited);
}
a:active {
color: var(--anchor-active);
}
input, button, textarea {
padding: 8px;
color: var(--foreground);
background-color: var(--interactable);
border-width: 2px;
border-color: var(--border);
border-radius: 16px;
font-size: 1em;
font-family: sans-serif;
2022-06-04 03:13:19 +00:00
vertical-align: middle;
2022-06-06 00:08:12 +00:00
text-align: inherit;
font-weight: inherit;
width: 100%;
2022-06-04 03:13:19 +00:00
}
2022-06-05 21:03:48 +00:00
input[type="text"], input[type="file"] {
2022-06-04 03:13:19 +00:00
border-style: inset;
}
button, input[type="submit"] {
border-style: outset;
text-align: center;
}
button:active:not([disabled]), input[type="submit"]:active:not([disabled]) {
border-style: inset;
}
textarea {
border-style: inset;
border-radius: 16px 16px 0 16px;
2022-06-11 03:08:49 +00:00
2022-06-06 00:08:12 +00:00
resize: vertical;
margin: 0;
2022-06-04 03:13:19 +00:00
}
2022-06-11 03:08:49 +00:00
pre {
white-space: pre-wrap;
}
p:first-child {
margin-top: 0;
}
p:last-child {
margin-bottom: 0;
2022-06-11 03:08:49 +00:00
}