1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-08-31 23:29:16 +00:00
Files
privacyguides.org/theme/assets/stylesheets/home.css

109 lines
2.3 KiB
CSS
Raw Normal View History

2023-03-21 16:56:27 -05:00
/*
* SPDX-FileCopyrightText: 2016 Martin Donath <martin.donath@squidfunk.com>
* SPDX-FileCopyrightText: 2022 Jonah Aragon <jonah@privacyguides.org>
*
* SPDX-License-Identifier: MIT OR LicenseRef-MIT-mkdocs-material
*/
2023-03-21 16:56:27 -05:00
/* Homepage hero section */
.mdx-container {
background: #ffdd98;
background-size: contain;
padding-top: 1rem;
padding-bottom: 1rem;
}
[data-md-color-scheme="slate"] .mdx-container {
background: rgba(9, 9, 9, 0.95);
}
.mdx-hero {
color: var(--pg-hero-color);
margin: 0 0.8rem;
}
.mdx-hero h1 {
color: currentcolor;
margin-bottom: 1rem;
font-size: 2.6rem;
}
@media screen and (max-width: 29.9375em) {
.mdx-hero h1 {
font-size: 1.4rem;
}
}
@media screen and (min-width: 60em) {
.mdx-hero {
align-items: stretch;
display: flex;
}
.mdx-hero__content {
margin-top: 3rem;
margin-bottom: 3rem;
p, h1 {
max-width: 38rem;
}
}
.mdx-hero__image {
order: 1;
transform: translateX(4rem);
width: 38rem;
}
}
@media screen and (min-width: 76.25em) {
.mdx-hero__image {
transform: translateX(8rem);
}
}
.mdx-hero .md-button {
color: var(--pg-hero-color);
border-color: var(--pg-hero-color);
}
2022-04-05 11:30:55 -05:00
[data-md-color-scheme="slate"] .mdx-hero .md-button--primary {
color: var(--md-primary-fg-color);
}
.mdx-hero .md-button--primary {
2022-04-05 10:48:48 -05:00
color: var(--md-primary-fg-color);
background-color: var(--pg-hero-color);
2022-04-05 10:48:48 -05:00
border-color: transparent;
margin-right: 0.5rem;
margin-top: 0.5rem;
}
nav[class="md-tabs"] {
border-bottom: none;
2022-04-05 10:48:48 -05:00
}
2023-02-27 22:17:50 -06:00
/* Homepage Body */
.md-typeset a.headerlink {
display: none;
}
/* article.md-content__inner {
2023-02-27 22:17:50 -06:00
max-width: 50rem;
margin: auto;
padding-bottom: 3rem;
}
@media screen and (max-width: 65rem) {
article.md-content__inner {
margin-right: 0.8rem;
margin-left: 0.8rem;
}
}
2023-02-27 22:17:50 -06:00
article.md-content__inner > * {
max-width: 38rem;
} */
/* article.md-content__inner > *:nth-child(n+8):nth-child(-n+12) {
2023-02-27 22:17:50 -06:00
margin-left: auto;
margin-right: 0;
text-align: right;
} */
.pg-end-right-align, .mdx-cta {
2023-02-27 22:17:50 -06:00
margin-left: auto;
margin-right: auto;
text-align: center;
}
.mdx-cta a:has(.twemoji) {
2023-02-27 22:17:50 -06:00
display: inline-block;
}
.mdx-cta .twemoji {
2023-02-27 22:17:50 -06:00
--md-icon-size: 1.8em;
margin: 0.4rem;
}