サイトのテーマ
is is the custom theme file for the SCP Wiki.
Instructions for SCP Translation Sites
To use this theme for your Wikidot site, please follow these instructions:
- Copy all files attached to this page.
- Create a page named "component:theme" on your site. You may wish to lock this page.
- Upload all attached files to that page.
- In the Site Manager for your site, go to Appearances & Behavior, Themes, then select the External tab, and enter "http://your-site-name.wikidot.com/component:theme/code/1".
- Copy the Side Bar and/or Top Bar if you wish to use the new format for those. Note that the bullet icons are attached to the side bar page as well.
- Copy the Front Page template, including attached files.
- Profit!
@import url(/local--files/component:theme/font-bauhaus.css); /* SCP Sigma 9 [2014 Wikidot Theme] Created for the SCP Foundation by Aelanna */ /* COMMON */ #content-wrap { position: relative; margin: 2em auto 0; width: 920px; } h1, #page-title { color: #901; padding: 0 0 0.25em; margin: 0 0 0.6em; font-weight: normal; } h1 { margin-top: 0.7em; padding: 0; font-weight: bold; } h2, h3, h4, h5, h6, h7 { margin: 0.5em 0 0.4em; padding: 0; letter-spacing: 1px; } #page-title { border-color: #bbb; } ul { /*list-style-image: url(../images/bullet.gif);*/ list-style: square; } #top-bar ul { /* list-style-image: none; /* IE ONLY! IF list-style-image IS SET */ } li, p { line-height: 141%; } a { color: #b01; text-decoration: none; background: transparent; } a.newpage { color: #d61; text-decoration: none; background: transparent; } a:hover { text-decoration: underline; background: transparent; } /* GLOBAL WIDTH */ #header, #top-bar { width: 920px; margin: 0 auto; } body { background-color: #fff; font-size: 0.80em; color: #333; } div#container-wrap { background: url(/local--files/component:theme/body_bg.png) top left repeat-x; } /* HEADER */ #header { height: 140px; position: relative; z-index: 10; padding-bottom: 22px; /* FOR MENU */ background: url(/local--files/component:theme/logo.png) 10px 40px no-repeat; } #search-top-box { position: absolute; top: 79px; right: 9px; width: 250px; text-align: right; } #search-top-box-input { border: solid 1px #999; border-radius: 5px; color: #ccc; background-color: #300; box-shadow: inset 1px 1px 3px rgba(0,0,0,.5); } #search-top-box-input:hover, #search-top-box-input:focus { border: solid 1px #fff; color: #fff; background-color: #633; box-shadow: inset 1px 1px 3px rgba(0,0,0,.8); } #search-top-box-form input[type=submit] { border: solid 1px #999; border-radius: 5px; padding: 2px 5px; font-size: 90%; font-weight: bold; color: #ccc; background-color: #633; background: linear-gradient(to bottom, #966,#633,#300); box-shadow: 0 1px 3px rgba(0,0,0,.5); cursor: pointer; } #search-top-box-form input[type=submit]:hover, #search-top-box-form input[type=submit]:focus { border: solid 1px #fff; color: #fff; text-shadow: 0 0 1px rgba(255,255,255,.25) background-color: #966; background: linear-gradient(to bottom, #c99,#966,#633); box-shadow: 0 1px 3px rgba(0,0,0,.8); } #login-status { color: #aaa; font-size: 90%; z-index: 30; } #login-status a { background: transparent; color: #ddd; } #login-status ul a { color: #700; background: transparent; } #account-topbutton { background: #ccc; color: #700; } .printuser img.small { margin-right: 1px; } #header h1 { margin-left: 120px; padding: 0; float: left; max-height: 95px; } #header h2 { margin-left: 120px; padding: 0; clear: left; float: left; font-size: 105%; max-height: 38px; } #header h1 a { display: block; margin: 0; padding: 80px 0 25px; line-height: 0px; max-height: 0px; color: #eee; background: transparent; font-family: BauhausLTDemi, Arial, sans-serif; font-size: 180%; text-decoration: none; text-shadow: 3px 3px 5px #000; letter-spacing: 0.9px; } #header h2 span { display: block; margin: 0; padding: 19px 0; line-height: 0px; max-height: 0px; font-weight: bold; color: #f0f0c0; text-shadow: 1px 1px 1px #000; text-shadow: 1px 1px 1px rgba(0,0,0,.8); } /* TOP MENU */ #top-bar { position: absolute; z-index: 50; top: 140px; right: 0; height: 21px; line-height: 18px; padding: 0; z-index: 20; font-size: 90%; } #top-bar ul { float: right; } #top-bar a { color: #fff; background: transparent; } #top-bar ul li { border: 0; position: relative; } #top-bar ul li ul { border: solid 1px #666; box-shadow: 0 2px 6px rgba(0,0,0,.5); border-top: 0; } #top-bar ul li:last-of-type ul { right: 0; } #top-bar ul li a { border-left: solid 1px rgba(64,64,64,.1); border-right: solid 1px rgba(64,64,64,.1); text-decoration: none; padding-top: 10px; padding-bottom: 10px; line-height: 1px; max-height: 1px; overflow: hidden; } #top-bar ul li.sfhover a, #top-bar ul li:hover a { background: #eee; color: #a01; border-left: solid 1px rgba(64,64,64,1); border-right: solid 1px rgba(64,64,64,1); } #top-bar ul li.sfhover ul li a, #top-bar ul li:hover ul li a { border-width: 0; width: 150px; border-top: 1px solid #ddd; line-height: 160%; height: auto; max-height: none; padding-top: 0; padding-bottom: 0; } #top-bar ul li.sfhover a:hover, #top-bar ul li:hover a:hover { background: #fff; text-decoration: none; } #top-bar ul li ul { border-width: 0 1px 1px 1px; width: auto; } #top-bar ul li ul li, #top-bar ul li ul li.sfhover, #top-bar ul li ul li, #top-bar ul li ul li:hover { border-width: 0; } #top-bar ul li ul li a { border-width: 0; } #top-bar ul li ul a, #top-bar a:hover { color: #a01; } /* IE7 HACK */ #top-bar ul > li > ul { *margin-top: -4px; } /* SIDE MENU */ #side-bar { clear: none; float: none; position: absolute; top: 0.5em; left: 0; width: 17em; padding: 0; } #side-bar .side-block { padding: 10px; border: 1px solid #660000; border-radius: 10px; box-shadow: 0 2px 6px rgba(102,0,0,.5); background: #fff; margin-bottom: 15px; } #side-bar .side-area { padding: 10px; } #side-bar .heading { color: #600; border-bottom: solid 1px #600; padding-left: 15px; margin-top: 10px; margin-bottom: 5px; font-size: 8pt; font-weight: bold; } #side-bar p { margin: 0; } #side-bar div.menu-item { margin: 2px 0; } #side-bar div.menu-item img { width: 13px; height: 13px; border: 0; margin-right: 2px; position: relative; bottom: -2px; } #side-bar div.menu-item a { font-weight: bold; } #side-bar div.menu-item.inactive img { opacity: 0.25; } #side-bar div.menu-item.inactive a { color: #999; } #side-bar div.menu-item .sub-text { font-size: 80%; color: #666; } #side-bar div.menu-item.sub-item { } #side-bar .collapsible-block-folded { background: url(/local--files/nav:side/expand.png) 0 2px no-repeat; } #side-bar .collapsible-block-link { margin-left: 15px; font-weight: bold; } #side-bar .collapsible-block-unfolded-link { border-bottom: solid 1px #600; } #side-bar .collapsible-block-unfolded-link .collapsible-block-link { margin-top: 10px; margin-bottom: 5px; font-size: 8pt; color: #600; } #side-bar .collapsible-block-unfolded-link .collapsible-block-link:hover { color: #b01; text-decoration: none; } /* CONTENT */ #main-content { margin: 0 0 0 19em; padding: 0; position: relative; } #breadcrumbs { margin: -1em 0 1em; font-weight: 85%; } /* YUI-TABS */ .yui-navset .yui-content{ background-color: #f5f5f5; } .yui-navset .yui-nav a, .yui-navset .yui-navset-top .yui-nav a { background-color:#d8d8d8; background-image: url(../images/yuitabs.png); } .yui-navset .yui-nav .selected a, .yui-navset .yui-nav .selected a:focus, /* no focus effect for selected */ .yui-navset .yui-nav .selected a:hover { /* no hover effect for selected */ background:#700 url(../images/yuitabs.png) repeat-x left -1400px; /* selected tab background */ color:#fff; } .yui-navset .yui-nav a:hover, .yui-navset .yui-nav a:focus { background:#d88 url(../images/yuitabs.png) repeat-x left -1300px; text-decoration: none; } .yui-navset .yui-nav, .yui-navset .yui-navset-top .yui-nav { border-color: #444; } .yui-navset .yui-nav, .yui-navset .yui-navset-top .yui-nav { border-color: #444; } .yui-navset li { line-height: normal; } /* FOOTER */ #footer { clear: both; font-size: 77%; background: #444; color: #bbb; margin-top: 15px; padding: 3px 10px; } #footer .options { visibility: visible; display: block; float: right; width: 50%; font-size: 100%; text-align: right; } #footer a { color: #fff; background: transparent; } /* SOME NICE BOXES */ div.sexy-box { background: #eee; border: 1px solid #ccc; padding: 0 10px 12px; margin: 7px 4px 12px; overflow: hidden; } div.sexy-box div.image-container img { margin: 5px; padding: 2px; border: 1px solid #999; } /* Custom page content classes */ #page-content { min-height: 720px; } .unmargined > p { margin: 0; line-height: 100%; } .content-panel { border: solid 1px #888880; border-radius: 10px; background-color: #999990; margin: 10px 0 15px; box-shadow: 3px 3px 6px #bbb; box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.3), inset 0 10px rgba(255,255,255,0.2), inset 0 10px 20px rgba(255,255,255,0.25), inset 0 -15px 30px rgba(0,0,0,0.1); } .content-panel.standalone { background: #fcfdfb; } .content-panel.series { padding: 0 20px; margin-bottom: 20px; } .content-panel.centered { text-align: center; } .content-panel.left-column { float: left; width: 48%; } .content-panel.right-column { float: right; width: 48%; } .content-panel .panel-heading { padding: 2px 10px; color: #ffffff; font-size: 90%; font-weight: bold; text-shadow: 1px 1px 2px rgba(0,0,0,.35); } .content-panel .panel-heading > p, .content-panel .panel-footer > p { margin: 0; } .content-panel .panel-body { padding: 5px 10px; background: #fff9f0 url(/local--files/component:theme/panel-bg-gradient-reverse.png) bottom repeat-x; /* box-shadow: 1px 2px 3px rgba(0,0,0,.2) inset */ } .content-panel .panel-footer { padding: 1px 10px; color: #fffff0; font-size: 80%; font-weight: bold; text-align: right; text-shadow: 1px 1px 2px rgba(0,0,0,.5); } .content-panel .panel-footer a { color: #ffffff; } .content-panel .content-toc { float: right; padding: 0 20px; background-color: #fff; border: solid 1px #ccc; border-radius: 10px; margin: 20px 0 5px 5px; white-space: nowrap; box-shadow: inset 1px 2px 6px rgba(0,0,0,.15) } .alternate:nth-child(even) { background-color: rgba(255,255,255,.9); } /* Page Rating Module Customizations */ .page-rate-widget-box { display: inline-block; border-radius: 5px; box-shadow: 1px 1px 3px rgba(0,0,0,.5); margin-bottom: 10px; margin-right: 2em; } .page-rate-widget-box .rate-points { background-color: #633 !important; border: solid 1px #633; border-right: 0; border-radius: 5px 0 0 5px; } .page-rate-widget-box .rateup, .page-rate-widget-box .ratedown { background-color: #fff6f0; border-top: solid 1px #633; border-bottom: solid 1px #633; font-weight: bold; } .page-rate-widget-box .rateup a, .page-rate-widget-box .ratedown a { background: transparent; color: #633; padding: 0 4px; margin: 0 1px; } .page-rate-widget-box .rateup a:hover, .page-rate-widget-box .ratedown a:hover { background: #633; color: #fffff0; text-decoration: none; } .page-rate-widget-box .cancel { background-color: #633; border: solid 1px #633; border-left: 0; border-radius: 0 5px 5px 0; } .page-rate-widget-box .cancel a { background: transparent; text-transform: uppercase; color: #966; } .page-rate-widget-box .cancel a:hover { border-radius: 0 3px 3px 0; background: #633; color: #fffff0; text-decoration: none; } /* Heritage Collection Rating Module */ .heritage-rating-module { float: right; background-color: #633; padding: 2px 8px 2px 5px; margin-bottom: 10px; margin-right: 2em; border: solid 1px #ccc066; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.25); } .heritage-rating-module .page-rate-widget-box { float: right; box-shadow: none; margin-bottom: 0; margin-right: 0; } .heritage-rating-module .heritage-emblem { float: right; position: relative; top: -2px; left: 2px; height: 16px; width: 16px; overflow: visible; margin-right: 2px; } .heritage-rating-module .heritage-emblem img { width: 20px; height: 20px; border: 0; } /* Fixes for Multi-Line Page Tags */ #main-content .page-tags { margin: 1em 0 0; padding: 0; } #main-content .page-tags span { display: inline-block; padding: 0; max-width: 60%; } #main-content .page-tags a { display: inline-block; white-space: nowrap; } /* Standard Image Block */ .scp-image-block { float: right; clear: right; margin: 0 2em 1em 2em; border: solid 1px #666; box-shadow: 0 1px 6px rgba(0,0,0,.25); width: 300px; } .scp-image-block.block-left { float: left; clear: left; margin: 0 2em 1em 0; } .scp-image-block img { border: 0; width: 300px; } .scp-image-block .scp-image-caption { background-color: #eee; border-top: solid 1px #666; padding: 2px 0; font-size: 80%; font-weight: bold; text-align: center; width: 300px; } .scp-image-block > p { margin: 0; } .scp-image-block .scp-image-caption > p { margin: 0; padding: 0 10px; } /* Forum Customizations */ .forum-thread-box .description-block { padding: .5em 1em; border-radius: 10px; box-shadow: 0 1px 5px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.8), inset 0 10px 5px rgba(255,255,255,.25), inset 0 -15px 30px rgba(0,0,0,.1) } .thread-container .post .head { padding: 0.5em 1em; background-color: #eee; background: linear-gradient(to right, #eee, #eeecec); box-shadow: inset 2px 3px 6px rgba(0,0,0,.15); border-radius: 5px 5px 0 0; } /* Hide Forum Signatures */ .signature { display:none !important; }
page revision: 8, last edited: 18 Dec 2014 07:15