-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHomepage.css
97 lines (78 loc) · 2.22 KB
/
Homepage.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
@import url(Homepageheader.css);
@import url(Homepagemaincontent.css);
@import url(HomepageBlogandMerchCard.css);
@media(max-width:499px) {
.homepage {
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSPvZypLTLaB7iBZuPg_5rH98tHIZLdGa_pkg&usqp=CAU");
display: grid;
grid-template-columns: 100px 100px 100px;
grid-template-rows: 200px 500px 500px 500px;
grid-template-areas:
"hd"
"main"
"feat"
"ft";
}
}
@media(min-width:500px) and (max-width:900px) {
.homepage {
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSPvZypLTLaB7iBZuPg_5rH98tHIZLdGa_pkg&usqp=CAU");
display: grid ;
grid-template-columns: 300px 300px 300px;
grid-template-rows: 200px 500px ;
grid-template-areas:
"hd hd hd hd hd hd "
"main main main main main main "
"feat feat feat feat feat feat "
"ft ft ft ft ft ft ";
}
}
@media(min-width:901px) {
.homepage {
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSPvZypLTLaB7iBZuPg_5rH98tHIZLdGa_pkg&usqp=CAU");
display: grid ;
grid-template-columns: 300px 300px 300px;
grid-template-rows: 200px 500px 700px 140px 600px;
grid-template-areas:
"hd hd hd hd hd hd hd hd"
"main main main main main main main main"
"feat feat feat feat feat feat feat feat"
"head head head head head head head head"
"sec sec sec sec sec sec sec sec"
"ft ft ft ft ft ft ft ft";
}
}
.writing {
grid-area: head;
display: flex;
flex-direction: column;
background-color: white;
text-align: center;
font-family: Verdana, Tahoma, sans-serif;
}
.sectionthree {
display: flex;
flex-direction: row;
justify-content: center;
grid-area: sec;
background-color: rgb(255, 255, 255);
text-align: center;
}
.photocontainer {
display: flex;
flex-direction: row;
padding-top: 35px;
justify-content: center;
}
.photobox {
display: flex;
flex-direction: row;
width: 400px;
height: 400px;
font-family: Verdana, Tahoma, sans-serif;
}
.footer {
grid-area: ft;
background-color: rgb(158, 158, 158);
color: rgb(255, 255, 255);
}