id/styles/design.css

79 lines
1.3 KiB
CSS
Raw Normal View History

2023-06-07 20:40:38 +01:00
/* This file holds the look and feel for ByeCorps products.
(c) 2023 ByeCorps. All rights reserved.
*/
button, .button {
border: none;
padding: 15px 32px;
margin: 4px 2px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
}
header a {
text-decoration: none;
2023-10-31 18:43:21 +00:00
}
/* inputs */
2023-11-19 12:24:38 +00:00
input, textarea {
2023-10-31 18:43:21 +00:00
all: unset;
padding: 1em;
text-align: start;
border-radius: 1em;
}
2023-11-06 16:38:18 +00:00
input[type="checkbox"] {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
-ms-appearance: checkbox;
-o-appearance: checkbox;
appearance: checkbox;
width: 1em;
height: 1em;
margin: 0 0.5em 0 0;
}
input:disabled {
opacity: 0.75;
cursor: not-allowed;
}
2023-11-19 12:24:38 +00:00
table {
background-color: var(--grey-2);
width: 100%;
font-size: 1.1rem;
padding: .5rem;
border-radius: 1.0rem;
}
table > tbody > tr {
display: grid;
align-items: center;
gap: 0.5rem;
grid-template-columns: auto 1fr;
}
table > tbody > tr > td {
background: var(--grey-0);
border-radius: .5em;
padding: .5em;
}
@media screen and (prefers-color-scheme: dark) {
table {
background-color: var(--grey-9);
}
table > tbody > tr > td {
background: var(--grey-8);
}
}