mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-12 23:35:59 +00:00
229 lines
3.7 KiB
SCSS
229 lines
3.7 KiB
SCSS
@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;
|
|
|
|
html[data-theme="dark"] body {
|
|
color: #b3b3b3;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Noto Sans';
|
|
};
|
|
|
|
h1, h2, h3, h4 {
|
|
font-family: 'Noto Sans Bold';
|
|
};
|
|
|
|
Button {
|
|
font-size: 1.1em;
|
|
color: rgba(0, 0, 0, 0.85);
|
|
border-color: rgba(0, 0, 0, 0.85);
|
|
transition: 0.3s;
|
|
border-width: 2px !important;
|
|
border-style: solid;
|
|
border-radius: 5px;
|
|
padding: 12px 16px;
|
|
cursor: grab;
|
|
}
|
|
|
|
html[data-theme="dark"] Button {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border-color: rgba(255, 255, 255, 0.66);
|
|
}
|
|
|
|
.hero-button {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
background-color: rgba(0, 0, 0, 0);
|
|
border-color: rgba(255, 255, 255, 0.66);
|
|
}
|
|
|
|
.hero-button:hover {
|
|
color: white;
|
|
background-color: rgba(255, 225, 255, 0.15);
|
|
border-color: white;
|
|
}
|
|
|
|
.donate-button {
|
|
background-color: $theme-color;
|
|
opacity: 0.85;
|
|
border: 0;
|
|
color: white;
|
|
// margin-bottom: 20px;
|
|
};
|
|
|
|
.donate-button:hover {
|
|
opacity: 1.0;
|
|
};
|
|
|
|
.image-grid {
|
|
display: flex;
|
|
gap: 5px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hero-container {
|
|
width: auto;
|
|
background-image: linear-gradient(#282a82, #5e0d46);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
margin-bottom: 1rem;
|
|
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, 225, 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;
|
|
} |