-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
76 lines (73 loc) · 1.5 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
width: 100%;
height: 100vh;
background: rgb(131, 58, 180);
background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
display: flex;
justify-content: center;
align-items: center;
color: white;
}
.calculator{
width: 300px;
height: 400px;
background-color: rgba(255, 255, 255, 0.2);
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
font-family: cursive;
user-select: none;
border-radius: 10px;
}
.display{
width: 300px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
}
.display > .content{
width: 260px;
height: 50px;
display: flex;
align-items: center;
justify-content: flex-start;
padding: 0px 30px;
font-size: 18px;
border-radius: 12px;
margin-top: 4px;
background-color: rgba(0 0,0, 0.1);
}
.keys{
width: 300px;
height: 330px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.keys > .row{
width: 260px;
height: 60px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
}
.keys > .row > .key{
width: 60px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
transition: 0.2s;
border-radius: 12px;
background-color: rgba(0, 0, 0, 0.1);
cursor: pointer;
}