-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpuzzle.css
More file actions
79 lines (73 loc) · 1.61 KB
/
puzzle.css
File metadata and controls
79 lines (73 loc) · 1.61 KB
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
*{margin:0;padding:0;box-sizing:border-box;font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;}
:root{
--bgcol:#9bc2d3;
--mcol0:#497d95;
--mcol1:#cddfee;
--mcol2:#3c4248;
--txtcol0:#9ecae0;
--txtcol1:#072534;
--whitecol:#a5aeb4;
--darkcol:#373839;
}
body{
display:flex;
flex-direction:column;
align-items:center;
padding-top:15vh;
background-color:var(--bgcol);
}
#puzzle_container{
position: relative;
width: 50vh;
height:50vh;
background-color:var(--darkcol);
border-radius:8px;
border:1px solid var(--mcol0);
box-shadow:0px 8px 0px var(--mcol0);
}
.puzzle_block{
position:absolute;
left:0;
top:0;
width:33.4%;
height:33.4%;
background-color:var(--txtcol1);
color:var(--whitecol);
font-size:10vh;
font-weight:bold;
text-align:center;
padding-top:3%;
cursor: pointer;
user-select:none;
transition:left 0.3s,top 0.3s;
}
/*difficulty container*/
#difficulty_container{
display:flex;
flex-direction:row;
width:50vh;
height:10vh;
background-color:var(--darkcol);
border-radius:8px;
margin-top:22px;
}
.difficulty_button{
flex-grow:1;
background-color:inherit;
color:var(--mcol2);
text-align:center;
font-size:3vh;
font-weight:bold;
padding-top:5%;
margin:4px;
cursor: pointer;
transition:font-size 0.3s;
}
.difficulty_button:hover{
opacity:0.8;
font-size:3.5vh;
}
.difficulty_button.active{
background-color:inherit;
color:var(--mcol0);
}