-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathestilos(original).css
More file actions
82 lines (69 loc) · 1.74 KB
/
Copy pathestilos(original).css
File metadata and controls
82 lines (69 loc) · 1.74 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Newsreader&display=swap');
* {
font-family: 'Montserrat', sans-serif;
}
body {
padding: 0;
margin: 0;
background-color: #224870;
}
.contenido {
display: flex; /*el contenido se ajusta a la pantalla*/
justify-content: center;
align-items: center;
height: 100vh; /*viewport (altura de la pantalla)*/
width: 100vw; /*viewport (anchura de la pantalla)*/
}
.calculadora {
display: grid;
grid-template-columns: repeat(4, 75px);
grid-template-rows: 160px repeat(6, 75px);
background-color: #00916e;
padding: 15px;
border-radius:32px;
box-shadow: 15px 15px 1px 1px #00000033;
}
.calculadora > button {
cursor: pointer;
margin: 5px;
padding: 0;
border-radius: 32px;
border: none;
font-size: x-large;
align-content: center;
color: #ffffff;
background-color: #00916e;
box-shadow: 3px 3px 5px -3px #00000040, -3px -3px 5px -1px #00ffc11f;
}
.calculadora > button:hover {
background-color: #00ffc11f;
}
.calculadora > button:active {
background-color: #006f54;
box-shadow: 0px 0px 0px 3px #00916e; /*quita el sombreado del boton cuando se apreta*/
}
.calculadora > button:focus {
outline: none;
}
.calculadora > .igual {
grid-column: 3/-1;
}
.pantalla {
grid-column: 1/-1;
display: flex;
padding: 15px;
margin: 10px 10px 20px 10px;
flex-direction: column;
align-items: flex-end;
text-align: right;
font-size: medium;
justify-content: space-between;
/*word-break: break-all;*/
color: #000000;
border-radius: 8px;
background-color: #e9e9e9;
box-shadow: 0px 0px 0px 7px #006f54;
}
.pantalla > #resultado {
font-size: x-large;
}