-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (114 loc) · 2.21 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
119
120
121
122
123
124
125
126
127
128
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Helvetica, sans-serif;
}
body {
margin: 10px;
padding: 15px;
display: flex;
flex-direction: column;
height: 90vh;
justify-content: center;
align-items: center;
vertical-align: middle;
background-color: hsl(0, 0%, 70%);
background-image: url('images/banner.png');
box-sizing: border-box;
}
.container {
background-color: hsl(0, 0%, 15%);
border-radius: 12px;
max-width: 500px;
width: 100%;
padding: 10px 20px 20px;
position: relative;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}
.display {
height: 80px;
width: 100%;
outline: none;
border: none;
padding: 20px;
margin-bottom: 10px;
border-radius: 10px;
font-size: 3rem;
text-align: right;
background-color: hsl(0, 0%, 20%);
color: white;
pointer-events: none;
display: flex;
}
.buttons {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(4, 1fr);
border-radius: 50px;
}
.buttons button{
padding: 10px;
border-radius: 50px;
border: none;
color: white;
font-size: 2rem;
cursor: pointer;
}
button:hover{
background-color: hsl(0, 0%, 40%);
}
.buttons button:active{
transform: scale(0.99);
background-color: hsl(0, 0%, 50%);
}
.operator{
background-color: hsl(36.15,100%,52.16%);
}
.operator:hover{
background-color: hsl(36.15,100%,62.16%);
}
.operator:active{
background-color: hsl(36.15,100%,72.16%);
}
.other{
background-color: hsl(0, 0%, 50%);
}
.other:hover{
background-color: hsl(0, 0%, 60%);
}
.other:active{
background-color: hsl(0, 0%, 70%);
}
.numbers{
background-color: hsl(0, 0%, 25%)
}
.numbers:hover{
background-color: hsl(0, 0%, 35%);
}
.numbers:active{
background-color: hsl(0, 0%, 45%);
}
.links {
border: none;
outline: none;
padding: 5px 5px;
background-color: inherit;
font-size: 16px;
cursor: pointer;
border-radius: 50px;
color: black;
}
.links:hover {
background-color: lightgray;
}
img {
width: 30px;
height: 30px;
}
#footer {
text-align: center;
position: relative;
justify-content: baseline;
align-items: center;
}