-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
74 lines (72 loc) · 1.9 KB
/
main.scss
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
$color_fondo:#11B5E4;
$color_calculadora:#034748;
$color_boton:#001021;
$color_botonHover:#A6ECE0;
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.contenedor{
width: 100vw;
height: 100vh;
background-color: $color_fondo;
display: flex;
justify-content: center;
align-items: center;
.calculadora{
width: 400px;
height: 500px;
background-color: $color_calculadora;
border-radius: 4px;
#pantallaResultado{
width: 360px;
height: 80px;
background-color: aliceblue;
margin: 28px auto;
border-radius: 4px;
display: flex;
justify-content: end;
flex-direction: column;
#ecuacion{
width: 100%;
height: 50%;
font-size: 32px;
font-weight: 400;
padding-left: 10px;
}
#pantalla{
width: 100%;
height: 50%;
font-size: 32px;
font-weight: bold;
padding-left: 10px;
}
}
.botones{
width: 90%;
height: auto;
display:grid ;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 1fr);
grid-gap: 15px 10px;
justify-items: center;
margin:20px auto;
.btn{
width: 75px;
height: 75px;
// border: 2px solid black;
background-color: $color_boton;
color: #ffffff;
text-align: center;
padding-top: 20%;
font-size: 38px;
border-radius: 4px;
}
.btn:hover{
color: black;
background-color: $color_botonHover;
}
}
}
}