sakrecoer-mother-web/_sass/main.scss

139 lines
2.8 KiB
SCSS
Raw Normal View History

2019-04-30 17:28:23 +02:00
html {
2019-09-13 16:12:55 +02:00
font-family: "Ubuntu", "Helvetica", Sans-serif;
2019-07-10 00:29:09 +02:00
2019-04-30 17:28:23 +02:00
}
2019-08-29 18:04:27 +02:00
@-webkit-keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
@-moz-keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
@keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
2019-04-30 18:37:17 +02:00
body{
2019-08-29 18:04:27 +02:00
margin: 0;
padding: 0;
2020-01-28 10:53:07 +01:00
background-color: $color1;
color: $color4;
background: linear-gradient(230deg, $color1, $color3);
2019-07-10 02:16:43 +02:00
background-position: center;
background-repeat: repeat;
-webkit-animation: AnimationName 60s ease infinite;
-moz-animation: AnimationName 60s ease infinite;
animation: AnimationName 60s ease infinite;
2019-04-30 18:37:17 +02:00
}
2019-04-30 17:28:23 +02:00
a {
2020-01-28 10:53:07 +01:00
color: $color4;
transition: all 0.5s ease-in-out;
2019-07-13 21:11:13 +02:00
border-radius: 3px;
}
a:hover {
2019-07-15 16:05:25 +02:00
transition: color 0.5s ease-in-out;
2020-01-28 10:53:07 +01:00
color: $color5;
2019-04-30 17:28:23 +02:00
}
2019-04-28 21:08:49 +02:00
#hero {
2019-07-10 01:22:54 +02:00
display: flex;
flex-wrap: wrap;
2019-07-13 19:49:09 +02:00
flex-direction: row;
2019-07-10 01:22:54 +02:00
background-color: transparent;
2019-07-09 22:17:29 +02:00
position: relative;
2019-04-28 21:42:31 +02:00
height: 100vh;
2019-07-09 22:17:29 +02:00
width: 100%;
2019-07-15 16:05:25 +02:00
// background: linear-gradient(230deg, rgba(218, 159, 142, 0.8), rgba(236, 0, 228, 0.8), rgba(0, 212, 236, 0.8), rgba(0, 236, 173, 0.8), rgba(110, 0, 236, 0.8));
// background-size: 1000% 1000%;
2020-01-28 11:10:04 +01:00
background-image: url('/assets/img/world2.svg');
2019-07-10 02:16:43 +02:00
-webkit-animation: AnimationName 30s ease infinite;
-moz-animation: AnimationName 30s ease infinite;
animation: AnimationName 30s ease infinite;
2019-07-10 01:22:54 +02:00
div {
2019-07-13 19:49:09 +02:00
background-repeat: repeat;
flex: wrap;
margin: auto;
letter-spacing: -.05em;
line-height: .95em;
padding: 20px;
2019-09-13 16:12:55 +02:00
flex: 0 0 250px;;
2019-07-13 19:49:09 +02:00
}
2019-07-13 21:11:13 +02:00
.pivot {
2019-07-14 00:36:43 +02:00
border-radius: 3px;
2020-01-28 10:53:07 +01:00
background: linear-gradient(230deg, $color1, $color3);
box-shadow: 5px 10px 100px $color4;
2019-07-13 21:11:13 +02:00
}
2019-07-15 16:32:19 +02:00
2019-07-10 02:55:26 +02:00
h1 {
2019-07-13 19:49:09 +02:00
2019-09-13 16:12:55 +02:00
font-size: 2.5em;
2019-07-13 19:49:09 +02:00
line-height: .3em;
2019-07-10 02:55:26 +02:00
}
h2 {
2019-07-13 19:49:09 +02:00
font-size: 1em;
line-height: .8em;
2019-07-15 16:05:25 +02:00
}
2019-07-15 16:32:19 +02:00
2019-07-13 21:11:13 +02:00
.fullscreen-bg {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
z-index: -100;
}
.fullscreen-bg__video {
position: absolute;
top: 0;
left: 0;
2019-08-29 18:04:27 +02:00
width: 100vw;
2019-07-13 21:11:13 +02:00
height: 100%;
2020-01-28 10:53:07 +01:00
background: linear-gradient(230deg, $color1, $color3);
2019-08-29 18:04:27 +02:00
margin:0;
padding: 0;
2019-07-13 21:11:13 +02:00
}
@media (min-aspect-ratio: 16/9) {
.fullscreen-bg__video {
height: 300%;
top: -100%;
}
}
@media (max-aspect-ratio: 16/9) {
.fullscreen-bg__video {
width: 300%;
left: -100%;
}
}
@media (max-width: 767px) {
.fullscreen-bg {
2020-01-28 11:10:04 +01:00
background: url('/assets/img/sakrecoer-logo2.svg') center center / cover no-repeat;
2019-07-15 16:32:19 +02:00
}
.pivot {
2019-09-13 16:12:55 +02:00
flex: 0 0 250px;
2019-07-13 21:11:13 +02:00
}
2019-09-13 16:12:55 +02:00
h1 {
2019-07-15 16:32:19 +02:00
2019-09-13 16:12:55 +02:00
font-size: 2.25em;
}
2019-07-15 16:32:19 +02:00
2019-07-13 21:11:13 +02:00
// .fullscreen-bg__video {
// display: none;
// }
}
2019-07-15 16:05:25 +02:00
2019-04-30 17:28:23 +02:00
}