/
style.css
98 lines (84 loc) · 1.78 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
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300');
body {
font-size: 5em;
background-color: #3a3a3a;
display: flex;
justify-content: center;
align-items: center;
padding-top: .5em;
font-family: 'Open Sans', sans-serif;
}
.calculator {
position: relative;
background-color: #444;
width: 4em;
/*border-style: solid;*/
/*border-width: .1em;*/
/*border-color: #444;*/
box-shadow: 0 14px 28px
rgba(0,0,0,0.25), 0 10px 10px
rgba(0,0,0,0.22);
background-image: url('./calc.png');
background-size: 200%;
}
#screen {
background: linear-gradient(45deg, #325718, #628f24);
height: 85px;
color: white;
padding: 0;
padding-right: .25em;
text-align: right;
display: flex;
justify-content: flex-end;
align-items: center;
font-size: .8em;
}
#buttons {
display: flex;
flex-direction: column;
}
.flexrow {
display: flex;
flex-direction: row;
justify-content: space-between;
align-content: stretch;
}
.stateChangers {
background-color: rgba(25,25,25,.1);
border: 1px solid rgba(44,44,44,.3);
font-family: 'Open Sans', sans-serif;
color: white;
}
.operators {
background-color: rgba(20,20,20,.3);
border: 1px solid rgba(44,44,44,.3);
font-family: 'Open Sans', sans-serif;
color: white;
}
button {
font-size: .5em;
border: 0;
padding: 0;
width: 25%;
line-height: 0em;
height: 2em;
}
button:focus {
outline: none;
}
.operators:hover {
background-color: rgba(20,20,20,.5);
}
.stateChangers:hover {
background-color: rgba(25,25,25,.3);
}
.operators:active {
background-color: rgba(20,20,20,.7);
}
.stateChangers:active {
background-color: rgba(25,25,25,.5);
}
#zero {
width: 50%;
height: 2em;
}