abkommen60jahre.de/downloads.css

96 lines
1.5 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;
padding: 12px;
flex-basis: 320px;
min-width: 260px;
flex-grow: 1;
flex-shrink: 1;
height: auto;
display: flex;
flex-wrap: wrap;
color: var(--primary-font);
}
.download-name {
flex-basis: 100%;
}
.download-link {
color: var(--primary-font);
flex-basis: 50%;
height: auto;
font-size: 1.3rem;
line-height: 1.7em;
display: flex;
align-items: center;
padding: 12px 24px;
text-decoration: none;
}
.download-link:hover {
background-color: rgba(0, 0, 0, 0.2);
}
.download-link_pdf::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;
}