-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrestaurant.css
More file actions
109 lines (92 loc) · 1.81 KB
/
restaurant.css
File metadata and controls
109 lines (92 loc) · 1.81 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
*{
margin:0;
padding:0;
}
.main{
width:100%;
height:auto;
background-image:url('https://images.unsplash.com/photo-1560706834-afe1ba5d6737?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=966&q=80');
background-size:100% 100%;
background-attachment:fixed;
transition: 1000ms;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
section{
width: 100%;
min-height: 1px;
}
.content{
width:50%;
min-height:1px;margin-top:10%;
margin-left:10%;
color:white;
}
#navbar {
background-color: rgb(26, 117, 64);
position: fixed;
top: -50px;
width: 100%;
display: block;
transition: top 0.3s;
}
#navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 15px;
text-decoration: none;
font-size: 17px;
}
#navbar a:hover {
background-color: rgb(178, 248, 199);
color: black;}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 25%;}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial;
}
.header {
text-align: center;
padding: 32px;
}
div{
flex-basis: 100%;
}
h1{font-size:5vw;
font-family:'Londrina Solid', cursive;
font-weight: bolder;
}
p{
font-size:3vw;
font-weight:bold;
font-family: 'Courgette', cursive;
}
.column{
float:left;
width: 33.33%;
padding: 5px;
}
row::after{
content: "";
clear:both;
display: table;
}
@media screen and (max-width: 1060px) {
#primary { width:67%; }
#secondary { width:30%; margin-left:3%;}
}
/* Media Queries: Tabled Portrait */
@media screen and (max-width: 768px) {
#primary { width:100%; }
#secondary { width:100%; margin:0; border:none; }
}