dervland/index.css

112 lines
1.9 KiB
CSS
Raw Normal View History

2024-11-25 14:13:14 -05:00
:root {
2025-01-13 20:28:17 -05:00
--black: rgb(8, 2, 31);
--gray: rgb(13, 21, 99);
--gray-2: rgb(47, 74, 190);
--white: rgb(191, 245, 248);
2024-11-25 14:13:14 -05:00
--primary-dark: rgb(69, 122, 201);
--primary-light: rgb(145, 193, 255);
2024-11-25 14:13:14 -05:00
--elem-width: min(800px, 90vw);
--elem-height: 300px;
--border-radius: 15px;
--font: system-ui, sans-serif;
color: var(--white);
background: var(--black);
font-family: var(--font) !important;
}
2025-01-13 20:28:17 -05:00
@media all and (max-width: 500px) {
th, td {
display: block;
}
}
2024-11-25 14:13:14 -05:00
body {
display: flex;
flex-direction: column
}
body {
align-items: center;
overflow-x: hidden;
margin-top: 0
}
.link {
text-decoration: none;
font-weight: 700;
color: var(--white)
}
.content {
width: var(--elem-width)
}
.content,
.form-button {
2024-11-25 14:13:14 -05:00
border: solid var(--gray-2) 3px;
background: var(--gray);
2024-11-25 14:13:14 -05:00
border-radius: var(--border-radius);
color: var(--white);
padding: .5rem;
margin-bottom: .5rem;
text-decoration: none
}
.content {
margin-top: 10px;
width: calc(var(--elem-width) - 1rem)
}
.content-header {
width: var(--elem-width)
}
img {
user-select: none
}
pre {
white-space: pre-wrap;
font-family: var(--font) !important;
}
.form-button {
font-weight: 700;
2025-01-15 00:43:45 -05:00
display: inline-flex;
justify-content: center;
align-items: center;
2024-11-25 14:13:14 -05:00
background: var(--primary-dark);
border-color: var(--primary-light)
2025-01-02 13:03:09 -05:00
}
table {
border-collapse: collapse;
width: 100%;
}
td,
th {
border: solid var(--primary-light) 2px;
background: var(--primary-dark);
text-align: left;
padding: 8px;
}
2025-01-13 20:28:17 -05:00
2025-01-02 13:03:09 -05:00
th {
2025-01-13 20:28:17 -05:00
min-width: 30%;
2025-01-02 13:03:09 -05:00
background: var(--gray-2);
border-color: var(--white)
}
.art {
max-width: var(--elem-width);
margin-top: 5px;
border-radius: var(--border-radius);
2025-01-15 00:43:45 -05:00
}
.icon {
width: 48px;
height: 48px;
border-radius: var(--border-radius);
margin-right: 10px;
2024-11-25 14:13:14 -05:00
}