-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
139 lines (122 loc) · 3.08 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
body {
height: 100vh;
width: 100%;
margin: 0;
overflow: hidden;
background-color: #79838b;
display: flex;
flex-flow: column;
position: relative;
}
.bg {
position: relative;
width: 100%;
height: 100vh;
max-height: 500px;
background-image: url("https://user-images.githubusercontent.com/26748614/96336781-733b6f80-1082-11eb-82a6-9b422f8f91c1.jpg");
background-size: contain;
background-repeat: repeat-x;
background-position: 50% 50%;
}
.pngLights {
position: absolute;
z-index: 8;
width: 100%;
height: 100vh;
max-height: 500px;
background-image: url("https://user-images.githubusercontent.com/26748614/96336791-759dc980-1082-11eb-85cb-c8761a9a5672.png"), url("https://user-images.githubusercontent.com/26748614/96336777-72a2d900-1082-11eb-9422-8f2ca0a4f302.png"), url("https://user-images.githubusercontent.com/26748614/96336777-72a2d900-1082-11eb-9422-8f2ca0a4f302.png");
background-size: contain;
background-repeat: no-repeat;
background-position: 50% -22px;
}
.pngLights.active {
background-image: url("https://user-images.githubusercontent.com/26748614/96336791-759dc980-1082-11eb-85cb-c8761a9a5672.png"), url("https://user-images.githubusercontent.com/26748614/96336777-72a2d900-1082-11eb-9422-8f2ca0a4f302.png"), url("");
}
.cc {
width: 100%;
height: 100vh;
position: absolute;
top: 0;
left: 0;
}
#canvas_container1 {
max-height: 500px;
z-index: 1;
}
#canvas_container2 {
height: 100vh;
z-index: 2;
}
.floor {
flex: 1 1 auto;
background-image: url("https://user-images.githubusercontent.com/26748614/96336787-746c9c80-1082-11eb-941f-7846cba8223b.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: 50% 0%;
}
/**** Buttons *****/
.buttons {
position: absolute;
width: 100%;
height: 100vh;
max-height: 500px;
}
.btn {
position: absolute;
bottom: 5%;
z-index: 10;
border: 1px solid white;
border-radius: 5px;
padding: 3px 15px;
background-color: #1f1f1f;
color: #fdfcfc;
-webkit-font-smoothing: antialiased;
font-size: 18px;
font-family: 'Rajdhani', sans-serif;
letter-spacing: 1px;
cursor: pointer;
user-select: none;
box-shadow: 5px 3px 12px 0px rgba(0, 0, 0, 0.75);
transition: color .3s;
}
.btn_Works {
left: 5%;
text-decoration: none;
}
.btn_Light {
left: 50%;
transform: translateX(-50%);
transform-origin: 25% 50%;
color: #feaeae;
}
.btn_Works:hover {
background-color: #3d3d3d;
color: #6286f4;
}
.btn_Light:hover {
background-color: #3d3d3d;
color: #da1616;
}
.btn_Light.blink {
animation: blinkAni 500ms;
}
@keyframes blinkAni {
0% {
background: #f5f6e4;
transform: scale(1) translateX(-50%);
}
50% {
transform: scale(1.2) translateX(-50%);
}
100% {
transform: scale(1) translateX(-50%);
}
}
@media only screen and (max-height: 350px) {
.btn {
font-size: 4.5vh;
bottom: 2%;
box-shadow: none;
color: #fdfcfc;
}
}