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, input[type=number], input[type=text], input[type=password], input[type=date], input[type=time], input[type=email], textarea, button, select { margin: 0; padding: 0; border: 0; font: inherit; word-break: break-all; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; vertical-align: baseline; -moz-appearance: none; -webkit-appearance: none; border-radius: 0; } body { font-family: 'Arial', '微軟正黑體', sans-serif, Arial, '文泉驛正黑', "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "Microsoft JhengHei", sans-serif; font-weight: 300; font-size: 1em; } *[data-toUrl], label, button, *[data-setActive] { cursor: pointer; } button { background-color: transparent; } button, a, img { transition: all .2s ease-out 0s; } 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; } picture, img { display: block; max-width: 100%; } a, a:hover, a:focus, textarea:focus, input:focus, button:focus, select { outline: none; text-decoration: none; } .wrap { padding: 0px calc(50% - 600px); } @media (max-width: 1220px) { .wrap { padding: 0px calc(50% - 512px); } } @media (max-width: 1024px) { .wrap { padding: 0px 10px; } } picture img { width: 100%; } body { border-top: 5px solid #b53f45; } .pic, a picture, *[data-toUrl] picture { overflow: hidden; } .pic img, a picture img, *[data-toUrl] picture img { transform: scale(1,1); transition: all .5s ease-out; } .pic img:hover, a picture img:hover, *[data-toUrl] picture img:hover { transform: scale(1.2,1.2); } .pic img.nore:hover, a picture img.nore:hover, *[data-toUrl] picture img.nore:hover { transform: scale(1,1); } #head { padding-top: 30px; padding-bottom: 30px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; } #head #logo { padding-left: 20%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; width: 60%; } #head .fa-bars { display: none; } #head #social_list { width: 20%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; } #head #social_list li { padding: 10px; } #head #social_list li a { background: #b53f45; -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%; width: 32px; height: 32px; display: block; line-height: 32px; text-align: center; color: #fff; } #head #social_list li a:hover { background: #e55e5e; } #main_menu ul { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; padding-top: 10px; padding-bottom: 10px; border-top: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; } #main_menu ul li { flex: 1; text-align: center; } #main_menu ul li a { display: block; border-right: 1px solid #e1e1e1; color: #787878; padding: 5px 0; } #main_menu ul li a:hover { color: #b53f45; } #main_menu ul li:last-child a { border-right: 0px; } @media (max-width: 1024px) { #head { padding: 0px 10px; border-bottom: 1px solid #b53f45; } #head #logo { width: 100%; padding: 0px; } #head .fa-bars { display: block; position: absolute; right: 0px; width: 50px; height: 50px; top: 5px; text-align: center; line-height: 50px; color: #b53f45; } #main_menu { display: none; } body { padding-bottom: 50px; } body.active #head .fa-bars { position: fixed; z-index: 2000; } body.active #main_menu { display: block; position: fixed; top: 0px; left: 0px; width: 100%; height: 100vh; background: #fff; z-index: 1000; border: 5px solid #b53f45; } body.active #main_menu ul { display: flex; flex-direction: column; border: 0px; } body.active #main_menu ul li { width: 100%; } body.active #main_menu ul li a { border: 0px; padding: 20px 0; border-bottom: 1px solid #e1e1e1; } #head #social_list { background: rgba(255,255,255,0.5); z-index: 1000; position: fixed; bottom: 0px; left: 0px; width: 100%; } } #foot { background: #333; } #foot .wrap { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; padding-top: 50px; padding-bottom: 50px; } #foot .wrap .foot_menu { width: 60%; padding-right: 10px; } #foot .wrap .foot_menu picture { display: inline-block; } #foot .wrap .foot_menu ul { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; } #foot .wrap .foot_menu ul li { width: 33%; padding: 10px 0; } #foot .wrap .foot_menu ul li a { color: #fff; } #foot .wrap .foot_menu ul li a:hover { color: #e55e5e; } #foot .wrap .foot_content { width: 40%; padding-left: 10px; } #foot .wrap .foot_content h5 { font-size: 200%; color: #fff; } #foot .wrap .foot_content ul li { padding: 10px 0; } #foot .wrap .foot_content ul a { color: #fff; } #foot .wrap .foot_content ul a:hover { color: #e55e5e; } @media (max-width: 600px) { #foot .wrap { display: block; } #foot .wrap .foot_menu, #foot .wrap .foot_content { padding: 20px 0; width: 100%; } #foot .wrap .foot_menu ul li { width: 50%; } } #copyright { background: #000; font-size: 80%; color: #fff; text-align: center; padding: 5px 0; } #copyright a { color: #fff; } header { display: flex; flex-direction: column; } header h1 { order: 1; padding: 50px 0; font-size: 250%; font-weight: 900; color: #b53f45; text-align: center; } header nav { order: 0; padding: 10px 0; border-bottom: 1px solid #e1e1e1; font-size: 90%; } header nav ul { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; } header nav ul li::after { content: ' :: '; } header nav ul li a { color: #787878; } header nav ul li a:hover { color: #b53f45; } header nav ul li:last-child::after { display: none; } main { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: stretch; margin-bottom: 50px; } main article { width: 70%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; } main article #main_photo { width: 300px; } main article #main_photo img { width: 100%; } main article #content { line-height: 150%; width: calc(100% - 300px); padding: 0 20px; } main article #content #description { color: #999; padding: 20px; background: #f1f1f1; margin-bottom: 20px; } main article #content h2, main article #content h3, main article #content h4, main article #content h5 { color: #b53f45; padding: 10px 0; font-size: 110%; font-weight: 900; } main article #content p { padding: 10px 0; } main article #content iframe { width: 100%; height: 300px; } main aside { border-left: 1px solid #e1e1e1; flex: 1; } main aside ul li { border-bottom: 1px solid #e1e1e1; } main aside ul li a { color: #313131; display: block; padding: 20px 10px; } main aside ul li a:hover { color: #b53f45; } main aside ul li.active a { color: #b53f45; } @media (max-width: 600px) { main article { width: 100%; padding-bottom: 50px; } main article #main_photo { width: 100%; margin-bottom: 20px; order: 1; } main article #content { order: 0; width: 100%; } main aside { width: 100%; border-left: 0px; border-top: 1px solid #e1e1e1; } } 