-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
118 lines (99 loc) · 1.83 KB
/
main.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
* {
font-family: Helvetica, Arial, sans-serif
}
body {
background-color: #0f0f0f;
}
#board-container {
margin: auto;
}
#board-background {
z-index: -1;
position: relative;
}
#board-foreground {
z-index: 1;
position: absolute;
}
#controller {
margin: auto;
display: flex;
}
.controller-btn {
flex: 1;
height: 100%;
border-radius: .5em;
text-align: center;
text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
color: #CFD4D9;
}
#btn-left {
float: left;
border: solid 1px #028A0F;
background: linear-gradient(#03AC13, #028A0F)
}
#btn-right {
float: right;
border: solid 1px #990F02;
background: linear-gradient(#D21404, #990F02)
}
#screen {
z-index: 100;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: rgba(11, 12, 11, 0.8);
}
#screen-panel {
display: block;
/* offset top: hard code same as achievement td el font*/
margin-top: 8vh;
margin-left: auto;
margin-right: auto;
text-align: center;
color: #0A1E08;
background: #F0E7DA;
border-radius: 4px;
padding: 2px;
box-shadow: 0px 2px rgba(136, 136, 136, .6);
}
.screen-achievement-tr {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
}
.screen-achievement-td {
flex: 33%;
aspect-ratio: 1/1;
}
.screen-achievement-td-el {
border: 1px solid #ccc;
border-radius: 16px;
aspect-ratio: 1/1;
}
.ach-badge {
font-size: 8vh;
}
.ach-text {
font-size: 12px;
padding-top: 12px;
}
.ach-locked {
filter: grayscale(1);
}
.ach-success {
background: rgba(22, 120, 0, .3);
}
#score-val {
font-size: 4vh;
/*align to top element margin or padding*/
padding-bottom: 16px;
}
#screen-play {
font-size: 24px;
text-decoration: underline;
cursor: pointer;
}