-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
118 lines (100 loc) · 1.89 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
body, container {
display: flex;
justify-content: center;
background: #DAF7A6;
font-family: "Orbitron", sans-serif;
}
.calculator {
background-color: #333333;
display: flex;
flex-direction: column;
border-radius: 8%;
box-shadow: 5px;
box-shadow: 0px 10px 0px #1a1a1a;
margin-top: 4em;
}
#title {
display: flex;
align-self: center;
padding: 1em 2.5em 0 2.5em;
font-size: 1.8em;
color: #cc6600;
}
#screen {
display: flex;
flex-direction: column-reverse;
align-items: flex-end;
justify-items: flex-end;
align-self: center;
height: 80px;
width: 75%;
border: 2px solid #666666;
padding: 10px;
margin: 1.5em 0;
border-radius: 8%;
background-color: #EAECEE;
}
#screen-num {
font-size: 3em;
margin: 0px 0px -4px 0px;
/* padding: -3px 0 0 0; */
}
#screen-text {
font-size: 1.5em;
margin: 0px;
padding: 0px;
color: #999999;
}
.buttons {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
margin-bottom: 1em;
}
.key {
z-index: 1;
font-size: 2em;
display: flex;
flex-grow: 1;
justify-content: center;
align-items: center;
/* flex-grow: 1; */
cursor: pointer;
padding-top: 8px;
margin: 5px;
background-color: darkgrey;
border-radius: 8%;
box-shadow: 0px 5px 0px #1a1a1a;
}
key:active {
box-shadow: inset 0 0;
}
.op {
background-color: #666666
}
.num {
background-color: #EAECEE;
}
.orange {
background-color: #cc6600;
}
.calc-col {
width: 5em;
height: 18em;
display: flex;
flex-direction: column;
/* justify-content: baseline; */
}
#k0 {
width: 4.7em;
}
/*how would i use flexbox to make this twice the height? */
#equals {
height: 2.95em;
}
#special {
z-index: -1;
height: 1.1em;
visibility: hidden;
}