-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (89 loc) · 2.24 KB
/
style.css
File metadata and controls
108 lines (89 loc) · 2.24 KB
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
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');
body{
background: #f6f5f7;
font-family: 'Montserrat', sans-serif;
color: #3E363F;
background-image: url(https://img.freepik.com/vector-premium/fondo-textura-acuarela-azul-oscuro-abstracto_628634-1819.jpg);
background-repeat: no-repeat;
background-size: cover;
}
#contenedor{
width: 900px;
height: 500px;
text-align: center;
/* Estas 3 lineas se encargan de centrar el div vertical y horizontalmente */
position: absolute;
inset: 0;
margin: auto;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 14px 28px rgba(0,0,0,0.25),
0 10px 10px rgba(0,0,0,0.22);
justify-content: space-between;
}
#calculadora{
background: white;
/* Con estas 3 lineas vamos a hacer que los divs queden lado a lado */
width: 50%;
height: 100%;
float: left;
}
#detalle{
background: #29589a;
/* Con estas 3 lineas vamos a hacer que los divs queden lado a lado */
width: 50%;
height: 100%;
float: left;
color: #f6f5f7;
}
.contenido{
/* Estas tres lineas van a centrar el contenido verticalmente dentro de cada div */
position: relative;
top: 50%;
transform: translateY(-50%);
overflow: hidden;
padding: 40px;
justify-content: space-around;
}
input {
width: 70%;
padding: 12px 15px;
border: none;
background-color: #eee;
}
button {
justify-content: space-between;
font-size: 15px;
font-weight: bold;
padding: 12px 45px;
position: relative;
border-radius: 30px;
background-color: #29589a;
border: 1px solid #29589a;
color: #FFFFFF;
text-transform: uppercase;
letter-spacing: 1px; /*espaciado ente letras*/
transition: transform 20ms ease-in;
}
button:active {
transform: scale(0.95);
}
select {
justify-content: space-between;
font-size: 13px;
font-weight:normal;
position: relative;
border: 2px solid #5c779d;
}
#error{
color: red;
font-weight: bold;
display: none;
}
.resultado{
color: #0A81D1;
font-weight: bold;
font-size: 25px;
margin-bottom: 5px;
display: none;
}