-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
53 lines (53 loc) · 1.18 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
#calcContainer {
width: 400px;
background: rgb(62,75,77);
background: linear-gradient(48deg, rgba(62,75,77,1) 0%, rgba(99,99,111,1) 50%, rgba(62,75,77,1) 100%);
box-shadow: 1px 1px 5px black;
border-radius: 30px;
padding: 20px;
}
#display {
font-family: 'VT323', monospace;
font-size: 4rem;
color: black;
display: flex;
justify-content: flex-end;
align-items: center;
background: rgb(196,196,205);
background: linear-gradient(25deg, rgba(196,196,205,1) 0%, rgba(230,230,231,1) 50%, rgba(196,196,205,1) 100%);
border: 2px solid black;
border-radius: 15px;
padding: 10px;
}
#calcName {
display: flex;
justify-content: flex-end;
color: white;
font-family: 'VT323', monospace;
}
#keys {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-auto-rows: 75px;
grid-gap: 0.5em;
}
#keys > button {
font-family: 'Roboto Mono', monospace;
font-size: 2rem;
border-radius: 40px;
display: flex;
justify-content: center;
align-items: center;
}
.opKey, #clear, #decimal {
background: teal;
color:white;
}
.numKey {
background: white;
color: black;
}
#calc {
background: orangered;
color: white;
}