fisch/static/css/overview.css
2025-03-18 21:19:18 +01:00

75 lines
No EOL
1.3 KiB
CSS
Executable file

main {
display: flex;
justify-content: center;
align-items: start;
padding-top: 2em;
padding-bottom: 2em;
}
a.table-header-btn, a.table-header-btn:visited {
color: var(--link);
border: 2px solid var(--link);
padding: .5em;
border-radius: 4px;
}
table {
border-collapse: collapse;
width: 1200px;
max-width: 100%;
}
table tr:first-child {
border: none;
background-color: transparent !important;
}
table tr:nth-child(2n + 1) {
background-color: var(--bg-border);
}
table tr {
border: 2px solid var(--bg-border);
border-top: none;
border-bottom: none;
}
table tr:nth-child(2) {
background-color: var(--fg);
color: var(--bg-light);
border: 2px solid var(--fg);
border-bottom: none;
font-size: 1.2em;
}
table tr:last-child {
border: 2px solid var(--bg-border);
border-top: none;
}
table tr :is(th, td) {
padding: 10px;
text-align: left;
}
table tr td:last-child > div.action-container {
display: flex;
align-items: baseline;
justify-content: start;
gap: .1em;
}
table tr td:last-child form {
display: flex;
flex-direction: row;
align-items: center;
height: max-content;
}
table tr td:last-child form button {
background-color: transparent;
border: none;
cursor: pointer;
color: var(--fg);
font-size: 1em;
}