2024-05-20 13:29:33 +02:00

252 lines
4.2 KiB
SCSS

// Style config: https://theme-hope.vuejs.press/config/style.html
// Customize color: https://theme-hope.vuejs.press/guide/customize/color.html
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: url('@theme/assets/fonts/Noto_Sans/NotoSans-Regular.ttf');
}
@font-face {
font-family: 'Noto Sans Bold';
font-style: bold;
font-weight: 600;
src: url('@theme/assets/fonts/Noto_Sans/NotoSans-Bold.ttf');
}
$font-family: '"Noto Sans", sans-serif' !default;
$font-family-heading: '"Noto Sans Bold", sans-serif' !default;
$theme-color: #17b53f;
$text-color: (
light: #2c3e50,
dark: #b3b3b3,
);
html {
margin: 0;
};
body {
font-family: 'Noto Sans';
};
h1, h2, h3, h4 {
font-family: 'Noto Sans Bold';
};
.theme-hope-content {
width: 100%;
margin: 0;
}
.theme-hope-content:not(.custom) {
max-width: max-content;
padding: 0;
}
.theme-hope-content Button {
font-size: 1.1em;
color: var(--text-color);
background-color: rgba(0, 0, 0, 0);
border-color: #e5e4e6;
transition: 0.3s;
border-width: 2px !important;
border-style: solid;
border-radius: 5px;
padding: 12px 16px;
cursor: grab;
html[data-theme="dark"] & {
background-color: rgba(0, 0, 0, 0);
}
}
.theme-hope-content Button:hover {
color: black;
background-color: #f5f4f6;
border-color: #e5e4e6;
html[data-theme="dark"] & {
color: white !important;
background-color: rgba(255, 255, 255, 0.15) !important;
border-color: white !important;
}
}
.hero-button {
color: rgba(255, 255, 255, 0.85) !important;
background-color: rgba(0, 0, 0, 0);
border-color: rgba(255, 255, 255, 0.66);
}
.hero-button:hover {
color: white !important;
background-color: rgba(255, 255, 255, 0.15) !important;
border-color: white !important;
}
.theme-hope-content Button.donate-button {
background-color: $theme-color !important;
opacity: 0.85 !important;
border: 0 !important;
color: white !important;
};
.theme-hope-content Button.donate-button:hover {
opacity: 1.0 !important;
};
.image-grid {
display: flex;
gap: 5px;
flex-wrap: wrap;
}
.hero-container {
background-image: linear-gradient(#282a82, #5e0d46);
width: 100%;
margin-bottom: 0.5rem;
color: #eee;
}
.hero-container-inner {
background-image: url("/society-tile-399x122.png");
background-repeat: repeat-x;
background-position: center bottom;
}
.hero-container-content {
width: 90%;
margin: 2.8em auto;
text-align: center;
}
.hero-button {
font-size: 1.1em;
color: rgba(255, 255, 255, 0.85);
background-color: rgba(0, 0, 0, 0);
border-color: rgba(255, 255, 255, 0.66);
transition: 0.3s;
border-style: solid;
border-radius: 5px;
padding: 12px 16px;
}
.hero-button:hover {
color: white;
background-color: rgba(255, 255, 255, 0.15);
border-color: white;
cursor: grab;
}
#logo {
width: 150px;
}
.slogan {
display: block;
}
#slogan-container {
margin: 30px auto;
}
#slogan-1 {
font-family: 'Noto Sans Bold';
font-weight: bold;
font-size: 3em;
}
#slogan-2 {
font-family: 'Noto Sans';
font-size: 2em;
}
@media screen and (max-width: 650px) {
.hero-button {
margin: 16px 0;
}
#slogan-1 {
font-size: 2.7em;
line-height: 1.1em;
}
#slogan-2 {
font-size: 1.85em;
line-height: 1.1em;
margin-top: 0.5em;
}
}
#main-title {
position: absolute;
top: -100;
opacity: 0 !important;
}
#main-description {
display: none;
}
.image-grid {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
text-align: center;
margin-bottom: 1em;
}
.image-grid figure {
text-align: center;
width: 300px;
height: auto;
flex-shrink: 1;
}
.all-features {
text-align: center;
}
h2.large-header {
font-size: 2.2em;
line-height: 1.2em;
text-align: center;
margin-top: 0;
padding-top: 1.8em;
border: 0;
}
#feature-headline {
margin-bottom: 1em;
}
.benefits-grid {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
text-align: center;
}
.benefits-grid figure {
width: 300px;
height: auto;
flex-shrink: 1;
align-items: stretch;
}
.benefits-grid span {
font-size: 3rem;
}
.center {
text-align: center;
}
.center table {
width: 560px;
margin: 0 auto !important;
text-align: center;
}