-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
157 lines (145 loc) · 2.33 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
body {
margin: 0;
padding: 0;
font-family:poppins;
}
.nav {
background-color: #FB460E;
overflow: auto;
align-items: center;
height: 56px;
}
.nav h2 {
float: left;
margin-left: 20px;
}
.nav ul {
float: right;
margin-right: 20px;
align-items: center;
}
.nav li {
list-style: none;
display: inline-block;
margin-top: 5px;
}
.nav li a {
text-decoration: none;
color: white;
background-color: transparent;
padding: 7px 13px;
border-radius: 5px;
text-transform: uppercase;
}
.img {
width: 100%;
margin-top: 0;
background-image: linear-gradient(-75deg, transparent,rgba(255,255,255,0.5)), url("bg1.png");
background-size: cover;
position: static;
background-position: top ;
height: 600px;
align-items: center;
justify-content: center;
padding:0 ;
}
.txt{
width: 40%;
padding-top: 19%;
padding-left: 40px;
}
.inf {
margin: 40px;
}
.plates {
padding: 20px;
border: none;
box-shadow:1px 1px 6px black;
text-align: justify;
margin: 25px;
}
.food img {
width: 30%;
}
.sleep img{
width: 40%;
}
.run img {
width: 50%;
}
.inf {
display: flex;
}
.checkbtn {
font-size: 30px;
float: right;
color: white;
margin-right: 20px;
cursor: pointer;
display: none;
}
#check {
display: none;
}
@media(max-width:952px) {
nav ul li {
font-size: 16px;
}
}
@media(max-width:858px) {
body {
margin-top: 55px;
}
.img {
background-image: linear-gradient(transparent,orange);
height: 60vh;
}
.txt {
width:100%;
text-align: center;
padding-top:15%;
padding-left: 0;
}
.checkbtn {
display:block;
}
.nav {
position: fixed;
top: 0px; /* sticks the side nav to the top */
left: 0px; /* sticks the side nav to the left side */
width: 100%;
}
.nav ul {
position: fixed;
width: 100%;
height: 100vh;
background: #2c3e50;
top:40px;
left:100%;
text-align: center;
transition: all .8s;
align-content: center;
justify-content: center;
align-items: center;
padding-left: 0;
}
.nav ul li {
display:block ;
margin: 0 50px;
margin-bottom: 30px ;
margin-top: 20px;
}
nav ul li a {
font-size: 20px;
}
nav ul li a:hover {
background: #2f67de36;
color:#0082e6;
}
.inf {
display: block;
}
#check:checked~ul {
left:0;
}
}