abkommen60jahre.de/downloads.css

107 lines
1.7 KiB
CSS
Raw Normal View History

2021-09-26 19:23:59 +00:00
.downloads {
display: flex;
align-items: flex-start;
justify-self: start;
2021-10-26 12:36:24 +00:00
line-height: 120%;
2021-09-26 19:23:59 +00:00
}
2021-10-05 14:50:10 +00:00
@media print {
.downloads {
display: none;
}
}
2021-09-26 19:23:59 +00:00
@media screen and (min-width: 768px) {
.downloads {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 4;
grid-row-end: 5;
2021-09-26 19:23:59 +00:00
}
}
@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;
2021-09-26 19:23:59 +00:00
}
}
.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);
2021-09-26 22:53:08 +00:00
border-radius: 5px;
2021-09-26 19:23:59 +00:00
height: auto;
}
@media screen and (min-width: 1400px) {
.downloads-list {
margin-left: 0;
}
}
.download {
margin: 12px;
padding: 12px;
2021-09-26 19:23:59 +00:00
flex-basis: 320px;
min-width: 260px;
flex-grow: 1;
flex-shrink: 1;
height: auto;
display: flex;
flex-wrap: wrap;
color: var(--primary-font);
2021-10-26 12:36:24 +00:00
position: relative;
}
.download-name {
2021-10-26 12:36:24 +00:00
font-size: 1.2rem;
flex-basis: 100%;
2021-09-26 19:23:59 +00:00
}
.download-link {
color: var(--primary-font);
flex-basis: 50%;
height: auto;
2021-10-13 11:54:17 +00:00
font-size: 1.3rem;
line-height: 1.7em;
2021-09-26 19:23:59 +00:00
display: flex;
align-items: center;
padding: 12px 24px;
text-decoration: none;
}
.download-link:hover {
background-color: rgba(0, 0, 0, 0.2);
}
2021-10-26 12:36:24 +00:00
.download-link::before {
2021-09-26 19:23:59 +00:00
content: '';
background-repeat: no-repeat;
background-size: 18px;
display: block;
2021-10-26 12:36:24 +00:00
margin-right: 12px;
2021-09-26 19:23:59 +00:00
flex-basis: 22px;
flex-shrink: 0;
height: 18px;
2021-10-26 12:36:24 +00:00
color: white;
}
.download-link_pdf::before {
background-image: url(/img/pdf.svg);
}
.download-link_web::before {
background-image: url(/img/web.svg);
2021-09-26 19:23:59 +00:00
}