abkommen60jahre.de/downloads.css

80 lines
1.3 KiB
CSS
Raw Normal View History

2021-09-26 19:23:59 +00:00
.downloads {
display: flex;
align-items: flex-start;
justify-self: start;
}
@media screen and (min-width: 768px) {
.downloads {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 5;
}
}
@media screen and (min-width: 1400px) {
.downloads {
position: sticky;
top: 10vh;
grid-column-start: 2;
grid-column-end: 3;
grid-row-start: 3;
}
}
.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;
flex-basis: 320px;
min-width: 260px;
flex-grow: 1;
flex-shrink: 1;
height: auto;
}
.download-link {
color: var(--primary-font);
height: 100%;
width: 100%;
2021-09-26 23:37:59 +00:00
font-size: 0.8rem;
line-height: 1.3em;
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);
}
.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;
}