mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-22 14:15:15 -05:00
1b99537a5f
Signed-off-by: Daniel Gray <dngray@privacyguides.org>
125 lines
3.3 KiB
CSS
125 lines
3.3 KiB
CSS
/*
|
|
/// Copyright (c) 2016-2022 Martin Donath <martin.donath@squidfunk.com>
|
|
/// Copyright (c) 2022-2024 Jonah Aragon <jonah@triplebit.net>
|
|
///
|
|
/// Permission is hereby granted, free of charge, to any person obtaining a
|
|
/// copy of this software and associated documentation files (the "Software"),
|
|
/// to deal in the Software without restriction, including without limitation
|
|
/// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
/// and/or sell copies of the Software, and to permit persons to whom the
|
|
/// Software is furnished to do so, subject to the following conditions:
|
|
///
|
|
/// The above copyright notice and this permission notice shall be included in
|
|
/// all copies or substantial portions of the Software.
|
|
///
|
|
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
/// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
|
|
/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
/// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
/// DEALINGS
|
|
*/
|
|
|
|
/* 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);
|
|
}
|
|
[data-md-color-scheme="slate"] .mdx-hero .md-button--primary {
|
|
color: var(--md-primary-fg-color);
|
|
}
|
|
.mdx-hero .md-button--primary {
|
|
color: var(--md-primary-fg-color);
|
|
background-color: var(--pg-hero-color);
|
|
border-color: transparent;
|
|
margin-right: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
nav[class="md-tabs"] {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Homepage Body */
|
|
.md-typeset a.headerlink {
|
|
display: none;
|
|
}
|
|
/* article.md-content__inner {
|
|
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;
|
|
}
|
|
}
|
|
article.md-content__inner > * {
|
|
max-width: 38rem;
|
|
} */
|
|
/* article.md-content__inner > *:nth-child(n+8):nth-child(-n+12) {
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
text-align: right;
|
|
} */
|
|
.pg-end-right-align, .mdx-cta {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
text-align: center;
|
|
}
|
|
.mdx-cta a:has(.twemoji) {
|
|
display: inline-block;
|
|
}
|
|
.mdx-cta .twemoji {
|
|
--md-icon-size: 1.8em;
|
|
margin: 0.4rem;
|
|
}
|