mirror of
https://github.com/Kugelschieber/schnittfest.git
synced 2026-01-18 10:20:27 +00:00
Started moving stuff to Shifu.
This commit is contained in:
833
assets/scss/main.scss
Normal file
833
assets/scss/main.scss
Normal file
@@ -0,0 +1,833 @@
|
||||
@import "_reset.scss";
|
||||
@import "_grid.scss";
|
||||
|
||||
* {
|
||||
color: var(--black);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
color: var(--black);
|
||||
font-family: "Manrope", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
|
||||
--white: #fff;
|
||||
--beige: #f7eee0;
|
||||
--yellow: #febb28;
|
||||
--orange: #fe6732;
|
||||
--red: #f5303c;
|
||||
--pink: #ce2867;
|
||||
--purple: #571b47;
|
||||
--grey: #3d3d3d;
|
||||
--black: #000;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--beige);
|
||||
padding: 0 16px;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
section {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, p {
|
||||
margin-block-start: 0;
|
||||
margin-block-end: 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 96px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
|
||||
a {
|
||||
color: var(--red);
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
button, a.button {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
padding: 16px 24px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
[data-aos="fade-in"] {
|
||||
opacity: 0;
|
||||
transition-property: opacity;
|
||||
|
||||
&.aos-animate {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 64px;
|
||||
width: 100%;
|
||||
background-color: var(--beige);
|
||||
z-index: 100;
|
||||
-webkit-backface-visibility: hidden; /* Correct fixed positioning on mobile */
|
||||
|
||||
.container {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.wordmark {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
justify-content: flex-end;
|
||||
text-align: right;
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
margin-left: 48px;
|
||||
font-size: 18px;
|
||||
line-height: 1.5;
|
||||
font-weight: 500;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
|
||||
&:nth-of-type(1):hover::before {
|
||||
background-color: var(--pink);
|
||||
}
|
||||
|
||||
&:nth-of-type(2):hover::before {
|
||||
background-color: var(--red);
|
||||
}
|
||||
|
||||
&:nth-of-type(3):hover::before {
|
||||
background-color: var(--orange);
|
||||
}
|
||||
|
||||
&:nth-of-type(4):hover::before {
|
||||
background-color: var(--yellow);
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 2px;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-menu {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
z-index: 1000;
|
||||
animation: fade-in 0.2s ease-in-out;
|
||||
-webkit-backface-visibility: hidden; /* Correct fixed positioning on mobile */
|
||||
|
||||
@keyframes fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
color: white;
|
||||
font-size: 24px;
|
||||
line-height: 64px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.section-start {
|
||||
padding: 128px 0;
|
||||
|
||||
.headline {
|
||||
display: flex;
|
||||
margin-bottom: 96px;
|
||||
|
||||
h1 {
|
||||
flex: 1;
|
||||
|
||||
a {
|
||||
color: var(--red);
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.hero {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
|
||||
video {
|
||||
height: 100%;
|
||||
min-height: 512px;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
transform: scale(1.004);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.section-service {
|
||||
padding: 128px 0;
|
||||
|
||||
h2 {
|
||||
margin: 0 64px 24px 0;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 8px solid;
|
||||
|
||||
&:nth-of-type(1) {
|
||||
border-color: var(--red);
|
||||
}
|
||||
|
||||
&:nth-of-type(2) {
|
||||
border-color: var(--orange);
|
||||
}
|
||||
|
||||
&:nth-of-type(3) {
|
||||
border-color: var(--yellow);
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 64px 64px 0;
|
||||
|
||||
&:last-of-type {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.img {
|
||||
min-height: 512px;
|
||||
background-image: url("1.jpg");
|
||||
background-position: center 33%;
|
||||
background-size: cover;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.section-work {
|
||||
padding: 128px 0;
|
||||
|
||||
.video {
|
||||
margin-bottom: 128px;
|
||||
|
||||
&:nth-of-type(4n+1) h2 {
|
||||
border-color: var(--pink);
|
||||
}
|
||||
|
||||
&:nth-of-type(4n+2) h2 {
|
||||
border-color: var(--red);
|
||||
}
|
||||
|
||||
&:nth-of-type(4n+3) h2 {
|
||||
border-color: var(--orange);
|
||||
}
|
||||
|
||||
&:nth-of-type(4n+4) h2 {
|
||||
border-color: var(--yellow);
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 0 0 24px 64px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 8px solid;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-left: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-rental {
|
||||
padding: 128px 0;
|
||||
|
||||
.square {
|
||||
position: sticky;
|
||||
top: 128px;
|
||||
padding: 32px 0;
|
||||
|
||||
h2 {
|
||||
margin-bottom: 24px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 8px solid var(--red);
|
||||
}
|
||||
|
||||
button, a.button {
|
||||
display: inline-flex;
|
||||
color: var(--black);
|
||||
margin: 48px 12px 0 0;
|
||||
|
||||
&:hover {
|
||||
box-shadow: inset 0 0 0 2px var(--black);
|
||||
}
|
||||
|
||||
&.primary {
|
||||
background-color: var(--yellow);
|
||||
}
|
||||
|
||||
&.secondary {
|
||||
background-color: var(--orange);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.parts {
|
||||
position: relative;
|
||||
max-width: 720px;
|
||||
min-height: 256px;
|
||||
margin: 0 auto;
|
||||
|
||||
img:not(#part0) {
|
||||
position: absolute;
|
||||
filter: contrast(1.3) saturate(0.6);
|
||||
}
|
||||
|
||||
#part0 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#part1 {
|
||||
width: 29%;
|
||||
left: 34%;
|
||||
}
|
||||
|
||||
#part2 {
|
||||
width: 8.5%;
|
||||
left: 24%;
|
||||
margin-top: 2%;
|
||||
}
|
||||
|
||||
#part3 {
|
||||
width: 19%;
|
||||
left: 0;
|
||||
margin-top: 2%;
|
||||
}
|
||||
|
||||
#part4 {
|
||||
width: 17%;
|
||||
left: 2%;
|
||||
margin-top: 15%;
|
||||
}
|
||||
|
||||
#part5 {
|
||||
width: 5.5%;
|
||||
left: 70%;
|
||||
margin-top: 9%;
|
||||
}
|
||||
|
||||
#part6 {
|
||||
width: 22%;
|
||||
left: 64%;
|
||||
margin-top: 1%;
|
||||
}
|
||||
|
||||
#part7 {
|
||||
width: 12.5%;
|
||||
left: 87.5%;
|
||||
margin-top: 1%;
|
||||
}
|
||||
|
||||
#part8 {
|
||||
width: 37%;
|
||||
left: 30%;
|
||||
margin-top: 28%;
|
||||
}
|
||||
|
||||
#part9 {
|
||||
width: 22.5%;
|
||||
left: 0;
|
||||
margin-top: 28%;
|
||||
}
|
||||
|
||||
#part10 {
|
||||
width: 49%;
|
||||
left: 20%;
|
||||
margin-top: 40%;
|
||||
}
|
||||
|
||||
#part11 {
|
||||
width: 14%;
|
||||
left: 2%;
|
||||
margin-top: 36%;
|
||||
}
|
||||
|
||||
#part12 {
|
||||
width: 27%;
|
||||
left: 72%;
|
||||
margin-top: 31%;
|
||||
}
|
||||
|
||||
#part13 {
|
||||
width: 24%;
|
||||
left: 48%;
|
||||
margin-top: 48%;
|
||||
}
|
||||
|
||||
#part14 {
|
||||
width: 19%;
|
||||
left: 24%;
|
||||
margin-top: 48%;
|
||||
}
|
||||
|
||||
#part15 {
|
||||
width: 4.5%;
|
||||
left: 15%;
|
||||
margin-top: 47%;
|
||||
}
|
||||
|
||||
#part16 {
|
||||
width: 24%;
|
||||
left: 75%;
|
||||
margin-top: 48%;
|
||||
}
|
||||
|
||||
#part17 {
|
||||
width: 7.5%;
|
||||
left: 2%;
|
||||
margin-top: 44%;
|
||||
}
|
||||
|
||||
#part18-1 {
|
||||
width: 14%;
|
||||
left: 46%;
|
||||
margin-top: 72%;
|
||||
}
|
||||
|
||||
#part18-2 {
|
||||
width: 14%;
|
||||
left: 46%;
|
||||
margin-top: 86%;
|
||||
}
|
||||
|
||||
#part19-1 {
|
||||
width: 17%;
|
||||
left: 22%;
|
||||
margin-top: 70%;
|
||||
}
|
||||
|
||||
#part19-2 {
|
||||
width: 17%;
|
||||
left: 22%;
|
||||
margin-top: 84%;
|
||||
}
|
||||
|
||||
#part20 {
|
||||
width: 13.5%;
|
||||
left: 66%;
|
||||
margin-top: 73%;
|
||||
}
|
||||
|
||||
#part21 {
|
||||
width: 11.5%;
|
||||
left: 6%;
|
||||
margin-top: 73%;
|
||||
}
|
||||
|
||||
#part22 {
|
||||
width: 13.5%;
|
||||
left: 84%;
|
||||
margin-top: 73%;
|
||||
}
|
||||
|
||||
#part23 {
|
||||
width: 28%;
|
||||
left: 22%;
|
||||
margin-top: 102%;
|
||||
}
|
||||
|
||||
#part24 {
|
||||
width: 37.5%;
|
||||
left: 60%;
|
||||
margin-top: 100%;
|
||||
}
|
||||
|
||||
#part25 {
|
||||
width: 20%;
|
||||
left: 14%;
|
||||
margin-top: 105%;
|
||||
}
|
||||
|
||||
#part26 {
|
||||
width: 40%;
|
||||
left: 43%;
|
||||
margin-top: 106%;
|
||||
}
|
||||
|
||||
#part27 {
|
||||
width: 22.5%;
|
||||
left: 20%;
|
||||
margin-top: 115%;
|
||||
}
|
||||
|
||||
#part28 {
|
||||
width: 22%;
|
||||
left: 47%;
|
||||
margin-top: 130%;
|
||||
}
|
||||
|
||||
#part29-1 {
|
||||
width: 3%;
|
||||
left: 4%;
|
||||
margin-top: 106%;
|
||||
}
|
||||
|
||||
#part29-2 {
|
||||
width: 3%;
|
||||
left: 8%;
|
||||
margin-top: 106%;
|
||||
}
|
||||
|
||||
#part30 {
|
||||
width: 19%;
|
||||
left: 70%;
|
||||
margin-top: 116%;
|
||||
}
|
||||
|
||||
#part31-1 {
|
||||
width: 2.5%;
|
||||
left: 13%;
|
||||
margin-top: 125.5%;
|
||||
}
|
||||
|
||||
#part31-2 {
|
||||
width: 2.5%;
|
||||
left: 16%;
|
||||
margin-top: 125.5%;
|
||||
}
|
||||
|
||||
#part32-1 {
|
||||
width: 2.75%;
|
||||
left: 20%;
|
||||
margin-top: 126%;
|
||||
}
|
||||
|
||||
#part32-2 {
|
||||
width: 2.75%;
|
||||
left: 24%;
|
||||
margin-top: 126%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.section-instagram {
|
||||
padding: 128px 0;
|
||||
}
|
||||
|
||||
.section-text {
|
||||
padding: 128px 0;
|
||||
|
||||
h3 {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin: 16px 0 12px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 128px 0;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
li {
|
||||
font-size: 18px;
|
||||
line-height: 1.5;
|
||||
font-weight: 500;
|
||||
|
||||
&:first-of-type {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
&:not(:first-of-type) {
|
||||
margin-left: 48px;
|
||||
}
|
||||
|
||||
&:nth-of-type(4n+1):hover a::before {
|
||||
background-color: var(--pink);
|
||||
}
|
||||
|
||||
&:nth-of-type(4n+2):hover a::before {
|
||||
background-color: var(--red);
|
||||
}
|
||||
|
||||
&:nth-of-type(4n+3):hover a::before {
|
||||
background-color: var(--orange);
|
||||
}
|
||||
|
||||
&:nth-of-type(4n+4):hover a::before {
|
||||
background-color: var(--yellow);
|
||||
}
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 2px;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1023px) {
|
||||
h1 {
|
||||
font-size: 64px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.section-start {
|
||||
padding: 64px 0;
|
||||
|
||||
.headline {
|
||||
margin-bottom: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-service {
|
||||
padding: 64px 0;
|
||||
|
||||
h2 {
|
||||
margin: 0 32px 24px 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 32px 32px 0;
|
||||
}
|
||||
|
||||
.img {
|
||||
margin-top: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-work {
|
||||
padding: 64px 0;
|
||||
|
||||
h2 {
|
||||
margin: 0 0 24px 0;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 32px 0;
|
||||
}
|
||||
|
||||
.video {
|
||||
margin-bottom: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-rental {
|
||||
padding: 64px 0;
|
||||
overflow-x: hidden;
|
||||
|
||||
.square {
|
||||
padding: 0;
|
||||
|
||||
h2 {
|
||||
margin: 0 0 24px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.parts {
|
||||
margin: 64px 0 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.section-instagram {
|
||||
padding: 64px 0;
|
||||
}
|
||||
|
||||
.section-text {
|
||||
padding: 64px 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 64px 0;
|
||||
|
||||
ul {
|
||||
display: block;
|
||||
|
||||
li {
|
||||
margin: 12px 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.section-service {
|
||||
h2 {
|
||||
margin: 0 0 16px 0;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 24px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.section-work {
|
||||
h2 {
|
||||
margin: 0 0 16px 0;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 24px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.section-rental {
|
||||
.square h2 {
|
||||
margin: 0 0 16px 0;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 511px) {
|
||||
h1 {
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
.section-start {
|
||||
padding: 32px 0 0;
|
||||
|
||||
.headline {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-service {
|
||||
padding: 64px 0 0;
|
||||
|
||||
h2 {
|
||||
border-bottom: 4px solid;
|
||||
}
|
||||
|
||||
.img {
|
||||
margin-top: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.section-work {
|
||||
padding: 64px 0 0;
|
||||
|
||||
.video {
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
border-bottom: 4px solid;
|
||||
}
|
||||
}
|
||||
|
||||
.section-rental {
|
||||
padding: 64px 0 0;
|
||||
|
||||
.square h2 {
|
||||
border-bottom: 4px solid var(--red);
|
||||
}
|
||||
}
|
||||
|
||||
.section-instagram {
|
||||
padding: 32px 0;
|
||||
}
|
||||
|
||||
.section-text {
|
||||
padding: 32px 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 32px 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user