-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (65 loc) · 1.41 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
}
*::after, *::before{
box-sizing: border-box;
}
:root{
--light-gray: #FAF7F0;
--dark-gray: #D8D2C2;
--brown: #B17457;
--black: #4A4947;
}
body{
background: white;
display: grid;
place-items: center;
height: 100vh;
}
.container{
width: 450px;
height: 400px;
background: rgba(211, 211, 211, .3);
/* box-shadow: 5px 0 30px lightblue, -5px 0px 30px lightblue, 0 -5px 30 lightblue, 0 5px lightblue; */
}
.display-box{
width: 100%;
height: 110px;
font-size: 30px;
padding: 30px;
/* background: #fff; */
/* border-bottom: 1px solid black; */
/* box-shadow: 0px 10px 0px lightblue; */
margin-bottom: 30px;
}
.input-keys{
user-select: none;
display: flex;
flex-wrap: wrap;
flex-direction:reverse;
flex-shrink: none;
}
.key{
width: 110px;
height: 55px;
/* background: var(--brown); */
/* border: 1px solid red; */
text-align: center;
font-size: 30px;
transition: all .1s ease-in-out;
}
.key:active{
font-size: 25px;
}
@media (max-width:400px){
.container{
width: 250px;
}
.key{
width: 62.5px;
}
}