-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
87 lines (73 loc) · 1.67 KB
/
styles.css
File metadata and controls
87 lines (73 loc) · 1.67 KB
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
*, *::before, *::after {
box-sizing: border-box;
font-family: Verdana,Tahoma, sans-serif;
font-weight: normal;
}
body {
padding: 0;
margin: 0;
background-color:#1c1c1c
/*background: linear-gradient(to right, #1aa4e9, #ee48e6);*/
}
.calculator-grid {
display: grid;
justify-content: center;
align-content: center;
min-height: 100vh;
grid-template-columns: repeat(4, 100px);
grid-template-rows: minmax(120px, auto) repeat(5, 100px);
}
.calculator-grid > button {
cursor: pointer;
font-size: 2rem;
color: white;
border: 0px solid;
border-spacing: 60px 0px;
margin-right: 15px;
margin-top: 15px;
outline: none;
background-color: rgba(110, 110, 110, 0.9);
}
#btnOp {
background-color: #FF9500;
border-radius: 50%;
}
#btnNum {
background-color:#505050;
border-radius: 50%;
}
#btnDoubleAC {
background-color: #d4d4d2;
color: black;
border-radius: 50px;
}
#btnDouble0 {
background-color:rgba(82, 81, 81, 0.9);
border-radius: 50px;
}
.calculator-grid > button:hover {
background-color: rgba(255,255,255, .90);
}
.span-two {
grid-column: span 2;
}
.output {
grid-column: 1 / -1;
background-color:rgba(0,0,0, .99);
display: flex;
align-items: flex-end;
justify-content: space-around;
flex-direction: column;
padding: 10px;
word-wrap: break-word;
word-break: break-all;
border-radius: 25px;
}
.output .previous-operand {
color: rgba(255, 255, 255, .75);
font-size: 1.5rem;
}
.output .current-operand {
color: white;
font-size: 2.5rem;
}