-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
88 lines (77 loc) · 1.6 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
:root {
background-attachment: fixed;
background-image: url('desk.jpeg');
background-repeat: no-repeat;
background-size: cover;
}
* {
box-sizing: border-box;
}
.calc {
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 4px 4px 10px 2px #3e3e3e;
left: 50%;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
width: 400px;
}
.calc-screen {
background-color: #252525;
border: 1px solid #ccc;
border-radius: 5px 5px 0 0;
color: #fff;
font-size: 3rem;
height: 80px;
margin: 2px;
opacity: .9;
padding-left: 10px;
padding-right: 20px;
text-align: right;
width: 395px;
}
button {
background-color: #f7f7f7;
background-image: linear-gradient(to bottom, transparent, transparent 50%, rgb(0, 0, 0, .04));
border: 1px solid #c4c4c4;
border-radius: 3px;
box-shadow: inset 0 0 0 1px rgb(255, 255, 255, .05),
inset 0 1px 0 0 rgb(255, 255, 255, .45),
inset 0 -1px 0 0 rgb(255, 255, 255, .15),
0 1px 0 0 rgb(255, 255, 255, .15);
color: #333;
font-size: 1.25rem;
height: 60px;
opacity: .8;
text-shadow: 0 1px rgb(255, 255, 255, .4);
}
button:hover {
background-color: #e3e3e3;
}
.calc-keys {
display: grid;
grid-gap: 20px;
grid-template-columns: repeat(4, 1fr);
padding: 20px;
}
.clear-key {
background-color: #f0595f;
border-color: #b0353a;
color: #fff;
}
.clear-key:hover {
background-color: #f17377;
}
.operator {
color: #337cac;
}
.equal-sign {
background-color: #2e86c0;
border-color: #337cac;
color: #fff;
grid-area: 6 / 3 / 6 / 5;
}
.equal-sign:hover {
background-color: #4e9ed4;
}