@charset "utf-8"; // Base @import url("http://fonts.googleapis.com/css?family=Droid+Sans:400,700"); @import "bootstrap/mixins"; @import "bootstrap/variables"; @import "base/mixins"; @import "base/variables"; @import "base/unity"; // Layout @import "layout/header"; @import "layout/slide"; @import "layout/content"; @import "layout/footer"; // Modules @import "modules/menu"; @import "modules/ad_banner"; @import "modules/announcement"; @import "modules/faq"; @import "modules/web_resource"; @import "modules/gallery"; @import "modules/archives"; @import "modules/member"; @import "modules/personal_plugin"; /* Joshua is here */ // Widget @import "widget/breadcrumb"; @import "widget/sitemenu"; html { font-size: 100%; } body { font-family: 'Droid Sans'; margin-top: 40px; font-size: inherit; } /*! normalize.css v3.0.0 | MIT License | git.io/normalize */ /** * 1. Set default font family to sans-serif. * 2. Prevent iOS text size adjust after orientation change, without disabling * user zoom. */ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /** * Remove default margin. */ body { margin: 0; } /* HTML5 display definitions ========================================================================== */ /** * Correct `block` display not defined in IE 8/9. */ article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; } /** * 1. Correct `inline-block` display not defined in IE 8/9. * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */ audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } /** * Prevent modern browsers from displaying `audio` without controls. * Remove excess height in iOS 5 devices. */ audio:not([controls]) { display: none; height: 0; } /** * Address `[hidden]` styling not present in IE 8/9. * Hide the `template` element in IE, Safari, and Firefox < 22. */ [hidden], template { display: none; } /* Links ========================================================================== */ /** * Remove the gray background color from active links in IE 10. */ a { background: transparent; } /** * Improve readability when focused and also mouse hovered in all browsers. */ a:active, a:hover { outline: 0; } /* Text-level semantics ========================================================================== */ /** * Address styling not present in IE 8/9, Safari 5, and Chrome. */ abbr[title] { border-bottom: 1px dotted; } /** * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */ b, strong { font-weight: bold; } /** * Address styling not present in Safari 5 and Chrome. */ dfn { font-style: italic; } /** * Address variable `h1` font-size and margin within `section` and `article` * contexts in Firefox 4+, Safari 5, and Chrome. */ h1 { font-size: 2em; margin: 0.67em 0; } /** * Address styling not present in IE 8/9. */ mark { background: #ff0; color: #000; } /** * Address inconsistent and variable font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` affecting `line-height` in all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } /* Embedded content ========================================================================== */ /** * Remove border when inside `a` element in IE 8/9. */ img { border: 0; max-width:100%; } /** * Correct overflow displayed oddly in IE 9. */ svg:not(:root) { overflow: hidden; } /* Grouping content ========================================================================== */ /** * Address margin not present in IE 8/9 and Safari 5. */ figure { margin: 1em 40px; } /** * Address differences between Firefox and other browsers. */ hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } /** * Contain overflow in all browsers. */ pre { overflow: auto; } /** * Address odd `em`-unit font size rendering in all browsers. */ code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } /* Forms ========================================================================== */ /** * Known limitation: by default, Chrome and Safari on OS X allow very limited * styling of `select`, unless a `border` property is set. */ /** * 1. Correct color not being inherited. * Known issue: affects color of disabled elements. * 2. Correct font properties not being inherited. * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. */ button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } /** * Address `overflow` set to `hidden` in IE 8/9/10. */ button { overflow: visible; } /** * Address inconsistent `text-transform` inheritance for `button` and `select`. * All other form control elements do not inherit `text-transform` values. * Correct `button` style inheritance in Firefox, IE 8+, and Opera * Correct `select` style inheritance in Firefox. */ button, select { text-transform: none; } /** * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` * and `video` controls. * 2. Correct inability to style clickable `input` types in iOS. * 3. Improve usability and consistency of cursor style between image-type * `input` and others. */ button, html input[type="button"], /* 1 */ input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } /** * Re-set default cursor for disabled elements. */ button[disabled], html input[disabled] { cursor: default; } /** * Remove inner padding and border in Firefox 4+. */ button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } /** * Address Firefox 4+ setting `line-height` on `input` using `!important` in * the UA stylesheet. */ input { line-height: normal; } /** * It's recommended that you don't attempt to style these elements. * Firefox's implementation doesn't respect box-sizing, padding, or width. * * 1. Address box sizing set to `content-box` in IE 8/9/10. * 2. Remove excess padding in IE 8/9/10. */ input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Fix the cursor style for Chrome's increment/decrement buttons. For certain * `font-size` values of the `input`, it causes the cursor style of the * decrement button to change from `default` to `text`. */ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome * (include `-moz` to future-proof). */ input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box; } /** * Remove inner padding and search cancel button in Safari and Chrome on OS X. * Safari (but not Chrome) clips the cancel button when the search input has * padding (and `textfield` appearance). */ input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * Define consistent border, margin, and padding. */ fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } /** * 1. Correct `color` not being inherited in IE 8/9. * 2. Remove padding so people aren't caught out if they zero out fieldsets. */ legend { border: 0; /* 1 */ padding: 0; /* 2 */ } /** * Remove default vertical scrollbar in IE 8/9. */ textarea { overflow: auto; } /** * Don't inherit the `font-weight` (applied by a rule above). * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */ optgroup { font-weight: bold; } /* Tables ========================================================================== */ /** * Remove most spacing between table cells. */ table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } @import url("http://fonts.googleapis.com/css?family=Open+Sans|Varela+Round|Chivo|Raleway|Playfair+Display+SC|Archivo+Black&subset=latin,latin-ext"); body { background: url(/assets/bg.jpg) repeat scroll 0 0 #ffffff; color: #333333; font: 100%/100% 'open sans',sans-serif; margin: 0; padding-top: 40px; } h1, h2, h3, h4, h5, h6, label, legend { font-family: 'open sans',sans-serif; } .body{ } a { text-decoration: none; } a:link { text-decoration: none; color: #333333; } a:visited { color: #333333; } a:hover { color: #271569; } a:active { color: #000; text-decoration: underline; } .invisible_title { display: none; } .layout-page{ margin: 0 auto; position: relative; width: 100%; } .dymanic_load { position: relative; } .orbit-cycle-slideshow { width: 100%; } .orbit-cycle-slideshow img { height: auto; width: 100%; } .more { display: block; text-align: right; padding: 1em 0; } .more a { } .more a:hover { } .more a:active { } .wrapper { } .header { background: none repeat scroll 0 0 #fff; position: relative; } .header2 { z-index: 20; } .site-logo { width: 40px; } .menu_toggle { background: url("images/toggle-menu.png") no-repeat scroll 0 0; cursor: pointer; display: none; height: 41px; position: absolute; right: 20px; top: 12px; width: 41px; z-index: 300; } .header .header_title { padding: 20px; font-family: 微軟正黑體; font-size: 25px; @media (max-width: 767px){ padding-right: 60px; } } .header .header_title a { text-decoration: none; display: block; height: 100%; width: 100%; @media (max-width: 767px){ font-size: 18px; } } .header .web_nav { position: absolute; right: 20px; top: 20px; } .header .web_nav p { color: #333; } .header .web_nav a { color: #333; display: inline; font: 12px/100% 'open sans',sans-serif; letter-spacing: 0.05em; } .header .web_nav a:hover { color: red; } .header .web_nav a:last-child { margin: 0; } .inteval{ color: #666; padding: 0 5px; } .menu { background: none repeat scroll 0 0 #5b482f; left: 0; height: 40px; position: absolute; bottom: -40px; width: 100%; z-index: 30; } .menu ul { margin: 0; padding: 0; } .level_1 { margin: -6px 0 0 !important; padding: 0 0 0 30px !important; } .level_1 li { float: left; list-style: none; position: relative; } .level_1 li > a { color: #fff; font: 15px/49px "微軟正黑體", sans-serif; padding: 0 16px 0 10px; display: inline-block; } .level_1 > li:hover > a{ background: url(/assets/hover-menu.png) no-repeat scroll 100% 0; } .level_1 > li:hover > a{ color: #5b482f; } .level_2 { background: none repeat scroll 0 0 #856c4b; box-shadow: 5px 5px 0 rgba(0,0,0,0.2); display: none; left: 0; min-width: 120px; padding: 10px 0 !important; position: absolute; top: 46px; width: 100% } .level_2 li { float: none } .level_2 a { display: block; float: none; font: 13px/1.2 '微軟正黑體',sans-serif !important; padding: 5px 10px !important } .level_2 a:hover { background: #af8e63 } .level_1 li:hover .level_2 { display: block } .menu .level_2 li:hover .level_3 { display: block } .level_3 { background: none repeat scroll 0 0 #856c4b; box-shadow: 5px 5px 0 rgba(0,0,0,0.2); display: none; left: 0; min-width: 120px; padding: 10px 0 !important; display: none; position: absolute; left: 100%; top: 0 } /* banner */ .layout-banner { z-index: 10; } .banner-site { height: auto; overflow: hidden; width: 100%; text-align: center; } .banner-mask{ background: url(images/mask-banner.png) repeat-x scroll 0 0; height: 370px; left: 0; position: absolute; top: 40px; width: 100%; z-index: 20; } /* main */ .main { margin-top: 40px; } .main2 { background: none repeat scroll 0 0 #fff; min-height: 500px; padding: 30px 0; @media (min-width: 1440px){ padding: 30px 25px; } } /* footer */ .footer { background: none repeat scroll 0 0 #8b8b8b; clear: both; min-height: 130px; padding: 20px 0; text-align: center; } .footer2 { } .ruling-logo { display: none; } .counter { color: #fff; font: 13px/2 'open sans',sans-serif; letter-spacing: 0.05em; position: absolute; right: 0; top: 0; } .page_counter { display: inline; } .footer2 .tw, .footer2 .en{ display: none; } .info_footer{ color: #fff; font: 13px/2 'open sans',sans-serif; letter-spacing: 0.05em; } .info_footer p { color: #FFFFFF !important; font: 13px/2 'open sans',sans-serif !important; letter-spacing: 0.05em !important; margin: 0 !important; } /* index */ .menu-side { display: inline-block; margin: 0 20px; vertical-align: top; width: 197px; @media (min-width: 1440px){ width: 20%; } } .index_page{ display: inline-block; vertical-align: top; width: 760px; @media (min-width: 1440px){ width: 75%; } } .block_left{ display: inline-block; margin: 0 19px 0 0; vertical-align: top; width: 539px; @media (min-width: 1440px){ width: 73%; } } .news-1 { background: none repeat scroll 0 0 #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); margin: 0 0 30px; padding: 15px; width: 539px; @media (min-width: 1440px){ width: 100%; } } .news-1 h2 { background: url("/assets/bg-title1.png") repeat-x scroll 0 0; border: 0 solid #fff; color: #fff; font: 20px/40px 'open sans','微軟正黑體',sans-serif; height: 41px; margin: -17px -12px 10px; padding: 0 0 0 50px; position: relative; } .news-1 h2:before { background: url("/assets/icon-title.png") no-repeat scroll 0 0; content: ""; height: 18px; left: 15px; position: absolute; top: 10px; width: 22px; } .news-1 .more { border: 0 solid #ddd; position: absolute; right: 0; top: 2px; } .news-1 .more a{ color: #fff; } .news-2 { background: none repeat scroll 0 0 #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); padding: 15px; width: 539px; @media (min-width: 1440px){ width: 100%; } } .news-2 h2 { background: url("/assets/bg-title2.png") repeat-x scroll 0 0; border: 0 solid #fff; color: #fff; font: 20px/40px 'open sans','微軟正黑體',sans-serif; height: 41px; margin: -17px -12px 10px; padding: 0 0 0 50px; position: relative; } .news-2 h2:before { background: url("/assets/icon-title.png") no-repeat scroll 0 0; content: ""; height: 18px; left: 15px; position: absolute; top: 10px; width: 22px; } .news-2 .date { background: url("/assets/icon-list-2.png") no-repeat scroll 0 6px !important; } .news-2 .more { border: 0 solid #ddd; position: absolute; right: 0; top: 2px; } .news-2 .more a{ color: #fff; } .block_right{ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); display: inline-block; vertical-align: top; width: 197px; padding: 15px; @media (min-width: 1440px){ width: 23%; } } .block_right .widget-adBanner-overlay { display: none !important; } .block_right h2{ background: url("/assets/bg-title-side.png") repeat-x scroll 0 0 !important; border-bottom: 2px solid #fff; color: #fff !important; font: 20px/39px 'open sans','微軟正黑體',sans-serif !important; margin: -15px -15px 20px !important; padding: 0 0 0 50px !important; position: relative; } .block_right h2:before{ background: url("/assets/icon-title-side.png") no-repeat scroll 0 0; content: ""; display: block; height: 3px; left: 30px; position: absolute; top: 20px; width: 8px; } .block_right .dymanic_load{ margin: 0 0 20px; } .block_right .banner_nav{ display: none; } /* inside page */ .inside_page { display: inline-block; vertical-align: top; width: 760px; } .block_primary{ display: inline-block; margin: 0 20px 0 0; vertical-align: top; width: 539px; line-height:normal; } .internal-page .block_primary { width: 73%; } .block_secondary{ display: inline-block; vertical-align: top; width: 197px; } /* switch */ .inside_page{ display: none; } /* for modules */ /* announcement type C*/ .default_widget_typeC .app-pic{ display: none; } .default_widget_typeC ul{ margin: 0; padding: 0; } .default_widget_typeC li{ margin: 0 0 15px; overflow: hidden; } .default_widget_typeC .date { background: url("/assets/icon-list-1.png") no-repeat scroll 0 6px; color: #808080; float: left; font: 12px/20px 'open sans',sans-serif; padding: 0 0 0 20px; } .default_widget_typeC .title{ float: right; font: 13px/20px 'open sans',sans-serif; letter-spacing: 0.02em; width: 410px; } /* links */ .o-links { } .o-links ul { margin: 0; padding: 0; } .o-links li { } #web_link_widget h2{ background: url("/assets/bg-title-side.png") repeat-x scroll 0 0; border-bottom: 2px solid #fff; color: #fff; font: 20px/39px 'open sans','微軟正黑體',sans-serif; margin: 0; padding: 0 0 0 50px; } #web_link_widget h2:before{ background: url("/assets/icon-title-side.png") no-repeat scroll 0 0; content: ""; display: block; height: 3px; left: 30px; position: absolute; top: 20px; width: 8px; } .o-links h3 { display: none; } .o-links-list li { list-style: none; } .o-links-list a:before { content: "●"; font-family: '微軟正黑體',san-serif; font-size: 13px; margin: 0 7px 0 30px; } .o-links-list a { background: none repeat scroll 0 0 #e9eef1; border-bottom: 2px solid #fff; color: #3f3f3f; display: block; font: 15px/1.2 'open sans','微軟正黑體',sans-serif; padding: 12px 0; } .o-links-list a:hover { background: #288cd3; color: #fff; } .o-links-list .o-links-description { display: none; } #web_link_widget .pull_right{ display: none; } /* banner */ .orbit_ad { } .orbit_ad .orbit_ad_content { } .orbit_ad .orbit_ad_last { margin: 0; } .banner_nav{ bottom: 0; height: 30px; left: 0; padding: 0; position: absolute; text-align: center; width: 100%; z-index: 100; } .banner_nav li{ background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2); border-radius: 50%; behavior: url("/assets/ie_support/PIE2/PIE.htc"); display: inline-block; height: 15px; margin: 0 5px; width: 15px; } .banner_nav li a{ cursor: pointer; display: block; height: 100%; width: 100%; } .banner_nav .activeSlide{ background: #fff; } .content { background-color: #FFF; padding: 3em; } /* bread */ .breadcrumb { color: #333; line-height: 24px; margin: 0 0 20px; overflow: hidden; padding: 0; width: 100%; } .breadcrumb li { float: left; font: 14px/24px 'open sans','微軟正黑體',sans-serif; height: 24px; list-style: none outside none; padding: 0 0 0 3px; position: relative; } .breadcrumb li a { } .breadcrumb li:first-child a { padding: 0 0 0 18px; } .breadcrumb li:first-child a:before { font-family: 'entypo'; content: "\e022"; left: 0; position: absolute; } .breadcrumb li.active { } .breadcrumb .divider { } /* submenu */ .category_list { } .category_list .list { margin: 0; padding: 0 ; } .category_list .list li { float: left; list-style: none outside none; } .category_list .list li a { display: block; float: left; font: 13px/100% 'open sans',sans-serif; padding: 5px 10px; } .category_list .list li a:hover { background: #e68f1e; color: #fff; } /* tag cloud */ .tag_cloud .hot0 { font-size: 1em; } .tag_cloud .hot1 { font-size: 1.5em; } .tag_cloud .hot2 { font-size: 2em; } .tag_cloud .hot3 { font-size: 2.5em; } .tag_cloud .hot4 { font-size: 3em; } /* announcement type A */ .default_widget_typeA{ width: 100%; } .default_widget_typeA table{ width: 100%; } .default_widget_typeA th{ border-bottom: 2px solid #9C2C0A; font:bold 15px/20px 'open sans','微軟正黑體',sans-serif; padding: 5px 10px; text-align: left; white-space: nowrap; } .default_widget_typeA td{ border-bottom: 1px solid #888; font: 13px/20px 'open sans',sans-serif; padding: 10px; text-align: left; vertical-align: top; white-space: nowrap; } .default_widget_typeA td a{ } .default_widget_typeA td .date:before { content: ""; float: left; font-family: "entypo"; width: 1.3em; } .default_widget_typeA td .title { white-space: normal; } .default_widget_typeA td .date { white-space: nowrap; } /* pager */ .pagination { margin: 0; padding: 0; } .pagination li:first-child { border-radius: 5px 0 0 5px; behavior: url("/assets/ie_support/PIE2/PIE.htc"); } .pagination li { background: none repeat scroll 0 0 #FFFFFF !important; border: 1px solid #ccc; border-right: 0px solid #ccc; display: block; float: left; font: 13px/30px 'open sans',sans-serif !important; padding: 0 10px !important; } .pagination li:last-child { border-radius: 0 5px 5px 0; border-right: 1px solid #ccc; } /* members */ .o-members{ width: 100%; } .o-members table{ border-collapse: collapse; width: 100%; } .o-members thead td{ border-bottom: 2px solid #9C2C0A; font:bold 15px/20px 'open sans','微軟正黑體',sans-serif; padding: 5px 10px; text-align: left; white-space: nowrap; } .o-members td{ border-bottom: 1px solid #ddd; font: 13px/20px 'open sans',sans-serif; padding: 10px; text-align: left; vertical-align: top; } .o-members td a{ } .o-members td .date:before { content: ""; float: left; font-family: "entypo"; width: 1.3em; } ol li,ul li{ list-style:unset; } //RWD .layout-page,.news-1,.news-2{ @media (max-width: 1023px){ width: 100%; } } .menu-side{ @media (max-width: 1023px){ width: 25%; margin: 0; } @media (max-width: 767px){ width: 100%; } } .index_page{ @media (max-width: 1023px){ width: 74%; margin: 0; } @media (max-width: 767px){ width: 100%; margin: 0; padding: 0; } } .block_left{ @media (max-width: 1023px){ width: 66%; margin: 0; } @media (max-width: 767px){ width: 100%; margin: 0; padding: 0; } } .block_right{ @media (max-width: 1023px){ width: 33%; margin: 0; } @media (max-width: 767px){ width: 100%; margin: 0; padding: 0; } } .menu{ @media (max-width: 767px){ position: unset; height: unset; display: table-cell; } } .block_primary{ @media (max-width: 1023px){ margin: 0; } } .internal-page .block_primary { @media (max-width: 767px){ width: 100%; } } .header { @media (max-width: 767px){ height: unset; } .web_nav{ @media (max-width: 767px){ position: unset; float: right; } } } .layout-banner{ @media (max-width: 767px){ position: unset; top: 0; } } .banner-site{ @media (max-width: 767px){ height: unset; } } .menu .page_menu.level_2{ z-index: 1; } .page_menu.level_1{ display: flex; flex-wrap: wrap; justify-content: space-around; @media (max-width: 767px){ text-align: center; padding: 0 !important; justify-content: unset; & > li { width: 50%; } } } .level-1{ @media (max-width: 767px){ display: flex; flex-wrap: wrap; text-align: left; background: #e9eef1; & > li { width: 50%; .sitemenu-link.level-1,.submenu__link.level-1 { &:before{ margin-left: 5px; } } } } } .widget-link.widget1 .list-unstyled{ @media (max-width: 767px){ display: flex; flex-wrap: wrap; text-align: left; background: #e9eef1; & > .widget-content { width: 50%; & > .widget-content-title{ border-bottom:none; &:before{ margin-left: 5px; } } } } } .main{ @media (max-width: 767px){ padding: 0 10px; background: #fff; margin: 0; } } .navbar-toggle { position: absolute; right: 0; padding: 14px 10px; border-radius: 2px; behavior: url("/assets/ie_support/PIE2/PIE.htc"); border-width: 2px; border-color: lighten($theme-gray, 30%); .icon-bar { background-color: lighten($theme-gray, 30%); } &.collapsed { .icon-bar-top { top: 0; transform: rotate(0); } .icon-bar-middle { opacity: 1; } .icon-bar-bottom { top: 0; transform: rotate(0); } } // icon bar animation .icon-bar { transition: .2s all; position: relative; } .icon-bar-top { top: 6px; transform: rotate(45deg); } .icon-bar-middle { opacity: 0; } .icon-bar-bottom { top: -6px; transform: rotate(-45deg); } } #accesskey_sitemenu{ display: none; } #orbit-bar .orbit-bar-title{ @media (max-width: 767px){ text-align: left!important; } }