-
Notifications
You must be signed in to change notification settings - Fork 0
/
CalculadoraMilan.css
97 lines (76 loc) · 1.72 KB
/
CalculadoraMilan.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
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
/*Estilo css para calculadora Milan */
/* Especificidad (0,0,1) */
body {
color: black;
background-color: #927654;
}
/* Especificidad (0,0,1) */
h1 {
text-align: center;
}
/* Especificidad (0,0,1) */
section {
align-self: center;
color: black;
background-color: rgb(134, 77, 172);
text-align: center;
margin-bottom: 0.1em;
border-style: solid;
border-color: rgb(0, 0, 0);
border-radius: 2em;
border-width: 0.5em;
width: 20%;
margin-right:auto;
margin-left:auto;
}
/* Especificidad (0,0,1) */
form {
display: grid;
grid-template-columns: repeat(5,1fr);
gap: 0.75em;
padding-left: 5%;
padding-right: 5%;
padding-top: 1em;
padding-bottom: 1em;
border: 0.3em solid rgb(61, 0, 62);
background-color: #784780
}
/* Especificidad (0,0,1) */
input[type=button], input[type=submit] {
color: black;
background-color: #dddddd;
border: none;
border-radius: 25%;
box-shadow: 0 0.2em black;
}
/* Especificidad (0,1,1) */
input[type=button] {
grid-row: span 5;
grid-column: span 1;
width: 100%;
font-size: 1.2em;
border: 0.1em solid black;
/*hereda de body -> color: black; */
background-color: white;
}
/* Especificidad (0,1,1) */
input[value="-"]
{
color: white;
background-color: #B3001B;
}
/* Especificidad (0,1,1) */
input[value="+"]{
color: white;
background-color: #B3001B;
grid-row: span 10;
}
/* Especificidad (0,1,1) */
input[type=text] {
grid-column: span 5;
padding-top: 0.1em;
padding-bottom: 0.1em;
width: 100%;
font-size: 4em;
text-align: right;
}