mirror of
https://github.com/Alexander-D-Karpov/webring.git
synced 2026-03-16 22:07:41 +03:00
121 lines
1.9 KiB
CSS
121 lines
1.9 KiB
CSS
@import "/static/reset.css";
|
|
@import "/static/theme.css";
|
|
|
|
body {
|
|
padding: 1rem;
|
|
}
|
|
|
|
header {
|
|
background-color: var(--color-primary-950);
|
|
color: var(--color-primary-100);
|
|
padding: 1rem;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
header h1 {
|
|
font-weight: bold;
|
|
}
|
|
|
|
header, main {
|
|
width: 100%;
|
|
max-width: 92rem;
|
|
margin: 0 auto 1rem auto;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
border: 1px var(--color-gray-900) solid;
|
|
}
|
|
|
|
th, td {
|
|
padding: .5rem 1rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--color-gray-900);
|
|
}
|
|
|
|
td {
|
|
border-right: 1px solid var(--color-gray-900);
|
|
}
|
|
|
|
td:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
th {
|
|
background-color: var(--color-primary-900);
|
|
color: var(--color-primary-100);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: .875rem;
|
|
}
|
|
|
|
.cell {
|
|
width: 100%;
|
|
justify-content: stretch;
|
|
align-items: center;
|
|
display: flex;
|
|
gap: .5rem;
|
|
}
|
|
|
|
tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.badge {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 4px;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badge-success {
|
|
background-color: var(--color-green-700);
|
|
color: var(--color-green-100);
|
|
}
|
|
|
|
.badge-danger {
|
|
background-color: var(--color-red-700);
|
|
color: var(--color-red-100);
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
min-width: 6rem;
|
|
border: none;
|
|
background: transparent;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
input[type=number] {
|
|
width: 3rem;
|
|
min-width: 3rem;
|
|
}
|
|
|
|
input[type=url] {
|
|
min-width: 10rem;
|
|
}
|
|
|
|
input:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 1px var(--color-gray-400), 0 0 0 4px var(--color-gray-600);
|
|
}
|
|
|
|
input::placeholder {
|
|
color: var(--color-gray-600);
|
|
}
|
|
|
|
form {
|
|
display: none;
|
|
}
|