Charles | 93e2674 | 2018-02-23 16:33:49 +0800 | [diff] [blame] | 1 | html, body { |
| 2 | width: 100%; |
| 3 | height: 100%; |
| 4 | } |
| 5 | |
| 6 | body { |
| 7 | padding: 0px; |
| 8 | margin: 0px; |
| 9 | font-size: 14px; |
| 10 | line-height: 1.42857143; |
| 11 | color: #333; |
| 12 | background-color: #fff; |
| 13 | font-family: 'Montserrat', sans-serif; |
| 14 | } |
| 15 | |
| 16 | * { |
| 17 | box-sizing: border-box; |
| 18 | } |
| 19 | |
| 20 | h1, h2, h3, h4, h5, h6, p { |
| 21 | margin: 0px; |
| 22 | padding: 0px; |
| 23 | } |
| 24 | |
| 25 | ul, ol { |
| 26 | list-style: none; |
| 27 | margin: 0px; |
| 28 | padding: 0px; |
| 29 | } |
| 30 | |
| 31 | a, a:hover, a:focus { |
| 32 | margin: 0px; |
| 33 | padding: 0px; |
| 34 | text-decoration: none; |
| 35 | } |
| 36 | |
| 37 | img { |
| 38 | width: 100%; |
| 39 | height: auto; |
| 40 | display: block; |
| 41 | } |
| 42 | |
| 43 | .container { |
| 44 | width: 85%; |
| 45 | max-width: 1170px; |
| 46 | margin: 0 auto; |
| 47 | position: relative; |
| 48 | } |
| 49 | |
| 50 | header { |
| 51 | position: fixed; |
| 52 | width: 100%; |
| 53 | left: 0; |
| 54 | right: 0; |
| 55 | background-color: #222; |
| 56 | z-index: 100; |
| 57 | } |
| 58 | |
| 59 | #logo { |
| 60 | float: left; |
| 61 | width: 50px; |
| 62 | height: 50px; |
| 63 | } |
| 64 | |
| 65 | .nav { |
| 66 | float: right; |
| 67 | } |
| 68 | |
| 69 | .nav li { |
| 70 | display: inline-block; |
| 71 | } |
| 72 | |
| 73 | .nav li a { |
| 74 | color: #fff; |
| 75 | text-transform: capitalize; |
| 76 | display: block; |
| 77 | padding: 10px 12px; |
| 78 | } |
| 79 | |
| 80 | .home_bg { |
| 81 | background-image: url(../images/image.jpg); |
| 82 | background-size: cover; |
| 83 | background-position: center; |
| 84 | background-repeat: no-repeat; |
| 85 | width: 100%; |
| 86 | height: 100%; |
| 87 | } |
| 88 | |
| 89 | .container_table { |
| 90 | display: table; |
| 91 | width: 100%; |
| 92 | height: 100%; |
| 93 | position: relative; |
| 94 | } |
| 95 | |
| 96 | .container_table_cell { |
| 97 | display: table-cell; |
| 98 | text-align: center; |
| 99 | vertical-align: middle; |
| 100 | } |
| 101 | |
| 102 | .container_table_cell h2 { |
| 103 | color: #fff; |
| 104 | text-transform: capitalize; |
| 105 | font-size: 54px; |
| 106 | } |
| 107 | |
| 108 | .social_icons a { |
| 109 | color: #fff; |
| 110 | display: inline-block; |
| 111 | width: 30px; |
| 112 | height: 40px; |
| 113 | line-height: 40px; |
| 114 | font-size: 19px; |
| 115 | margin-right: 7px; |
| 116 | } |
| 117 | |
| 118 | .overlay { |
| 119 | background: rgba(0, 0, 0, 0.5); |
| 120 | position: absolute; |
| 121 | left: 0; |
| 122 | top: 0; |
| 123 | width: 100%; |
| 124 | height: 100%; |
| 125 | } |
| 126 | |
| 127 | .about_me { |
| 128 | |
| 129 | } |
| 130 | |
| 131 | h2 { |
| 132 | margin-bottom: 75px; |
| 133 | text-align: center; |
| 134 | font-size: 40px; |
| 135 | line-height: 50px; |
| 136 | text-transform: uppercase; |
| 137 | letter-spacing: 2px; |
| 138 | } |
| 139 | |
| 140 | .col-left, .col-right { |
| 141 | float: left; |
| 142 | width: 50%; |
| 143 | padding: 0 15px; |
| 144 | } |
| 145 | |
| 146 | .personal-info h3 { |
| 147 | font-size: 15px; |
| 148 | letter-spacing: 2px; |
| 149 | margin-bottom: 6px; |
| 150 | text-transform: capitalize; |
| 151 | } |
| 152 | |
| 153 | .personal-info p { |
| 154 | color: #767676; |
| 155 | line-height: 24px; |
| 156 | text-align: justify; |
| 157 | } |
| 158 | |
| 159 | |
| 160 | .skill { |
| 161 | margin: 30px auto; |
| 162 | } |
| 163 | |
| 164 | .skill li { |
| 165 | font-size: 15px; |
| 166 | line-height: 35px; |
| 167 | text-transform: capitalize; |
| 168 | } |
| 169 | |
| 170 | .button-group .download_cv, .button-group .hire_me { |
| 171 | display: inline-block; |
| 172 | } |
| 173 | |
| 174 | .button-group .download_cv { |
| 175 | margin-right: 18px; |
| 176 | } |
| 177 | |
| 178 | .button-group a { |
| 179 | display: block; |
| 180 | color: #000; |
| 181 | border: 1px solid #333; |
| 182 | border-radius: 10px; |
| 183 | padding: 10px 38px; |
| 184 | text-transform: capitalize; |
| 185 | } |
| 186 | |
| 187 | .button-group a:hover { |
| 188 | background: #000; |
| 189 | color: #fff; |
| 190 | -webkit-transition: all .4s linear; |
| 191 | -moz-transition: all .4s linear; |
| 192 | -ms-transition: all .4s linear; |
| 193 | -o-transition: all .4s linear; |
| 194 | transition: all .4s linear; |
| 195 | } |
| 196 | |
| 197 | .clearfix::after { |
| 198 | content: ''; |
| 199 | display: table; |
| 200 | clear: both; |
| 201 | } |
| 202 | |
| 203 | .my_service { |
| 204 | background-color: #f9f9f9; |
| 205 | } |
| 206 | |
| 207 | .service-content { |
| 208 | float: left; |
| 209 | width: 33.33333333%; |
| 210 | padding: 0 15px; |
| 211 | } |
| 212 | |
| 213 | .service-content i { |
| 214 | font-size: 30px; |
| 215 | line-height: 46px; |
| 216 | } |
| 217 | |
| 218 | .service-content h3 { |
| 219 | font-size: 16px; |
| 220 | letter-spacing: 1px; |
| 221 | margin-top: 13px; |
| 222 | margin-bottom: 8px; |
| 223 | text-transform: capitalize; |
| 224 | } |
| 225 | |
| 226 | .service-content p { |
| 227 | color: #767676; |
| 228 | font-size: 14px; |
| 229 | font-weight: 300; |
| 230 | line-height: 24px; |
| 231 | } |
| 232 | |
| 233 | .container { |
| 234 | width: 85%; |
| 235 | max-width: 1170px; |
| 236 | margin: 0 auto; |
| 237 | position: relative; |
| 238 | } |
| 239 | |
| 240 | /* 上方是是其他的 CSS 基礎樣式設定 */ |
| 241 | |
| 242 | section { |
| 243 | padding: 100px 0; |
| 244 | } |
| 245 | |
| 246 | /* 下方是 Header 區塊的 CSS 樣式 */ |
| 247 | .col-horizontal { |
| 248 | padding-bottom: 16px; |
| 249 | border-bottom: 1px solid #767676; |
| 250 | } |
| 251 | |
| 252 | .col-horizontal:last-child { |
| 253 | border-bottom: 0; |
| 254 | } |
| 255 | h3.resume-subtitle { |
| 256 | font-size: 20px; |
| 257 | margin-left: 15px; |
| 258 | margin-top: 12px; |
| 259 | text-transform: capitalize; |
| 260 | } |
| 261 | |
| 262 | .col-horizontal .col-item { |
| 263 | float: left; |
| 264 | width: 50%; |
| 265 | padding: 0 15px; |
| 266 | } |
| 267 | |
| 268 | .experience-year { |
| 269 | background-color: #000; |
| 270 | color: #fff; |
| 271 | display: inline-block; |
| 272 | padding: 4px 20px; |
| 273 | margin-top: 15px; |
| 274 | margin-bottom: 10px; |
| 275 | } |
| 276 | |
| 277 | .resume-detail h4 { |
| 278 | font-size: 16px; |
| 279 | line-height: 30px; |
| 280 | text-transform: capitalize; |
| 281 | } |
| 282 | |
| 283 | .resume-detail h6 { |
| 284 | font-size: 12px; |
| 285 | margin-bottom: 9px; |
| 286 | text-transform: capitalize; |
| 287 | } |
| 288 | |
| 289 | .resume-detail p { |
| 290 | line-height: 22px; |
| 291 | } |
| 292 | |
| 293 | .quotes { |
| 294 | background-image: url(../images/abg.jpg); |
| 295 | background-size: cover; |
| 296 | background-position: center; |
| 297 | background-repeat: no-repeat; |
| 298 | background-attachment: fixed; |
| 299 | position: relative; |
| 300 | width: 100%; |
| 301 | } |
| 302 | |
| 303 | .quote-inner { |
| 304 | color: #fff; |
| 305 | text-align: center; |
| 306 | } |
| 307 | |
| 308 | .quote-inner h3 { |
| 309 | font-size: 28px; |
| 310 | text-transform: capitalize; |
| 311 | } |
| 312 | |
| 313 | .quote-inner p { |
| 314 | font-size: 14px; |
| 315 | margin-top: 12px; |
| 316 | } |
| 317 | |
| 318 | .quote-inner a { |
| 319 | color: #fff; |
| 320 | border: 1px solid #fff; |
| 321 | border-radius: 11px; |
| 322 | padding: 12px 49px; |
| 323 | display: inline-block; |
| 324 | margin-top: 22px; |
| 325 | text-transform: uppercase; |
| 326 | letter-spacing: 3px; |
| 327 | } |
| 328 | |
| 329 | .works { |
| 330 | background-color: #f7f7f7; |
| 331 | } |
| 332 | |
| 333 | .col-work { |
| 334 | float: left; |
| 335 | width: 33.3333333333%; |
| 336 | padding: 0 15px; |
| 337 | } |
| 338 | |
| 339 | .col-work a { |
| 340 | display: block; |
| 341 | margin-bottom: 14px; |
| 342 | position: relative; |
| 343 | -webkit-transition: .2s linear; |
| 344 | -moz-transition: .2s linear; |
| 345 | -ms-transition: .2s linear; |
| 346 | -o-transition: .2s linear; |
| 347 | transition: .2s linear; |
| 348 | top: 0; |
| 349 | left: 0; |
| 350 | } |
| 351 | |
| 352 | .col-work a:hover { |
| 353 | box-shadow: 0 16px 22px 0 rgba(90, 91, 95, 0.3); |
| 354 | top: -5px; |
| 355 | } |
| 356 | |
| 357 | .contact-form { |
| 358 | width: 65%; |
| 359 | margin: 0 auto; |
| 360 | text-align: center; |
| 361 | } |
| 362 | |
| 363 | .contact-form .form-input:first-child, |
| 364 | .contact-form .form-input:nth-child(2) { |
| 365 | float: left; |
| 366 | width: 50%; |
| 367 | padding: 0 15px; |
| 368 | } |
| 369 | |
| 370 | .contact-form .form-input:nth-child(3) { |
| 371 | width: 100%; |
| 372 | padding: 0 15px; |
| 373 | } |
| 374 | |
| 375 | .contact-form input.form-style { |
| 376 | width: 100%; |
| 377 | border: none; |
| 378 | border-bottom: 1px solid #333; |
| 379 | text-transform: capitalize; |
| 380 | padding-bottom: 19px; |
| 381 | margin-bottom: 12px; |
| 382 | outline: none; |
| 383 | } |
| 384 | |
| 385 | .contact-form textarea { |
| 386 | width: 100%; |
| 387 | border: none; |
| 388 | border-bottom: 1px solid #333; |
| 389 | outline: none; |
| 390 | } |
| 391 | |
| 392 | .form-submit { |
| 393 | text-align: left; |
| 394 | padding: 0 15px; |
| 395 | } |
| 396 | |
| 397 | .form-submit input { |
| 398 | font-size: 16px; |
| 399 | text-transform: capitalize; |
| 400 | background-color: transparent; |
| 401 | border: 1px solid #000; |
| 402 | border-radius: 12px; |
| 403 | padding: 15px 60px; |
| 404 | margin-top: 16px; |
| 405 | margin-bottom: 14px; |
| 406 | cursor: pointer; |
| 407 | -webkit-transition: .4s linear; |
| 408 | -moz-transition: .4s linear; |
| 409 | -ms-transition: .4s linear; |
| 410 | -o-transition: .4s linear; |
| 411 | transition: .4s linear; |
| 412 | } |
| 413 | |
| 414 | .form-submit input:hover { |
| 415 | background-color: #000; |
| 416 | color: #fff; |
| 417 | } |
| 418 | |
| 419 | footer { |
| 420 | padding: 80px 0; |
| 421 | background-color: #000; |
| 422 | color: #fff; |
| 423 | text-align: center; |
| 424 | } |
| 425 | |
| 426 | .footer-content p { |
| 427 | line-height: 22px; |
| 428 | } |
| 429 | |
| 430 | .footer-social-icon a i { |
| 431 | color: #fff; |
| 432 | display: inline-block; |
| 433 | font-size: 14px; |
| 434 | line-height: 20px; |
| 435 | margin-top: 15px; |
| 436 | margin-right: 15px; |
| 437 | } |