-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
114 lines (110 loc) · 1.83 KB
/
Copy pathstyle.css
File metadata and controls
114 lines (110 loc) · 1.83 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
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
html,body{
font-family: Helvetica, sans-serif;
font-size: 16px;
margin: 0;
background-color: white;;
}
.container{
max-width: 960px;
margin: 0 auto;
}
.main{
height: 30rem;
padding-top: 1rem;
background-image: url("/images/coffeeshop.jpg");
background-size: cover;
}
.main img{
width: 35rem;
margin: auto;
display: block;
}
nav{
background-color: #f73b3b;
color: #fff;
padding: 0.75rem 1.25rem;
}
ul {
list-style: none;
margin:0;
}
li{
display: inline-block;
}
.supporting,
.rating,
.gallery,
.location {
margin: 4em auto;
}
.supporting{
display: flex;
align-items: flex-start;
padding: 0 1rem;
}
.supporting img{
width: 50%;
height: 50%;
margin-right: 5%;
}
.rating{
background-color: #f73b3b;
height: 20rem;
padding: 0 1rem;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.rating h1{
font-size:2.5rem ;
}
.gallery img{
display: block;
width: 30%;
margin: 1.5%;
float : left;
}
.clearfix{
clear: both;
}
.location{
text-align: center;
margin-bottom: 7rem;;
}
.location img{
width:100%;
}
footer{
background-color: #f73b3b;
padding: 0 1rem;
}
footer .container{
display: flex;
align-items: center;
justify-content: space-between;
padding: 5rem 0;
color: white;
}
@media only screen and (max-width: 960px){
.main{
padding-top: 0;
}
}
@media only screen and (max-width: 700px){
.supporting img{
display: none;
}
}
@media only screen and (max-width: 470px){
.rating h1{
font-size: 2rem;
}
.gallery img{
width:100%;
margin:0;
}
footer nav{
display: none;
}
}