-
Notifications
You must be signed in to change notification settings - Fork 1
/
estilos.css
81 lines (66 loc) · 1.54 KB
/
estilos.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
*{
font-family: 'Nunito', sans-serif;
font-family: 'Tilt Neon', cursive;
box-sizing: border-box;
padding: 0;
margin: 0;
}
main{
width: 100%;
height: 100vh;
color: white;
display: flex;
justify-content: center;
align-items: center;
font-size: 3em;
background-image: url(https://images.unsplash.com/photo-1473042904451-00171c69419d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1799&q=80);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
}
nav{
grid-area: menu;
font-size: 3em;
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(80, 176, 209);
position: sticky;
top: 0;
}
footer{
grid-area: footer;
font-size: 2em;
display: flex;
justify-content: center;
align-items: center;
}
.gridcontainer{
display: grid;
gap: 20px;
padding: 0px;
background-color: aquamarine;
grid-template-areas:
"menu"
"main"
"footer";
grid-template-columns: 1fr ;
grid-template-rows: 5% 1fr 5%;
}
@media (max-width:600px) {
body{
display: grid;
width: 100vw;
height: 100vh;
gap: 20px;
padding: 0px;
background-color: red;
grid-template-areas:
"menu"
"main"
"footer";
grid-template-columns: 1fr ;
grid-template-rows: 10% 1fr 5%;
}
}