-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
48 lines (48 loc) · 1.1 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
*{
box-sizing: border-box;
}
body{
margin: 0; background-color: black;
}
header{
color: black;
}
section{
max-width: 1400px; margin: auto;
}
#calc{
width: 350px; margin: auto; background-color: #eee; padding: 40px; border-radius: 10px;
}
#display{
display: block; width: 100%; padding: 10px; height: 60px; text-align: right; font-size: 16px; border: 1px solid #aaa; border-radius: 5px;
}
#cross-section{
text-align: right;
}
#backspace{
color: red; font-size: 16px; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 5px;
}
#backspace:hover{
background-color: red; color: white;
}
#interface{
margin: 20px auto;
}
#interface button{
display: inline-block; margin: 5px; padding: 10px; width: 54px; height: 54px; background-color: rgba(0, 0, 0, 0.1); border-radius: 50%; border: none; font-size: 18px; cursor: pointer;
}
#interface button:hover{
background-color: rgba(0, 0, 0, 0.3);
}
#clear{
color: red;
}
#brackets, #modulas, #division, #multiply, #minus, #plus{
color: green;
}
#interface #equal{
background-color: green; color: white;
}
footer{
color: black;
}