-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
132 lines (115 loc) · 2.51 KB
/
styles.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
*{
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
body{
margin: 0;
background-image: url(img/fondo.jpg);
background-repeat: repeat-y;
background-attachment: scroll;
background-size: cover;
}
#divPrincipal{
display: grid;
grid-template-areas:
'cabecera cabecera'
'contenido lateral'
'footer footer';
grid-template-columns: auto 20%;
grid-template-rows: 15% auto 5%;
height: 100vh;
color: white;
}
#divCabecera{
grid-area: cabecera;
display: flex;
align-items: center;
justify-content: center;
background-color: rgba(0, 0, 0, 0.8);
font-size: 40px;
}
#divContenido{
grid-area: contenido;
border: 1px solid #68757B;
padding-left: 2%;
padding-right: 2%;
margin: 10px;
border-radius: 20px;
background-color: rgba(0, 0, 0, 0.7);
}
#numero{
font-family: monospace;
font-size: 20px;
width: 99.7%;
resize: none;
border-style: none;
background-color: transparent;
color: white;
}
#divTexto{
font-family: monospace;
font-size: 24px;
width: 100%;
height: auto;
}
#divLateral{
grid-area: lateral;
border: 1px solid #68757B;
padding-left: 2%;
padding-right: 2%;
margin: 10px 10px 10px 0px;
border-radius: 20px;
background-color: rgba(0, 0, 0, 0.7);
}
#divFooter{
grid-area: footer;
display: flex;
align-items: center;
justify-content: center;
background-color: #68757B;
font-size: 20px;
}
h2{
font-size: 30px;
}
@media screen and (max-width: 900px){
#divPrincipal{
grid-template-areas:
'cabecera'
'contenido'
'lateral'
'footer';
grid-template-columns: auto;
grid-template-rows: 80px auto auto 5%;
height: 100vh;
}
#divCabecera{
font-size: 30px;
}
#divTexto{
font-size: 20px;
}
#divLateral{
margin: 0px 10px 10px;
}
p{
font-size: 20px;
}
}
@media screen and (max-width: 600px){
#divPrincipal{
grid-template-areas:
'cabecera'
'contenido'
'lateral'
'footer';
grid-template-columns: auto;
grid-template-rows: 65px auto auto 5%;
height: 100vh;
}
#divCabecera{
font-size: 15px;
}
p{
font-size: 15px;
}
}