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

131 lines
2 KiB
SCSS
Raw Permalink Normal View History

2023-11-12 00:49:01 +00:00
.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;
}
2023-11-12 02:14:55 +00:00
table.downloads {
th {
text-align: left;
color: $gray11;
}
}
2023-11-12 00:49:01 +00:00
}
.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;
}