1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-02 17:42:39 +00:00

Use grid layout for download links (#1372)

Co-authored-by: Jonah Aragon <jonah@triplebit.net>
This commit is contained in:
noClaps
2022-06-02 06:50:39 +08:00
committed by GitHub
parent 3390d27ba9
commit 9b5446c7be
19 changed files with 324 additions and 308 deletions

View File

@ -211,13 +211,31 @@ h1, h2, h3, .md-header__topic {
right:auto;
}
.downloads p > a {
padding-left: 0.5em;
.downloads > ul > li {
padding: 0.5em 0 !important;
}
.downloads > ul .twemoji {
width: .9rem
}
details[class="downloads annotate"] > p .md-annotation span span::before {
vertical-align: 0;
}
.downloads > ul {
display: grid!important;
grid-template-columns: repeat(4, 1fr);
align-items: center;
list-style-type: none;
}
@media screen and (max-width: 600px) {
.downloads > ul {
grid-template-columns: repeat(2, 1fr);
}
}
/* Card links */
.md-typeset .card-link {
color: var(--md-default-fg-color--light);