88 lines
1.4 KiB
CSS
88 lines
1.4 KiB
CSS
.downloads {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-self: start;
|
|
}
|
|
|
|
@media print {
|
|
.downloads {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.downloads {
|
|
grid-column-start: 1;
|
|
grid-column-end: 2;
|
|
grid-row-start: 4;
|
|
grid-row-end: 5;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1400px) {
|
|
.downloads {
|
|
position: sticky;
|
|
top: 10vh;
|
|
grid-column-start: 2;
|
|
grid-column-end: 3;
|
|
grid-row-start: 3;
|
|
grid-row-end: 4;
|
|
}
|
|
}
|
|
|
|
.downloads-list {
|
|
list-style: none;
|
|
margin: var(--side-padding);
|
|
margin-top: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
background-color: var(--primary);
|
|
border-radius: 5px;
|
|
height: auto;
|
|
}
|
|
@media screen and (min-width: 1400px) {
|
|
.downloads-list {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
.download {
|
|
margin: 12px;
|
|
flex-basis: 320px;
|
|
min-width: 260px;
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
height: auto;
|
|
}
|
|
|
|
.download-link {
|
|
color: var(--primary-font);
|
|
height: 100%;
|
|
width: 100%;
|
|
font-size: 0.8rem;
|
|
line-height: 1.3em;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 24px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.download-link:hover {
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.download-link::before {
|
|
content: '';
|
|
background-image: url(/img/download.svg);
|
|
background-repeat: no-repeat;
|
|
background-size: 18px;
|
|
display: block;
|
|
margin-right: 18px;
|
|
flex-basis: 22px;
|
|
flex-shrink: 0;
|
|
height: 18px;
|
|
}
|