forked from ximamus/snow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
53 lines (44 loc) · 1.05 KB
/
style.scss
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
$width : 900px;
$height: 500px;
#wrapper {
display: flex;
flex-direction: row;
justify-content: center;
#scene {
position: relative;
width: $width;
height: $height;
canvas {
width: $width;
height: $height;
position: absolute;
&#main-layer {
z-index: 2;
}
&#background-layer {
background-image: url("images/back_900x500.png");
z-index: 1;
}
}
}
#ui {
display: flex;
flex-direction: column;
justify-content: space-evenly;
button {
text-transform: uppercase;
background-color: blue;
color: white;
border: none;
padding: 10px;
margin: 10px;
border-radius: 15px;
&:hover {
background-color: rgb(70, 70, 252);
}
&:active {
background-color: rgb(20, 20, 172);
}
}
}
}