-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.css
267 lines (240 loc) · 5.3 KB
/
nav.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
/* The sidebar menu */
.sidebar {
height: 100%; /* 100% Full-height */
width: 0; /* 0 width - change this with JavaScript */
position: fixed; /* Stay in place */
z-index: 1; /* Stay on top */
top: 0;
right: 0;
background-color: #111; /* Black*/
overflow-x: hidden; /* Disable horizontal scroll */
padding-top: 60px; /* Place content 60px from the top */
transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}
/* The sidebar links */
.sidebar a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 20px;
color: #818181;
display: block;
transition: 0.3s;
text-align: right;
margin-right: 50px;
}
/* When you mouse over the navigation links, change their color */
.sidebar a:hover {
color: #f1f1f1;
}
/* Position and style the close button (top right corner) */
.sidebar .closebtn {
font-size: 20px;
padding: 10px 20px;
border: none;
position: absolute;
top: 3%;
right: 3%;
margin-bottom: 10px;
margin-right: 30px;
/* margin-left: 50px; */
}
/* The button used to open the sidebar */
.openbtn {
font-size: 20px;
cursor: pointer;
background-color: transparent;
color: white;
padding: 10px 15px;
border: none;
}
.openbtn:hover {
color: #444;
}
.galaxy {
height: 120px;
background-image: url(image/wobg_w.png);
background-color: transparent;
background-size: 80px;
background-repeat: no-repeat;
text-align: center;
font-size: large;
font-style: italic;
color: white;
font-weight: bold;
line-height: 120px;
/* background-attachment: fixed; */
/* how to fix */
}
.galaxy a {
display: inline-block;
text-decoration: none;
font-size: 50px;
color: rgb(238, 238, 238);
}
.body_bg {
/* background-color: black;
background-image: url(dishes.jpg);
background-position: center 120px;
background-attachment: fixed;
background-repeat: no-repeat; */
background-color: rgba(0, 0, 0);
background: rgba(0, 0, 0) url(image/galaxy.jpg) center fixed no-repeat;
background-size: cover;
}
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
transition: 0.5s; /* If you want a transition effect */
padding: 20px;
position: absolute;
top: 1%;
right: 1%;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
height: 50%;
}
.cv {
}
.cv a:link {
color: white;
background-color: transparent;
text-decoration: none;
}
.cv a:visited {
color: gray;
background-color: transparent;
text-decoration: none;
}
.about-text {
width: 50%;
/* height: 200px; */
background-color: black;
border: 1px solid gray;
color: white;
padding-top: 10px;
padding-left: 30px;
padding-right: 30px;
margin: 0 auto;
margin-top: 20px;
font-family: Garamond, Verdana, Georgia, Tahoma, sans-serif;
text-align: left;
font-size: 15px;
}
.page-footer {
color: gray;
/* position: absolute; */
bottom: 0;
/* width: 50%; */
height: 2.5rem;
font-family: Garamond, Verdana, Georgia, Tahoma, sans-serif;
}
.about-text p {
margin-bottom: 15px;
}
.about-contact {
width: 80%;
/* height: 200px; */
background-color: black;
color: white;
padding-top: 10px;
padding-left: 30px;
padding-right: 30px;
margin: 0 auto;
margin-top: 20px;
font-family: Garamond, Verdana, Georgia, Tahoma, sans-serif;
text-align: center;
font-size: 1vw;
text-align: center;
}
.displayMinblock {
height: 300px;
width: 300px;
display: inline-block;
border-radius: 5%;
/* float: right; */
/* padding-top: 12px;
border-radius: 16px;
*/
}
.img_display {
color: black;
position: absolute;
}
.weather_dispay {
float: right;
text-align: center;
color: white;
font-family: Garamond, Verdana, Georgia, Tahoma, sans-serif;
border: 2px solid rgb(176, 176, 176);
}
.photo_style {
width: 500px;
height: auto;
border-radius: 5%;
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
.sidebar {
padding-top: 15px;
}
.sidebar a {
font-size: 18px;
}
}
@keyframes fade {
from {
opacity: 0.4;
}
to {
opacity: 1;
}
}
@media screen and (max-width: 1200px) {
.weather_dispay {
display: none;
}
.img_display {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
height: auto;
position: initial;
}
}
@media screen and (max-width: 800px) {
.galaxy {
font-size: medium;
background-size: 50px;
}
.galaxy a {
font-size: medium;
}
.about-contact {
font-size: 12px;
}
.about-text {
font-size: 12px;
width: 80%;
}
.photo_style {
width: 300px;
}
.weather_dispay {
display: none;
}
.center {
width: 80%;
}
.img_display {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
height: auto;
position: initial;
}
}