-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
72 lines (61 loc) · 1.22 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
body{
height: 100vh;
background: linear-gradient(to bottom, #8f2cff 50%, #090c31 50%);
}
.calculadora{
width: 400px;
background-color: #15173c;
padding: 50px 30px;
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
border-radius: 10px;
box-shadow: 0 20px 50px rgba(0, 5, 24, 0.4);
}
.display{
width: 100%;
}
.display input{
width: 100%;
padding: 15px 10px;
text-align: right;
border: none;
background-color: transparent;
color: #ffffff;
font-size: 35px;
}
.display input::placeholder {
color: #9490ac;
}
.buttons{
margin-top: 40px;
display: grid;
grid-template-columns: repeat(4,1fr);
grid-gap: 2px;
}
.buttons input[type="button"]{
font-size: 20px;
padding: 17px;
border: none;
background-color: transparent;
color: #ffffff;
cursor: pointer;
border-radius: 5px;
}
.buttons input[type="button"]:hover{
box-shadow: 0 8px 25px #000d2e;
}
input[type="button"]#equal {
background-color: #8f2cff;
grid-row: span 2;
}
input[type="button"][value="0"] {
grid-column: span 2;
}