Files
driftywinds.github.io/view/app/version-history/version-history.css
2023-11-23 23:08:55 -08:00

69 lines
1.1 KiB
CSS

/*
version-history.css
altsource-viewer (https://github.com/therealFoxster/altsource-viewer)
Copyright (c) 2023 Foxster.
MIT License.
*/
#main {
padding-top: 8rem;
}
a {
color: var(--app-tint-color);
}
#versions {
padding: 0 1rem;
display: flex;
flex-direction: column;
/* gap: 1em; */
}
.version {
display: flex;
flex-direction: column;
border-bottom: 0.1px solid var(--color-separator);
padding: 1.25em 0;
}
.version:first-of-type {
padding-top: 0;
}
@media (prefers-color-scheme: dark) {
.version {
border-color: var(--color-separator-dark) !important;
}
}
.version-header, .version-options {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 0.5em;
}
.version-options {
color: var(--app-tint-color);
}
.version-number {
font-weight: 600;
}
.version-date {
opacity: 0.5;
}
.version-description {
-webkit-line-clamp: 3;
line-clamp: 3;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
position: relative;
word-wrap: break-word;
/* line-height: 1.5em; */
}