-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
467 lines (408 loc) · 11.2 KB
/
index.html
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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
<!DOCTYPE html>
<html lang="en" dir="ltr" id='main'>
<head>
<script src="https://code.jquery.com/jquery-3.4.0.js" integrity="sha256-DYZMCC8HTC+QDr5QNaIcfR7VSPtcISykd+6eSmBW5qo=" crossorigin="anonymous"></script>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<!-- <link href="index.css" rel="stylesheet"> -->
<meta charset="utf-8">
<title>高雄市觀音線協談中心</title>
<script type="text/javascript">
$(function() {
const w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
const h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
$(window).scroll(function() {
$('html').scrollTop() != 0 ? $('#nav').addClass('bb') : $('#nav').removeClass('bb');
});
$("#goService").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#s2").offset().top - h * 0.11
}, 300, 'swing');
});
$("#goStory").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#s3").offset().top - h * 0.02
}, 300, 'swing');
});
})
</script>
<style lang="">
/* config */
html {
/* overflow: hidden; */
}
div {
/* box-shadow: 0 0 0 1px silver; */
background-position: center; /* Cente image */
background-repeat: no-repeat; /* Do not repeat the image */
background-size: contain; /* Resize the background image to cover the entire container */
}
.bb {
opacity: 1;
background: rgba(48,48,48, 0.9)!important;
box-shadow: 0 1px 2px 0 silver;
}
/* config */
/* header */
#nav {
/* background: rgb(239,239,239)!important; */
background: transparent;
display: flex;
width: 100%;
transition: .3s;
color: #000;
/* opacity: 1;
background: rgba(48,48,48, 0.9)!important;
box-shadow: 0 1px 2px 0 silver; */
}
nav > a, nav > div {
min-width: 50%;
flex: 1;
}
.logo {
background-image: url('./asset/index/LOGO.png');
flex: 1;
}
.collapse.navbar-collapse {
height: 100%;
}
.banner {
background: transparent;
color: #fff;
width: 100%;
height: 12vh;
display: flex;
}
.navbar-nav {
width: 100%;
display: flex;
padding-right: 15px;
}
.nav-link {
color: rgb(222,222,222)!important;
/* color: #fff; */
text-align: center;
font-size: 1.2em;
transition: .2s;
/* cursor: pointer; */
}
.nav-link:hover {
color: rgb(239,239,239)!important;
cursor: pointer;
}
.nav-item {
flex: 1;
}
.ls-1e {
letter-spacing: 1em;
}
/* header */
/* body */
.main-container {
/* overflow: auto;
height: 100vh; */
overflow-X: hidden;
}
.main-container::-webkit-scrollbar {
width: 10px;
}
.main-container::-webkit-scrollbar-thumb {
background: #666;
border-radius: 20px;
}
.main-container::-webkit-scrollbar-track {
background: rgba(48,48,48, 0.1);
/* border-radius: 20px; */
}
section {
width: 100%;
position: relative;
}
.section-1 {
height: 85vh;
/* background-image: url('./asset/index/P1_1.png'); */
}
.section-1 img{
/* transform: scale(1.15); */
/* height: 87%; */
width: 100%;
}
.section-2 {
height: 40vh;
background-color: rgb(239,239,240);
display: flex;
justify-content: center;
align-self: center;
}
.service-info {
width: 60%;
table-layout: fixed;
height: 85%;
position: relative;
left: 7%;
top: -2%;
}
.service-info th {
font-size: 2.2em!important;
}
.service-info th:nth-child(2) {
padding: 30px
}
.service-info td {
line-height: 2em;
font-size: 1.3em;
}
.service-info td:nth-child(2) {
padding: 30px
}
.service-info th, .service-info td {
color: #555;
/* text-align: center; */
}
.section-3 {
height: 150vh;
background-color: rgb(247,247,247);
position: relative;
}
.p1 {
right: 0;
top: 10vh;
z-index: 1;
}
.p1 img {
width: 50vw;
}
.p2 {
top: 11vh;
left: 20vw;
width: 30vw;
min-width: 450px;
height: 30vw;
min-height: 450px;
background: #fff;
padding: 25px;
z-index: 1;
color: #666;
font-size: 1.1em;
line-height: 2em;
}
.p3 {
top: 25vh;
}
.p3 img {
width: 73% ;
}
.p4 {
width: 55vw;
height: 40vh;
z-index: 1;
top: 85vh;
}
.p4 img {
width: 100%;
transform: scale(1.3);
margin-top: 6vh;
}
.p5 {
transform: scale(0.8);
width: 35vw;
height: 32vh;
top: 86vh;
right: 13vw;
background: #fff;
padding: 25px;
color: #666;
font-size: 1.4em;
z-index: 2;
}
.p6 {
right: 0;
top: 90vh;
z-index: 0;
}
.section-3 > div {
position: absolute;
min-height: 260px;
margin-top: -25px;
}
.section-4 {
height: 35vh;
display: flex;
justify-content: center;
align-items: center;
background-image: url('./asset/index/pp.png');
font-size: 1.5em;
color: #a9a9a9b8;
line-height: 1.7em;
letter-spacing: 1px;
min-height: 340px;
background: #2d3d46;
}
.section-4 div {
padding-top: 60px;
}
.p2, .p5, .p4 img, .p1 img {
box-shadow: 0px 0px 10px 1px silver;
border-radius: 3px;
}
/* body */
@media only screen and (max-width: 1600px) {
.section-1 {
height: 30vh; margin-top: 110px;
}
.p2 h2{
height: 100px;
}
.p2 {
font-size: 1.1em;
line-height: 1.8em;
}
}
@media only screen and (max-width: 1440px) {
.nav-link {
font-size: 1em;
}
.p2 {
font-size: 1em !important;
line-height: 1.8em;
}
.section-3 > div {
min-height: 285px !important;
}
.p3 img {
width: 66%;
}
}
@media only screen and (max-width: 1281px) {
.p2 h2{
height: 80px;
}
.p2 {
font-size: 1em !important;
line-height: 1.7em;
}
}
</style>
</head>
<body>
<div class="main-container" id='main-container'>
<div class='banner fixed-top'>
<nav class="navbar navbar-expand-lg navbar-light" id='nav'>
<a class="navbar-brand" href="./index.html">
<img src="./asset/index/LOGO.png" alt="home">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link ls-1e" href="./index.html">首頁<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" id='goService'>服務內容</a>
</li>
<li class="nav-item">
<a class="nav-link ls-1e" id="goStory">緣起</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./course.html">課程活動</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./femalejail.html">女子監獄</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./growth.html">成長育樂營</a>
</li>
</ul>
</div>
</nav>
</div>
<section class='section-1' id='s1'>
<img src="./asset/index/P1_1.png" alt="" />
</section>
<section class='section-2' id='s2'>
<table class='service-info'>
<tr>
<th>
Service items<br/>服務項目
</th>
<th>
Service line<br/>服務電話
</th>
</tr>
<tr>
<td>凡感情困擾、夫妻關係、親子溝通、<br/>
人際相處、生涯發展、自我探索、<br/>人
生信仰、個人生活適應
</td>
<td>
協談專線 224-7181<br/>行政專線 224-8948
</td>
</tr>
</table>
</section>
<section class='section-3' id='s3'>
<div class="p1">
<img src="./asset/index/P1_1_3.png" alt="">
</div>
<div class="p2">
<h2>
<span style="font-size: 1.2em">
Origin story
</span>
<br/>
緣起
<br/>
<br/>
</h2>
高雄正信佛教青年會在推廣佛法教育之餘,為了服務關
懷更多的社會大眾,在佛青會歷任導師: 菩妙長老、開
證長老、宏印法師、以及前議長陳田錨夫人、中山大學
孫小玉教授等人士大力支持與奔走下,創辦了觀音線協
談中心,並於82年6月26日正式開線。<br/>
宗旨:<br/>
本中心秉持觀世音菩薩「慈悲喜捨,聞聲救苦」之精神
,從事關懷陪伴大眾之工作,為需要協助之當事人提供
協談服務,使其能有效積極的處理煩惱、突破困境,以
獲得心中的光明與自在!
</div>
<div class="p3">
<img src="./asset/index/P1_1_1.png" alt="">
</div>
<div class="p4">
<a href="https://www.google.com/maps/place/%E9%AB%98%E9%9B%84%E8%A7%80%E9%9F%B3%E7%B7%9A/@22.6297748,120.3186399,17z/data=!4m5!3m4!1s0x0:0xa6918ec78e7b6a07!8m2!3d22.6303739!4d120.3194124">
<img src="./asset/index/M1.png" alt="">
</a>
</div>
<div class="p5">
<h2>
<span style="font-size: 1.2em">
Map location
</span>
<br/>
地圖位置
<br/>
<br/>
</h2>
802高雄市苓雅區中正二路58號
<br/>
Zhongzheng 2nd Road, Yuya District, Kaohsiung City
</div>
<div class="p6">
<img src="./asset/index/P1_1_2.png" alt="">
</div>
</section>
<section class='section-4'>
<img src="./asset/index/PPLOGO.png" alt="">
<div>
協談專線: 224-7181 行政專線: 224-8948<br/>
電 郵: [email protected]<br/>
服務時間: 每週一至週六 下午2:30 - 5:30 睌上6:30 - 9:30<br/>
帳號 : 元大銀行806-苓雅分行00108100175014<br/>
歡迎贊助 : 戶名:高雄市正信佛教青年會<br/>
</div>
</section>
</div>
</body>
</html>