You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
2.3 KiB

::root {
--font-mono: 0.5;
--font-casl: 0.49;
--font-wght: 400;
--font-slnt: 0;
--font-rep-roman: 1;
}
body {
2 years ago
font-family: 'Recursive', monospace;
font-variation-settings: var(--font-mono), var(--font-casl), var(--font-wght), var(--font-slnt), var(--font-rep-roman);
background: lightgrey;
2 years ago
margin: 0;
2 years ago
transition: all 200ms;
2 years ago
}
2 years ago
nav {
padding: 1ch;
background-color: white;
display: flex;
border: 1px #666 solid;
border-radius: 0 0 1ch 1ch;
box-shadow: 0.5ch 0.5ch 1ch #bbb;
}
nav > * {
position: relative;
transform: translateX(50%);
}
2 years ago
main {
display: flex;
flex-direction: column;
position: absolute;
2 years ago
margin-top: 4ch;
2 years ago
left: 50%;
margin-right: -50%;
2 years ago
max-width: 1000px;
transform: translateX(-50%);
2 years ago
}
2 years ago
th, td {
padding: 0 0.5ch;
}
2 years ago
tr:nth-child(even) {
background-color: #dddddd;
}
2 years ago
.section {
border: 1px #666 solid;
border-radius: 1ch;
background: white;
box-shadow: 0.5ch 0.5ch 1ch #bbb;
2 years ago
padding: 2ch;
2 years ago
margin-bottom: 2ch;
}
2 years ago
h4 {
margin: 0 0 1ch 0;
}
.cl-form {
display: flex;
flex-direction: column;
}
.cl-from {
display: flex;
margin-bottom: 1ch;
}
.cl-to {
display: flex;
margin-bottom: 1ch;
}
.cl-submit {
width: 100%;
}
.cl-form-deco {
margin: 0 1ch;
}
2 years ago
#id_domain { flex-grow: 1;}
#id_location { flex-grow: 5;}
#id_to { flex-grow: 1;}
2 years ago
.ov-domains {
display: flex;
flex-direction: column;
}
2 years ago
a {
text-decoration: none;
}
input, select {
border-radius: 0.5ch;
border-width: 1px;
padding: 0.5ch 1ch;
}
@media (prefers-color-scheme: dark) {
body {
background: black;
color: white;
}
nav {
background-color: #111;
border: 1px #333 solid;
box-shadow: 0.5ch 0.5ch 1ch #222;
}
.section {
border: 1px #333 solid;
background: #111;
box-shadow: 0.5ch 0.5ch 1ch #222;
}
a {
color: #8fb0ff;
font-weight: bold;
}
input, select {
color: white;
border-radius: 0.5ch;
border-width: 1px;
padding: 0.5ch 1ch;
border-color: #666;
background: #111;
}
input[type="submit"] {
background: #444;
}
tr:nth-child(even) {
background-color: #000;
}
}