TinyNOT/data/web/style.css

117 lines
1.6 KiB
CSS

* {
box-sizing: border-box;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
color: white;
}
html {
/* min-height: 100%; */
background-color: #232323;
}
h1,
h2 {
text-align: center;
margin-top: 0.5rem;
margin-bottom: 1rem;
}
[data-symbol]::before {
content: attr(data-symbol);
padding-right: 0.5rem;
}
input[type='submit'],
a {
background-color: #233c54;
}
input[type='submit']:hover,
input[type='submit']:focus-visible,
a:hover,
a:focus-visible {
background-color: #61a8ea;
}
input,
a {
padding: 0.25rem;
border-radius: 4px;
display: inline-block;
}
ol {
/* list-style-position: inside; */
display: inline-block;
text-align: left;
}
table {
display: inline-table;
}
section {
margin-bottom: 1rem;
}
.list-actions {
display: inline-block;
}
.section-actions {
margin: 0.5rem 0;
}
input {
border: 1px solid grey;
background-color: rgb(40, 40, 40);
}
body {
min-height: 100vh;
min-height: 100dvh;
display: flex;
flex-direction: column;
}
main {
flex-grow: 1;
padding-bottom: 40px;
display: block;
}
input {
display: block;
margin: 0.5rem auto;
}
input[required] {
border-color: red;
}
nav,
.align-center {
text-align: center;
}
form {
background-color: #181818;
border-radius: 8px;
padding: 1rem;
margin: auto;
width: fit-content;
display: inline-block;
}
form div {
position: relative;
}
footer {
background-color: #233c54;
text-align: center;
padding: 1rem 0;
border-radius: 8px 8px 0 0;
}