-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
104 lines (78 loc) · 1.67 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
body {
margin: 0;
padding: 0;
background-color: #453C67;
}
#word1 {
font-size: 14px;
margin-bottom: 50px;
}
#word2 {
font-size: 9px;
color: gray;
margin-top: 80px;
}
h1 {
font-size: 36px;
text-align: center;
color:white;
}
.container {
display: flex;
flex-flow: row nowrap;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-content: flex-start;
align-items: center;
text-align: center;
text-align: center;
padding:10px;
}
.key {
height: calc(var(--width) * 4);
width: var(--width);
display: flex;
flex-direction: column-reverse;
justify-content: flex-end;
align-items: center;
position: relative;
}
.white {
--width: 30px;
background: linear-gradient(#fff 96%, #eee 4%);
border: 1px solid black;
border-radius: 0 0 5px 5px;
display: flex;
color:black;
}
.white.active {
background-color: linear-gradient(#E74949 96%, #CA1717 4%);
}
.black {
z-index: 2;
align-self: flex-start;
border-radius: 0 0 5px 5px;
--width: 20px;
margin-left: calc(var(--width) / -2);
margin-right: calc(var(--width) / -2);
background: linear-gradient(#333 96%, #525050 4%);
display: flex;
justify-content: center;
color:white;
}
.black.active {
background-color: linear-gradient(#A40B0B 96%, #CA1717 4%);
}
/*.sheet {
flex-flow: row nowrap;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-content: flex-start;
align-items: center;
background: red;
padding: 10px;
height: 50%;
width: 100% ;
}*/