-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylePages.css
415 lines (405 loc) · 8.17 KB
/
stylePages.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
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
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
h1{
color: blue;
font-size: 20px;
}
*,*::before, *::after{
box-sizing: border-box;
/*outline: 1px solid black;*/
}
/*全頁寬度置中,與字的粗度設定*/
.wrap{
width: 1024px;
margin: 0 auto;
}
/*三個頁面的頁頭與頁尾header & footer*/
.header-bar, .footer{
display: flex;
justify-content: space-between;
}
.title{
background-image: url(images/HEXSCHOOL.png);
width: 170px;
height: 34px;
display: block;
text-indent: 102%;
overflow: hidden;
white-space: nowrap;
}
/*三個頁面的頁頭header*/
.header-bar{
height: 76px;
background: linear-gradient(to right, rgba(50, 50, 40, 0.4) 0, rgba(50, 50, 40, 1) 10%, rgba(50, 50, 40, 1) 50%, rgba(50, 50, 40, 0.4) 100%);
}
h1{
margin: 20px 0 20px 42px;
}
.navbar{
width: 224px;
margin-top: 30px;
margin-right: 42px;
display: flex;
justify-content: space-between;
}
.navbar a{
width: 60px;
padding: 0 15px 23px 15px;
color: #fff;
font-size: 14px;
text-decoration: none;
}
.navbar a:hover{
color: #00cc99;
border-bottom: 6px solid #00cc99;
}
.header-index, .header-courses, .header-questions{
height: 560px;
}
.header-index{
background-image: url(images/indexBanner.png);
}
.header-courses{
background-image: url(images/coursesBanner.png);
}
.header-questions{
background-image: url(images/questionsBanner.png);
}
/*三個頁面的頁尾footer*/
.footer{
background-color: #323228;
}
.footer-title{
margin: 37px 0 37px 42px;
}
.footer-title p{
margin-top: 8px;
margin-left: 30px;
color: #9b9b9b;
font-size: 12px;
}
.linkbar{
width: 140px;
margin: 50px 42px 50px 0;
display: flex;
justify-content: space-between;
}
/*按鈕與搜尋欄*/
/*三個頁面的頁頭header,頁中content,頁中下欄container的所有
按鈕共同樣式 */
.btn{
color: #ebebeb;
font-size: 16px;
font-weight: 800;
text-decoration: none;
background-color: #00cc99;
border-radius: 5%;
border: none;
}
/*多頁式首頁index的頁頭header-index,多頁式課程coursePage的頁頭header-courses,
與頁中下欄container的馬上去註冊按鈕 */
.btn-regist, .btn-register, .btn-login{
width: 220px;
padding: 16px 34px 16px 39px;
}
.btn-regist span, .btn-register span, .btn-login span{
margin-left: 27px;
}
/*多頁式首頁index,頁頭header-index的按鈕*/
.btn-regist{
margin: 292px 763px 139px 42px;
display: block;
}
/*多頁式課程coursePage,頁頭header-courses的按鈕*/
.btn-login{
margin: 248px 763px 183px 42px;
display: block;
}
/*多頁式課程questionsPage,頁頭header-questions的搜尋欄*/
.header-input{
width: 620px;
height: 52px;
border-radius: 8%;
margin: 241px 202px 191px 202px;
position: relative;
}
.header-input input{
width: calc(100%);
height: calc(100%);
border-radius: 8%;
font-size: 22px;
border: none;
}
.header-input a{
position: absolute;
top: 10px;
right: 10px;
}
/*三個頁面的頁中content,與h3,h4,p,li設定*/
.col-title, .col-images{
display: flex;
margin-bottom: 30px;
}
h3{
color: #00cc99;
font-size: 32px;
font-weight: 800;
margin-right: 15px;
}
h4{
color: #9b9b9b;
font-size: 16px;
font-weight: 800;
margin-top: 15px;
}
p, li, th ,td{
color: #323223;
font-size: 14px;
font-weight: 800;
}
/*多頁式首頁index的頁中content-index*/
.content-index{
padding: 60px 42px;
}
/*多頁式首頁index的頁中content-index,的col-courses部分(col-images部分設定
放在上方三個頁面的頁中content)*/
.col-courses{
margin-bottom: 60px;
}
.col-courses h4{
margin-right: 509px;
}
.col-courses a{
color: #00cc99;
font-size: 12px;
text-decoration: none;
border: 2px solid #00cc99;
border-radius: 10%;
background-color: #fff;
padding: 7px 14px;
}
.col-images{
justify-content: space-between;
}
.col-images img{
border: 1px solid #f4f4f4;
box-shadow: -2px 0 5px #d9d9d9, 2px 3px 5px #d9d9d9;
}
/*多頁式首頁index的頁中content-index,的col-compare部分*/
.col-compare th, .col-compare td{
padding: 17px 139px 17px 18px;
text-align: center;
}
.col-compare th:nth-child(3), .col-compare td:nth-child(3){
padding-right: 148px;
}
.col-compare th:last-child, .col-compare td:last-child{
padding-right: 21px;
}
.col-compare th{
background-color: #ebebeb;
}
.text-accent{
color: #00cc99;
}
/*多頁式課程coursePage的頁中content-courses*/
.content-courses{
padding: 60px 202px;
}
/*多頁式課程coursePage的頁中content-courses,的col-teacher部分*/
.col-teacher{
display: flex;
margin-bottom: 60px;
}
.col-teacher h3{
margin: 69px 52px;
line-height: 1.5;
}
.col-teacher span{
color: #323223;
}
.col-teacher ul{
margin-top: 69px;
margin-bottom: 45px;
}
.col-teacher li{
color: #9b9b9b;
line-height: 1.5;
text-indent: 1.5em;
list-style-type: square;
}
.col-teacher li::marker{
font-size: 8px;
}
/*多頁式課程coursePage的頁中content-courses,的col-advantages部分*/
.col-advantages{
margin-bottom: 60px;
}
.col-advantages li{
list-style-type: decimal;
line-height: 1.5;
text-indent: 0.5em;
margin-left: 15px;
}
/*多頁式課程coursePage的頁中content-courses,的col-outline部分*/
.col-outline li{
padding-top: 20px;
padding-bottom: 20px;
padding-left: 38px;
}
.col-outline li:nth-child(2n+1){
background-color: #ebebeb;
}
.col-outline li:nth-child(2n){
color: #9b9b9b;
}
/*多頁式問答questionsPage的頁中content-questions*/
.content-questions{
padding: 60px 122px;
}
.col-questions, .col-paid{
margin-bottom: 60px;
}
.col-questions div, .col-paid div, .col-refund div, dd{
margin-bottom: 35px;
}
dd:last-child{
margin-bottom: 0;
}
dt{
color: #323223;
font-size: 18px;
font-weight: 800;
line-height: 1.5;
}
dd, .col-paid p, .col-refund p{
color: #9b9b9b;
font-size: 14px;
font-weight: 800;
line-height: 1.5;
}
.email{
color: #00cc99;
margin-left: 5px;
margin-right: 5px;
}
.circle{
margin-left: 24px;
margin-right: 24px;
}
.decimal{
margin-left: 30px;
margin-right: 20px;
}
/*三個頁面頁中下欄container*/
.container{
display: flex;
background-color: #ebebeb;
}
.container h3{
color: #323223;
font-size: 26px;
line-height: 2em;
letter-spacing: 0.1em;
}
.container form{
display: flex;
flex-direction: column;
}
.input-name, .input-email, .container-email textarea{
width: 460px;
padding-top: 16px;
padding-left: 22px;
margin-bottom: 20px;
color: #9b9b9b;
font-size: 16px;
border-radius: 5%;
border: none;
}
.input-name, .input-email{
padding-bottom: 16px;
}
.input-name, .container-email textarea{
font-weight: 800;
}
.btn-submit{
width: 140px;
padding: 16px 40px;
margin-left: 320px;
}
/*多頁式首頁index的頁中下欄container-msg部分*/
.container-msg h3{
margin: 148px 130px 148px 44px;
}
.container-msg form{
margin-top: 140px;
margin-right: 44px;
margin-bottom: 60px;
}
/*多頁式課程coursePage的頁中下欄container-register部分*/
.container-register h3{
margin: 155px 63px 152px 162px;
}
.btn-register{
margin-top: 205px;
margin-right: 162px;
margin-bottom: 160px;
}
/*多頁式問答questionsPage的頁中下欄container-email部分
(container-email textarea部分設定放在三個頁面頁中下欄container)*/
.container-email h3{
margin: 136px 157px 375px 40px;
}
.container-email form{
margin-top: 120px;
margin-right: 40px;
margin-bottom: 60px;
}
.container-email textarea{
padding-bottom: 168px;
}