-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
136 lines (133 loc) · 2.59 KB
/
style.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
133
134
135
136
@import url(https://fonts.googleapis.com/css?family=Raleway:400,200,600);
body {
margin: 0%;
font-family: Raleway, sans-serif;
}
.container header .top-section {
display: flex;
justify-content: space-between;
align-items: center;
}
.container header .top-section div {
display: flex;
}
.container header .top-section div a {
text-decoration: none;
color: black;
font-weight: 700;
padding-right: 25px;
font-size: 20px;
}
.container header .top-section img {
width: 100px;
}
.container header nav {
padding: 1%;
border-top: 2px solid black;
border-bottom: 2px solid black;
display: flex;
justify-content: space-around;
}
.container header nav a {
text-decoration: none;
color: black;
font-weight: 500;
}
.container .recipes {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
margin: 8%;
grid-column-gap: 4%;
grid-row-gap: 2%;
margin-top: 3%;
}
.container .recipes .recipe {
max-height: 280px;
position: relative;
display: flex;
align-items: flex-end;
overflow: hidden;
width: 100%;
text-align: center;
}
.container .recipes .recipe img {
-o-object-fit: cover;
object-fit: cover;
width: 100%;
height: 100%;
}
.container .recipes .recipe .description {
background-color: rgba(65, 65, 65, 0.7);
position: absolute;
color: white;
width: 100%;
}
.container .recipes .recipe .description p {
position: relative;
}
footer {
text-align: center;
background-color: black;
color: white;
padding: 2%;
font-size: 12px;
}
footer nav {
justify-content: space-between;
display: flex;
padding-bottom: 2%;
}
footer nav a {
text-decoration: none;
color: white;
}
footer .social-media-icons i {
padding: 5px;
font-size: 10px;
}
@media only screen and (max-width: 768px) {
.container .recipes {
display: grid;
grid-template-columns: 1fr 1fr;
margin: 2%;
grid-column-gap: 2%;
grid-row-gap: 1%;
margin-top: 3%;
}
}
@media only screen and (max-width: 480px) {
.container .recipes {
display: grid;
grid-template-columns: 1fr;
margin: 2%;
grid-column-gap: 2%;
grid-row-gap: 1%;
margin-top: 3%;
}
}
.month-recipes,
.about {
padding: 2% 10% 2% 10%;
}
.month-recipes .top-box-about,
.about .top-box-about {
display: flex;
flex-direction: row;
margin-bottom: 2%;
}
.month-recipes .top-box-about p,
.about .top-box-about p {
padding-left: 5%;
}
.month-recipes video,
.about video {
width: 100%;
}
.month-recipes .subscribe,
.about .subscribe {
background-color: lightcoral;
font-size: 18px;
border-style: none;
border-radius: 8px;
padding: 7px 20px;
}/*# sourceMappingURL=style.css.map */