/* normalize.css v1.0.1 | MIT License | git.io/normalize */ article, footer, header, nav, section { display: block; } html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { margin: 0; } a:active, a:hover { outline: 0; } h1, h2, h3, h4, h5, h6 { font-size: 1em; margin: 0; } b, strong { font-weight: bold; } p, pre { margin: 0; } dl, ul { margin: 0; padding: 0; list-style: none; list-style-image: none; } ol { padding: 0 0 0 2em; } dd { margin: 0; } img { border: 0; -ms-interpolation-mode: bicubic; } form { margin: 0; } button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; } button, input { line-height: normal; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; *overflow: visible; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *height: 13px; *width: 13px; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } /* HTML5 Boilerplate v4.01 */ html, input { color: black; } body { font-size: 14px; line-height: 1; } ::-moz-selection { background: rgba(0, 0, 0, 0.08); text-shadow: none; } ::selection { background: rgba(0, 0, 0, 0.08); text-shadow: none; } hr { display: block; height: 0; border: none; border-top: 1px solid #333333; margin: 0; padding: 0; } img { vertical-align: middle; } .clearfix:before, .clearfix:after { content: " "; display: table; } .clearfix:after { clear: both; } .clearfix { *zoom: 1; } /* @padding-nav-item: floor((@main-width - @M * 35) / (2 * 8)); */ .solid { border-style: solid; } /* @lianghai | 2013-DEC | duh-doy! */ /* she'll be coming 'round the mount-DEAN when she comes ... choo-choo! */ html, input { font-family: Arial, "Microsoft YaHei", sans-serif; } html.apple, html.apple input { font-family: "Helvetica Neue", "Hiragino Sans GB", sans-serif; } html.apple cjk { font-family: "Hiragino Sans GB", sans-serif; } a { color: #333333; text-decoration: none; } body { min-width: 980px; background-color: #e2dcd6; } #global-header { position: relative; z-index: 21; height: 94px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.05), 0 2px 0 rgba(0, 0, 0, 0.03); background-color: #d45d4c; background-image: -webkit-linear-gradient(0deg, #d45d4c, #c94047); background-image: linear-gradient(0deg, #d45d4c, #c94047); } #global-header a { display: block; } #content { border-bottom: 1px solid #c7b7af; background-color: #f0ede5; } #global-footer { box-shadow: inset 0 3px rgba(0, 0, 0, 0.04); color: #645950; font-size: 12px; } #global-footer p { margin: 0; } #global-footer a { color: #645950; } #global-footer:hover a { border-bottom: 1px solid #c7b7af; } #global-footer:hover a:hover { color: #c44c3f; border-bottom-color: #c44c3f; } #container-header, #container-content, #container-footer { width: 960px; margin: 0 auto; } #container-header { position: relative; } #container-footer { padding-top: 20px; padding-bottom: 40px; } h1#logo { float: left; } h1#logo a { background-image: url(../img/logotype.png); background-repeat: no-repeat; background-position: 0 0; height: 60px; width: 275px; font-size: 20px; color: #fbfaf5; text-indent: -9999px; line-height: 60px; } h1#logo a:hover { opacity: 0.85; } #sibling-sites { float: right; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1); border-radius: 0 0 2px 2px; border-width: 0 1px 1px 1px; border-style: solid; border-color: #a03b3d; background-color: #ba3b42; font-size: 12px; line-height: 28px; text-shadow: 0 1px rgba(0, 0, 0, 0.1); } #sibling-sites:hover { box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.15); border-color: #843132; } #sibling-sites a { float: left; padding: 0 15px; color: #fbfaf5; } #sibling-sites a:hover { background-color: #a93e40; background-color: rgba(0, 0, 0, 0.1); } #sibling-sites a.legacy { background-image: url(../img/legacy.png); background-repeat: no-repeat; background-position: 10px center; padding-left: 35px; } #sibling-sites a.English { background-image: url(../img/English.png); background-repeat: no-repeat; background-position: 12px center; padding-left: 39px; } nav { position: relative; z-index: 23; clear: both; background-color: #fbfaf5; box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1); font-size: 14px; line-height: 34px; } nav a { padding: 0 31px 0 30px; color: #d45d4c; } nav .btn.current a, nav .btn:hover a { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); background-color: #d45d4c; color: #fbfaf5; } nav .menu > a { cursor: default; background-image: url(../img/menu-arrow.png); background-repeat: no-repeat; background-position: center 28px; } nav .menu.current > a, nav .menu:hover > a { background-color: #f9f6ed; } #container-nav { margin: 0 auto; width: 950px; height: 34px; } #container-nav > li { float: left; position: relative; } #container-nav ul { position: absolute; visibility: hidden; z-index: 22; box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15); border-top: 2px solid #d45d4c; padding: 5px 0; background-color: #fbfaf5; background-color: rgba(251, 250, 245, 0.97); } #container-nav ul a { white-space: nowrap; } #container-nav .menu:hover ul { visibility: visible; } #container-nav .menu:hover ul a:hover { background-color: #d45d4c; color: #fbfaf5; } p.center-aligned { text-align: center !important; } .running-text p, .running-text ol, .running-text ul { line-height: 1.75; text-align: justify; } ol.text, ul.text { padding: 0 0 0 2em; } ul.text { list-style-type: disc; } .running-text table { line-height: 1.75; } .para-spacing p { margin-top: 1em; margin-bottom: 1em; } /* .indented p { text-indent: 2em; }*/ ul.articles { background-color: #fbfaf5; } ul.articles li:nth-child(2n+1) { background-color: #faf8f1; } ul.articles a { display: block; border-top: 1px dashed #eeebe4; color: #333333; } ul.articles a:hover span { text-decoration: underline; color: #c44c3f; } ul.articles time { float: left; text-align: right; width: 90px; padding-top: 11px; color: #a1978b; font-size: 12px; font-weight: bold; } ul.articles span { /* hyy 110px to 40px*/ display: block; padding: 6px 20px 6px 40px; line-height: 1.5; } #sibling-sites a, #ribbon-broadcast a, #board-notices li:first-child a, .services a { -webkit-transition-property: color, background-color; transition-property: color, background-color; -webkit-transition-duration: 0.25s; transition-duration: 0.25s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; } ul.articles span, .services h2 { -webkit-transition: color 0.25s ease-out; transition: color 0.25s ease-out; } @media only screen and (max-width: 1024px) { #container-body { margin-bottom: 0; width: 100%; } #content, footer { border-width: 0 0 1px 0; } } @media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { h1#logo a { background-image: url(../img/logotype@2x.png); background-size: 275px; } #sibling-sites a.legacy { background-image: url(../img/legacy@2x.png); background-size: 16px; } #sibling-sites a.English { background-image: url(../img/English@2x.png); background-size: 16px; } nav .menu > a { background-image: url(../img/menu-arrow@2x.png); background-size: 5px; } }