-
Notifications
You must be signed in to change notification settings - Fork 642
/
Copy pathstyle.css
88 lines (75 loc) · 1.25 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
80
81
82
83
84
85
86
87
88
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "sans";
background-color: #19172e;
color: white;
user-select: none;
}
@font-face {
font-family: "sans";
src: url(font/sans.ttf);
}
h2 {
top: 0;
padding-top: 20px;
color: white;
font-size: 2rem;
text-align: center;
}
.container {
max-width: 290px;
margin: 50px auto 0;
}
#display {
text-align: right;
height: 60px;
padding-right: 10px;
line-height: 80px;
font-size: 1.5rem;
border-radius: 20px 20px 0 0;
background-color: white;
color: black;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: flex-end;
overflow: hidden;
}
.buttons {
display: grid;
grid-template-columns: 0.8fr 0.8fr 0.8fr 0.8fr 0.8fr;
}
.button {
border: 0.5px solid white;
line-height: 60px;
text-align: center;
font-size: 1.7rem;
cursor: pointer;
}
.button.left {
border-radius: 0 0 0 15px;
}
.button.right {
border-radius: 0 0 15px 0;
size: 40px;
}
#equal {
background-color: rgb(85, 85, 255);
}
#equal:active {
background-color: #1e8e3e !important;
}
.button:active {
background-color: #1e8e3e;
}
.footer {
color: white;
font-size: 1rem;
left: 0;
right: 0;
bottom: 0;
position: fixed;
text-align: center;
}