forked from CodeYourFuture/HTML-CSS-Coursework-Week3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
57 lines (52 loc) · 1.07 KB
/
style.css
File metadata and controls
57 lines (52 loc) · 1.07 KB
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
/* Add your styling here */
body {
background-color: antiquewhite;
}
header {
background-color: aqua;
position: relative;
top: 1rem;
}
#left {
position: relative;
top: 60px;
}
#img-welcome {
background-image: url(https://assets.epicurious.com/photos/5af4550baf6ece1dfcaf1a83/master/pass/persian-love-cake-051018.jpg);
background-repeat: no-repeat;
background-size: cover;
font-style: oblique;
font-family: 'Times New Roman', Times, serif;
font-size: medium;
}
#cakes {
margin-top: 90px;
margin-bottom: 40px;
}
#footer {
width: 100%;
height: 300px;
border-radius: .5rem;
background-color: white;
text-align: center;
margin-bottom: 2rem;
}
#btm1 {
margin-bottom: 0px;
}
@media screen and (min-width: 450px) {
body { background-color: #023002 ;
}
}
@media screen and (min-width: 900px) {
body { background-color: #300224 ;
}
}
@media (orientation: landscape) and (max-width:300px) {
#left { color: #223002 ;
}
}
@media screen and (orientation: portrait) {
#footer { color: #302902 ;
}
}