Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (81 loc) · 1.83 KB
/
Copy pathstyle.css
File metadata and controls
82 lines (81 loc) · 1.83 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
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
--fondo: #F5F5F5;
--botonnumero: #E0E0E0;
--botonoperad: #4285F4;
--botonesespeciales: #EA4335;
--texto: #333333;
--fuente:"Roboto", sans-serif;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: F0F0F0 ;
}
.container {
width: 90%;
max-width: 1200px;
height: 100vh;
margin: 50px auto 0 auto;
}
.calculadora-contenedor {
background-color:var(--fondo) ;
width: 250px;
height: 400px;
display: grid;
padding: 15px;
grid-template-columns: repeat(4,1fr);
grid-template-rows: repeat(7,1fr);
gap: 5px;
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
font-family: var(--fuente);
margin: 0 auto;
border-radius: 10px;
}
.btn {
background-color: var(--botonnumero);
border-radius: 20px;
border-style: none;
cursor: pointer;
font-size: 15px;
}
.btn:hover {
scale: 1.05;
opacity: 70%;
}
.btn-oper{
background-color: var(--botonoperad);
font-weight: bold;
color: var(--fondo);
}
.igual {
background-color: var(--botonesespeciales);
font-weight: bold;
}
.display {
background-color: #333333;
color: var(--fondo);
padding: 5px;
border-radius: 10px;
font-size: 32px;
overflow: hidden;
display: flex;
justify-content: end;
align-items: center;
font-weight: bold;
margin-bottom: 10px;
grid-column: 1 / 5;
grid-row: 1 / 3;
}
.igual {
grid-column: 4 / 5;
grid-row: 6 / 8;
font-size: 20px;
color: var(--fondo);
}
.cero {
grid-column: 1 / 3;
}