1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-11-21 21:22:21 +00:00
strimertul-website/themes/strimertul/assets/scss/release.scss
Ash Keel 3eabea02c5
All checks were successful
continuous-integration/drone/push Build is passing
new release
2023-11-12 03:14:55 +01:00

130 lines
2 KiB
SCSS

.release,
.release-list {
display: flex;
justify-content: center;
& > .doc {
width: 100%;
max-width: 1000px;
padding: 1rem;
}
img {
max-width: 100%;
}
.prerelease {
display: inline-block;
text-transform: uppercase;
font-size: 14pt;
margin-left: 10pt;
padding: 4pt 8pt 3pt 8pt;
color: $gray2;
border-radius: 10px;
background-color: $yellow9;
}
table.downloads {
th {
text-align: left;
color: $gray11;
}
}
}
.release-item {
.prerelease {
color: $yellow9;
background-color: transparent;
font-size: 10pt;
padding: 2pt 4pt 2pt 4pt;
margin-left: 0;
}
.recap {
list-style-type: none;
margin: 0;
padding: 0;
li {
line-height: 1.4;
}
li::before {
content: "- ";
}
}
}
.release-item time {
color: $gray11;
margin-right: 10pt;
font-size: 0.9em;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.md__image {
cursor: pointer;
}
/* The Modal (background) */
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 4em;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: black;
}
/* Modal Content */
.modal-content {
position: relative;
background-color: black;
margin: auto;
padding: 0;
width: 90%;
max-width: 1400px;
}
.modal-pic {
display: flex;
align-content: center;
cursor: pointer;
}
/* The Close Button */
/* Optimized for accessibility by using a button named close but
shifting the close text out of the button and only showing x */
.modal-close {
color: white;
background-color: black;
position: absolute;
top: 0.5em;
right: 0.5em;
font-size: 2em;
font-weight: bold;
height: 1em;
width: 1em;
text-indent: 10em;
overflow: hidden;
border: 0;
}
.modal-close::after {
position: absolute;
line-height: 0.5;
top: 0.2em;
left: 0.1em;
text-indent: 0;
content: "\00D7";
}
.modal-close:hover,
.modal-close:focus {
color: #999;
text-decoration: none;
cursor: pointer;
}