-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathstyle.css
More file actions
156 lines (140 loc) · 4.2 KB
/
style.css
File metadata and controls
156 lines (140 loc) · 4.2 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
body, html { width: 100%; height: 100%; background: #000; }
/*wrapper*/
#calc {
width: 270px;
height: 295px;
padding: 15px 10px;
background: #000;
overflow: hidden;
position: absolute;
top: 50%;
left: 50%;
margin-top: -163px;
margin-left: -158px;
border: 1px solid silver;
border-radius: 10px;
box-shadow: 0 0 300px aqua;
}
#screen {
width: 250px;
height: 40px;
background: #fff;
border-radius: 5px;
}
#calcScreen {
width: 246px;
height: 36px;
padding: 0 10px;
font: bold 18px/35px Arial;
text-align: right;
color: gray;
border: 2px solid gray;
border-radius: 5px;
background: #000 -moz-linear-gradient(180deg, #fff, aqua);
background: #000 -webkit-linear-gradient(180deg, #fff, aqua);
background: #000 -o-linear-gradient(180deg, #fff, aqua);
background: #000 -ms-linear-gradient(180deg, #fff, aqua);
background: #000 linear-gradient(180deg, #fff, aqua);240deg
}
ul#number {
width: 185px;
padding: 10px 0;
float: left;
}
ul#number li {
float: left;
margin: 3px 3px 3px 0;
}
ul#number li a {
display: block;
width: 55px;
padding: 10px 0;
text-align: center;
text-decoration: none;
background: #000 -moz-linear-gradient(top, #000, #505050);
background: #000 -webkit-linear-gradient(top, #000, #505050);
background: #000 -o-linear-gradient(top, #000, #505050);
background: #000 -ms-linear-gradient(top, #000, #505050);
background: #000 linear-gradient(top, #000, #505050);
border: 1px solid silver;
border-radius: 5px;
font: bold 18px Arial;
color: #fff;
}
ul#number li:nth-child(10) a { width: 115px; }
ul#number li a:hover {
background: #000 -moz-linear-gradient(bottom, #000, #505050);
background: #000 -webkit-linear-gradient(bottom, #000, #505050);
background: #000 -o-linear-gradient(bottom, #000, #505050);
background: #000 -ms-linear-gradient(bottom, #000, #505050);
background: #000 linear-gradient(bottom, #000, #505050);
color: aqua;
}
ul#operators {
float: right;
padding: 10px 0;
}
ul#operators li {
margin: 3px 0 6px 0;
}
ul#operators li a {
display: block;
width: 80px;
padding: 9px 0 8px 0;
text-align: center;
text-decoration: none;
background: #000 -moz-linear-gradient(top, #000, #505050);
background: #000 -webkit-linear-gradient(top, #000, #505050);
background: #000 -o-linear-gradient(top, #000, #505050);
background: #000 -ms-linear-gradient(top, #000, #505050);
background: #000 linear-gradient(top, #000, #505050);
border: 1px solid silver;
border-radius: 5px;
font: bold 20px Arial;
color: #fff;
}
ul#operators li a:hover {
background: #000 -moz-linear-gradient(bottom, #000, #505050);
background: #000 -webkit-linear-gradient(bottom, #000, #505050);
background: #000 -o-linear-gradient(bottom, #000, #505050);
background: #000 -ms-linear-gradient(bottom, #000, #505050);
background: #000 linear-gradient(bottom, #000, #505050);
color: aqua;
}
a#result {
display: inline-block;
margin-top: -7px;
width: 175px;
padding: 9px 0 8px 0;
text-align: center;
text-decoration: none;
background: #000 -moz-linear-gradient(top, #000, #505050);
background: #000 -webkit-linear-gradient(top, #000, #505050);
background: #000 -o-linear-gradient(top, #000, #505050);
background: #000 -ms-linear-gradient(top, #000, #505050);
background: #000 linear-gradient(top, #000, #505050);
border: 1px solid silver;
border-radius: 5px;
font: bold 20px Arial;
color: #fff;
clear:both;
cursor: pointer;
}
a#result:hover {
background: #000 -moz-linear-gradient(bottom, #000, #505050);
background: #000 -webkit-linear-gradient(bottom, #000, #505050);
background: #000 -o-linear-gradient(bottom, #000, #505050);
background: #000 -ms-linear-gradient(bottom, #000, #505050);
background: #000 linear-gradient(bottom, #000, #505050);
color: aqua;
}
ul#operators li a:active,
ul#number li a:active,
a#result:active {
background: #000 -moz-linear-gradient(45deg, #000, #505050);
background: #000 -webkit-linear-gradient(45deg, #000, #505050);
background: #000 -o-linear-gradient(45deg, #000, #505050);
background: #000 -ms-linear-gradient(45deg, #000, #505050);
background: #000 linear-gradient(45deg, #000, #505050);
color: aqua;
}