partey_workadventure/landing_page/src/sass/styles.scss

285 lines
6.4 KiB
SCSS
Raw Normal View History

2020-06-01 13:09:23 +02:00
@import "custom";
@import "~bootstrap/scss/bootstrap";
2020-06-03 00:31:42 +02:00
@import "_choose-map";
2020-06-01 13:09:23 +02:00
@font-face {
font-family: OpenSans;
src: url('../fonts/OpenSans-Regular.ttf');
}
@font-face {
font-family: '04b03';
font-style: normal;
font-weight: normal;
src: local('04b03'), url('../fonts/04B_03.woff') format('woff');
}
@font-face {
font-family: 'Karmatic Arcade';
src: url('../fonts/ka1.ttf') format('truetype');
}
@font-face {
font-family: 'VCR OSD Mono';
src: url('../fonts/VCR_OSD.ttf') format('truetype');
}
2020-06-01 13:09:23 +02:00
header {
background: #28A7FC url("../images/sky.jpg") no-repeat bottom;
2020-06-01 13:09:23 +02:00
background-size: 100%;
height: 37rem;
position: relative;
2020-06-01 13:18:57 +02:00
.section{
position: relative;
}
2020-06-01 13:09:23 +02:00
.over-image {
bottom: 0;
position: absolute;
top: 0;
left: 0;
right: 0;
height: 33rem;
2020-06-01 13:09:23 +02:00
.logo{
2020-06-01 13:18:57 +02:00
margin: 1rem 0;
2020-06-01 13:09:23 +02:00
}
2020-06-02 08:26:16 +02:00
.social-links {
text-align: right;
padding-top: 36px;
a {
margin-left: 20px;
}
}
2020-06-01 13:09:23 +02:00
.title {
padding: 5rem 0;
color: black;
h1 {
font-family: 'Karmatic Arcade';
font-size: 44px;
margin-bottom: 20px;
}
2020-06-01 13:09:23 +02:00
}
}
.clouds {
content: "";
position: absolute;
bottom: 0;
right: 0;
height: 162px;
overflow: hidden;
width: 100%;
z-index: 1;
2020-06-02 12:55:16 +02:00
&.clouds-2 {
bottom: 25px;
.cloud {
transform: translateX(50px);
-webkit-animation-duration: 80s;
opacity: .6;
}
}
.cloud {
background: url('../images/cloud.png') repeat-x;
height: 162px;
width: 4000px;
-webkit-animation-name: prop-600;
2020-06-02 08:26:16 +02:00
-webkit-animation-duration: 50s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-direction:alternate;
}
}
2020-06-01 13:09:23 +02:00
}
@-webkit-keyframes prop-600 {
0% {
-webkit-transform: translateX(0px);
}
100% {
-webkit-transform: translateX(-400px);
}
}
2020-06-01 13:09:23 +02:00
.custom-link{
font-family: "VCR OSD Mono";
font-size: 18px;
2020-06-02 08:54:25 +02:00
letter-spacing: 5px;
color: white;
2020-06-01 13:09:23 +02:00
display: block;
margin: 0 auto;
width: 250px;
height: 64px;
2020-06-01 13:09:23 +02:00
background-image: url('../images/btn-bg.png');
background-repeat: no-repeat;
background-size: 100%;
position: absolute;
left: 0;
right: 0;
bottom: -24px;
padding: 20px;
text-align: center;
z-index: 2;
transition: all .1s cubic-bezier(0.000, -0.600, 1.000, 1.650); /* custom */
//transition-timing-function: cubic-bezier(0.000, -0.600, 1.000, 1.650); /* custom */
&:hover {
color: white;
2020-06-02 08:54:25 +02:00
transform: translateY(-6px);
text-decoration: none;
}
&.contribute {
background-image: url('../images/btn-bg-2.png');
}
2020-06-02 08:54:25 +02:00
&.start {
padding-left: 55px;
&:before {
content: "";
position: absolute;
background: url('../images/playicon.png') no-repeat;
height: 20px;
width: 21px;
left: 36px;
top: 23px;
}
}
2020-06-01 13:09:23 +02:00
&.light{
background-image: url('../images/btn-bg-light.png');
}
/*&::after{
2020-06-01 13:09:23 +02:00
content: "";
position: absolute;
background-size: 60%;
width: 100%;
height: 100%;
}*/
2020-06-01 13:09:23 +02:00
}
img{
max-width: 100%;
}
.bg-white{
color: #000000;
}
.bg-gray{
background-color: #3b3b3b !important;
}
.credits {
text-align: center;
h2{
padding: 1rem 0;
margin: 0;
min-height: 6rem;
font-family: 'Karmatic Arcade';
font-size: 34px;
margin-bottom: 20px;
}
p {
}
}
2020-06-01 13:09:23 +02:00
.section{
padding-top: 2rem;
padding-bottom: 5rem;
&.used-by{
img{
padding: 0 1rem;
}
}
&.how-to{
padding: 175px 0;
2020-06-02 09:51:21 +02:00
background: url('../images/bg-briques.jpg') repeat-x bottom;
2020-06-01 13:09:23 +02:00
.image-item{
height: 100%;
margin: 0 auto;
padding: 20px;
transition: all .25s cubic-bezier(0.000, -0.600, 1.000, 1.650); /* custom */
&:hover {
transform: scale(1.1);
2020-06-02 08:26:16 +02:00
.step-image {
&:after {
bottom: -10px;
left: 10px;
}
}
}
.step-image {
position: relative;
&:after {
2020-06-02 12:55:16 +02:00
transition: all .25s cubic-bezier(0.000, -0.600, 1.000, 1.650);
content:"";
height: 100%;
width: 100%;
background: #dcdcdc;
position: absolute;
bottom: -25px;
left: 25px;
2020-06-02 12:55:16 +02:00
background: url('../images/bg-step.png') no-repeat bottom right;
}
img {
width: 100%;
z-index: 2;
position: relative;
}
}
2020-06-01 13:09:23 +02:00
h2{
padding: 1rem 0;
margin: 0;
min-height: 6rem;
font-family: 'Karmatic Arcade';
font-size: 22px;
margin-bottom: 20px;
2020-06-01 13:09:23 +02:00
}
}
}
&.used-by{
img{
}
}
&.quotes{
h2{
font-family: 'Karmatic Arcade';
font-size: 34px;
margin: 40px 0;
2020-06-01 13:09:23 +02:00
}
.quote-item{
padding: 1rem 0;
text-align: center;
2020-06-01 13:09:23 +02:00
.quote{
font-size: 1.5rem;
margin-bottom: 0.5rem;
letter-spacing: 2px;
}
.author{
font-size: 1rem;
letter-spacing: 0px;
2020-06-01 13:09:23 +02:00
}
}
}
}
.footer {
padding: 2rem;
2020-06-02 08:26:16 +02:00
.floppy {
2020-06-02 08:54:25 +02:00
text-align: right;
2020-06-02 08:26:16 +02:00
img {
float: right;
margin-left: 20px;
}
div {
float: right;
margin-left: 15px;
2020-06-02 08:54:25 +02:00
font-size: 16px;
2020-06-02 09:51:21 +02:00
line-height: 16px;
padding-top: 10px;
2020-06-02 08:26:16 +02:00
span {
color: grey;
2020-06-02 08:54:25 +02:00
font-size: 13px;
2020-06-02 08:26:16 +02:00
}
}
}
}
2020-06-01 13:09:23 +02:00
2020-06-03 00:31:42 +02:00
.pixel-title{
font-family: "Karmatic Arcade" !important;
}