-
Notifications
You must be signed in to change notification settings - Fork 14
/
panda.css
99 lines (88 loc) · 2.07 KB
/
panda.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
.pandas{
display: grid;
background-color: #ff6666;
grid-template-rows: 200px 400px 300px 400px 200px 300px;;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
grid-template-areas: "header header header header header header"
"main1 main1 main1 main1 main1 main1"
"main2 main2 main2 main2 main2 main2"
"main3 main3 main3 main3 main3 main3"
"main4 main4 main4 main4 main4 main4"
"footer footer footer footer footer footer";
grid-gap: 10px;
}
header {
grid-area: header;
color: white;
}
.navbar{
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: flex-end;
}
main1 {
grid-area: main1;
background-image: url("img/uno.jpg");
background-size: 100%;
background-repeat: no-repeat;
background-position: center;
}
main2 {
grid-area: main2;
background-color: #1aff66;
display: flex;
align-items: center;
justify-content: center;
}
.text{
width: 250px;
height: 250px;
background-color: #ff6666;
color: white;
}
main3 {
grid-area: main3;
background-image: url("img/dos.jpg");
background-size: 100%;
background-repeat: no-repeat;
background-position: center;
}
main4 {
grid-area: main4;
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
.pictures{
display: flex;
color: white;
justify-content: center;
align-items: center;
background-color: #1aff66;
}
.images {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
background-color: #1aff66;
}
footer{
grid-area: footer;
background-image: url("img/tres.jpg");
background-size: 100%;
background-repeat: no-repeat;
background-position: center;
}
@media screen and (max-width: 480px) {
.pandas {
grid-template-rows:300px 300px 300px 300px 300px 300px;
grid-template-columns: 1fr;
grid-template-areas: "header"
"main1"
"main2"
"main3"
"main4"
"footer";
}
}