mirror of
https://github.com/kognise/water.css.git
synced 2026-01-21 20:45:52 +01:00
101 lines
No EOL
1.4 KiB
CSS
101 lines
No EOL
1.4 KiB
CSS
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
hr {
|
|
border: none;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
margin-bottom: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
td,
|
|
th {
|
|
padding: 6px;
|
|
text-align: left;
|
|
}
|
|
|
|
thead {
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
tfoot {
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
tbody tr:nth-child(even) {
|
|
background-color: var(--background-alt);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
height: 10px;
|
|
width: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--background);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--scrollbar-thumb);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--scrollbar-thumb-hover);
|
|
}
|
|
|
|
::selection {
|
|
background-color: var(--selection);
|
|
}
|
|
|
|
details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
background-color: var(--background-alt);
|
|
padding: 10px 10px 0;
|
|
margin: 1em 0;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
details[open] {
|
|
padding: 10px;
|
|
}
|
|
|
|
details > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
details[open] summary {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
summary {
|
|
display: list-item;
|
|
background-color: var(--background);
|
|
padding: 10px;
|
|
margin: -10px -10px 0;
|
|
}
|
|
|
|
details > :not(summary) {
|
|
margin-top: 0;
|
|
}
|
|
|
|
summary::-webkit-details-marker {
|
|
color: var(--text-main);
|
|
}
|
|
|
|
footer {
|
|
border-top: 1px solid var(--background);
|
|
padding-top: 10px;
|
|
font-size: 0.8em;
|
|
color: var(--text-muted);
|
|
} |