-
Notifications
You must be signed in to change notification settings - Fork 199
/
Copy pathstyles.css
131 lines (116 loc) · 2.62 KB
/
styles.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
119
120
121
122
123
124
125
126
127
128
129
130
131
body {
width: 502px;
margin: 20px auto;
font-family: 'Source Sans Pro', sans-serif;
letter-spacing: 5px;
font-size: 1.8rem;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.calculator {
padding: 20px;
-webkit-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
border-radius: 1px;
background-color: black;
}
.display {
background-color: white;
border: 1px solid #ddd;
border-radius: 1px;
height: 145px;
padding-right: 15px;
text-align: right;
font-size: 2.5rem;
overflow-x: auto;
transition: all .2s ease-in-out;
margin-bottom: 10px;
}
.display:hover {
border: 1px solid #bbb;
-webkit-box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
}
#equation {
height: 45px;
font-size: 100%;
margin: 10px;
}
#output {
height: 60px;
font-size: 75%;
margin: 10px;
}
.operators div {
display: inline-block;
border: 1px solid #bbb;
border-radius: 1px;
width: 83px;
text-align: center;
padding: 10px;
margin: 20px 0px 10px 0;
cursor: pointer;
background-color: #ddd;
transition: border-color .2s ease-in-out, background-color .2s, box-shadow .2s;
}
.operators div:hover {
background-color: #ddd;
-webkit-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
border-color: #aaa;
}
.operators div:active {
font-weight: bold;
}
.leftPanel {
display: inline-block;
}
.button {
display: inline-block;
border: 1px solid #ddd;
border-radius: 1px;
height: 72px;
width: 105px;
text-align: center;
font-size: 2.5rem;
padding: 10px;
margin: 10px 0px 10px 0;
cursor: pointer;
background-color: white;
transition: border-color .2s ease-in-out, background-color .2s, box-shadow .2s;
}
.button:hover {
background-color: #f1f1f1;
-webkit-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
border-color: #bbb;
}
.numbers div:active {
font-weight: bold;
}
.equal {
display: inline-block;
border: 1px solid grey;
border-radius: 1px;
width: 105px;
height: 348px;
text-align: center;
font-size: 2.5rem;
padding: 127px 10px;
margin: 10px 0px 10px 0;
vertical-align: top;
cursor: pointer;
color: black;
background-color: light grey;
transition: border-color .2s ease-in-out, background-color .2s, box-shadow .2s;;
}
.equal:hover {
background-color: #f1f1f1;
-webkit-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.2);
border-color: #bbb;
}
.equal:active {
font-weight: bold;
}