forked from markus/AMPERION_Webpage
new
This commit is contained in:
commit
1d8da2b6dd
824 changed files with 76366 additions and 0 deletions
188
assets/scss/style.scss
Normal file
188
assets/scss/style.scss
Normal file
|
|
@ -0,0 +1,188 @@
|
|||
// Color Variables
|
||||
{{ with site.Params.variables }}
|
||||
$color-primary: {{.color_primary | default "#fff"}};
|
||||
$color-secondary: {{.color_secondary | default "#0AA8A7"}};
|
||||
$text-color: {{.text_color | default "#777"}};
|
||||
$text-dark: {{.text_dark | default "#222"}};
|
||||
$text-light: {{.text_light | default "#737373"}};
|
||||
$body-bg: {{.body_color | default "#fff"}};
|
||||
$border-color: {{.border_color | default "#ECECEC"}};
|
||||
$black: {{.black | default "#000"}};
|
||||
$white: {{.white | default "#fff"}};
|
||||
$light: {{.light | default "#EDF6F5"}};
|
||||
|
||||
|
||||
// Font Variables
|
||||
$font-size: {{.font_size | default "16px"}};
|
||||
$font-scale: {{.font_scale | default "1.25"}};
|
||||
$font-primary: '{{replace (replaceRE ":[ital,]*[ital@]*[wght@]*[0-9,;]+" "" .font_primary | default "Lato") "+" " "}}', {{.font_primary_type | default "sans-serif"}};
|
||||
$font-secondary: '{{replace (replaceRE ":[ital,]*[ital@]*[wght@]*[0-9,;]+" "" .font_secondary | default "Lato") "+" " "}}', {{.font_secondary_type | default "sans-serif"}};
|
||||
$font-tertiary: '{{replace (replaceRE ":[ital,]*[ital@]*[wght@]*[0-9,;]+" "" .font_tertiary | default "Dosis") "+" " "}}', {{.font_tertiary_type | default "sans-serif"}};
|
||||
$font-quaternary: '{{replace (replaceRE ":[ital,]*[ital@]*[wght@]*[0-9,;]+" "" .font_quaternary | default "Edu") "+" " "}}', {{.font_quaternary_type | default "sans-serif"}};
|
||||
|
||||
$font-icon: '{{.font_icon | default "Font Awesome 5 Free"}}';
|
||||
{{ end }}
|
||||
|
||||
$h1: 80px;
|
||||
$h1-md: 34px;
|
||||
$h2: 28px;
|
||||
$h2-md: 26px;
|
||||
$h2-sm: 22px;
|
||||
$h3: 20px;
|
||||
$h4: 25px;
|
||||
|
||||
@import 'mixins.scss';
|
||||
|
||||
@import 'media-query.scss';
|
||||
|
||||
@import 'typography.scss';
|
||||
|
||||
@import 'common.scss';
|
||||
|
||||
@import 'main.scss';
|
||||
|
||||
@import 'templates/_header.scss';
|
||||
|
||||
@import 'templates/_navigation.scss';
|
||||
|
||||
@import 'templates/_slider.scss';
|
||||
|
||||
@import 'templates/_call-to-action.scss';
|
||||
|
||||
@import 'templates/_service.scss';
|
||||
|
||||
@import 'templates/_feature.scss';
|
||||
|
||||
@import 'templates/_portfolio.scss';
|
||||
|
||||
@import 'templates/_testimonial.scss';
|
||||
|
||||
@import 'templates/_contact.scss';
|
||||
|
||||
@import 'templates/_pricing.scss';
|
||||
|
||||
@import 'templates/_products.scss';
|
||||
|
||||
@import 'templates/_single-product.scss';
|
||||
|
||||
@import 'templates/_clients.scss';
|
||||
|
||||
@import 'templates/_about.scss';
|
||||
|
||||
@import 'templates/_instagram.scss';
|
||||
|
||||
@import 'templates/_user-dashboard.scss';
|
||||
|
||||
@import 'templates/_single-post.scss';
|
||||
|
||||
@import 'templates/_backgrounds.scss';
|
||||
|
||||
@import 'templates/_blog-sidebar.scss';
|
||||
|
||||
@import 'templates/_blog.scss';
|
||||
|
||||
@import 'templates/_coming-soon.scss';
|
||||
|
||||
@import 'templates/_shopping.scss';
|
||||
|
||||
@import 'templates/_404.scss';
|
||||
|
||||
@import 'templates/_message-sent.scss';
|
||||
|
||||
@import 'templates/_footer.scss';
|
||||
|
||||
@import 'custom.scss';
|
||||
|
||||
|
||||
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
|
||||
/* 1) Die .logo-container bekommt 80% Breite => 10% links und 10% rechts frei */
|
||||
.logo-container {
|
||||
width: 80%;
|
||||
margin: 0 auto; /* Zentriert sich, lässt links und rechts je 10% Platz */
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 20px; /* Abstand zwischen Frame 1 & Frame 2 */
|
||||
}
|
||||
|
||||
/* 2) Frame 1 (40%) und Frame 2 (60%) */
|
||||
.frame1 {
|
||||
flex: 0 0 40%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.frame2 {
|
||||
flex: 0 0 60%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* 3) Banner-Logos selbst: Standard erst auf opacity:0, Animation blendet sie ein */
|
||||
.banner-logo {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* 4) ANIMATIONEN */
|
||||
/* Frame 1 – Move-In: Wir animieren gezielt das Bild */
|
||||
.frame1 .banner-logo {
|
||||
animation: moveIn 1s forwards;
|
||||
}
|
||||
/* Frame 2 – Fade-In: Wir animieren gezielt das Bild */
|
||||
.frame2 .banner-logo {
|
||||
animation: moveIn 1s 0.5s forwards;
|
||||
}
|
||||
|
||||
/* Keyframes */
|
||||
@keyframes moveIn {
|
||||
from {
|
||||
transform: translateX(50px);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* 5) TITEL-FADE-IN (optional) */
|
||||
.fade-in-title {
|
||||
opacity: 0;
|
||||
animation: fadeTitle 1.5s forwards 1s;
|
||||
}
|
||||
@keyframes fadeTitle {
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
/* 6) (Optional) Responsive unter 768px => Frames untereinander */
|
||||
@media (max-width: 768px) {
|
||||
.logo-container {
|
||||
flex-direction: column;
|
||||
width: 90%; /* Mehr Platz, Bilder untereinander */
|
||||
}
|
||||
.frame1, .frame2 {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue