Sraosha's CSS
@charset "utf-8"; @import url('http://www.scp-wiki.net/local--files/component:theme/font-bauhaus.css'); @import url('http://fonts.googleapis.com/earlyaccess/nanumgothic.css'); @import url('http://fonts.googleapis.com/earlyaccess/nanumgothiccoding.css'); @import url('http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css'); @import url(http://scpnet.org/interwiki.css); /* The clouds slept under the water [2018 Wikidot Theme] Edited by Sraosha 3.0(CC-BY-SA) */ /* COMMON */ #content-wrap { position: relative; margin: 2em auto 0; max-width: 1040px; min-height:1300px; height: auto !important; height: 1500px; } h1, #page-title { color: #61892F; /* 总文本标题颜色 */ 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: #6B6E70 ;/* 总文本标题下横线 */ } ul { /*list-style-image: url(http://d3g0gp89917ko0.cloudfront.net/v--3b8418686296/common--theme/shiny/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: #61892F ;/* 边栏“主页”等链接名 */ text-decoration: none; background: transparent; } a.newpage { color: #86C232;/* 底栏“编辑”等链接名 */ text-decoration: none; background: transparent; } a:hover { text-decoration: underline; background: transparent; } a:visited { color: #61892F; } /* ACTUALLY HIDE HIDDEN TAGS */ #main-content .page-tags a[href^="/system:page-tags/tag/_"] { display: none; } /* GLOBAL WIDTH */ #header, #top-bar { width: 90%; max-width: 980px; margin: 0 auto; } #top-bar { width: 100%; margin: 0 auto; } body { background-color:#222629 ;* 全图背景颜色*/ font-size: 0.80em; color: #b0b2b4 ;/* 基本字体显示颜色*/ } div#container-wrap { background: url(http://scp-sandbox-3.wikidot.com/local--files/sraosha-s-css/1.jpg) top left repeat-x;/* 版头图 */ } /* HEADER */ #header { height: 140px; position: relative; z-index: 10; padding-bottom: 22px; /* FOR MENU */ background: url(http://scp-sandbox-3.wikidot.com/local--files/sraosha-s-css/3.png) 10px 35px no-repeat;/* 就是logo */ } #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: #61892F ; background-color: #474B4F ; 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: #474B4F ; 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: #474B4F ; background-color: #474B4F ; background: linear-gradient(to bottom, #222629 ,#222629 ,#222629);/* 不放置其上时按钮颜色 */ 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 #222629 ; color: #474B4F ; text-shadow: 0 0 1px rgba(255,255,255,.25) background-color: #222629 ; background: linear-gradient(to bottom, #61892F ,#61892F ,#61892F );/* 放置其上时按钮颜色 */ box-shadow: 0 1px 3px rgba(0,0,0,.8); }/* 搜索框 */ #login-status { color: #61892F ;/* 中间的或字 */ font-size: 90%; z-index: 30; } #login-status a { background: transparent; color: #61892F ; } #login-status ul a { color: #61892F ; background: transparent; }/* 用户登陆状态 */ #account-topbutton { background: #61892F ; color: #86C232 ; } .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: #E3E4E0 ; 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: #E3E4E0 ; 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 li { margin: 0; } #top-bar a { color: #474B4F; background: transparent; } #top-bar ul li { border: 0; } #top-bar ul li ul { border: solid 1px #474B4F; box-shadow: 0 2px 6px rgba(0,0,0,.5); border-top: 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: #6B6E70; color: #474B4F ; 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: 175px; border-top: 1px solid #474B4F; 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: #6B6E70; 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 .side-block { border: 1px solid #b0b2b4; } #side-bar .heading { color: #b0b2b4; border-bottom: solid 1px #b0b2b4; } #side-bar div.menu-item .sub-text { font-size: 80%; color: #61892F; } #side-bar .side-block { padding: 10px; border: 1px solid #6B6E70; border-radius: 10px; box-shadow: 0 2px 6px rgba(102,0,0,.5); background: #474B4F !important; margin-bottom: 15px; color: #b0b2b4; } #side-bar img { filter: hue-rotate(80deg); -webkit-filter: hue-rotate(80deg) brightness(300%); } #side-bar div.side-block:nth-child(7) > div:nth-child(1) > div:nth-child(1) img { filter: none; -webkit-filter: none; } #side-bar div.menu-item a { color: #61892F; } /* CONTENT */ #main-content { margin: 0 4em 0 23em; padding: 1em; position: relative; } /* YUI-TABS */ .yui-navset .yui-content{ background-color: #61892F; padding-left: 2em; padding-right: 2em; } .yui-navset .yui-nav a, .yui-navset .yui-navset-top .yui-nav a { background-color: #61892F; } .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: #61892F; /* selected tab background */ color: #61892F; } .yui-navset .yui-nav a:hover, .yui-navset .yui-nav a:focus { background: #474B4F; text-decoration: none; } .yui-navset .yui-nav, .yui-navset .yui-navset-top .yui-nav { border-color: #474B4F; } .yui-navset li { line-height: normal; } /* FOOTER */ #footer { clear: both; font-size: 77%; background: #61892F; color: #61892F; 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: #relative; background: transparent; } /* SOME NICE BOXES */ div.sexy-box { background: #61892F; border: 1px solid #relative; padding: 0 10px 12px; margin: 7px 4px 12px; overflow: hidden; } div.sexy-box div.image-container img { margin: 5px; padding: 2px; border: 1px solid #61892F; } /* Custom page content classes */ #page-content { min-height: 720px; } .unmargined > p { margin: 0; line-height: 100%; } .content-panel { border: solid 1px #61892F; border-radius: 10px; background-color: #61892F; margin: 10px 0 15px; box-shadow: 3px 3px 6px #61892F; 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: #61892F; } .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: #61892F; 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: #61892F url(http://www.scp-wiki.net/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: #61892F; 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: #61892F; } .content-panel .content-toc { float: right; padding: 0 20px; background-color: #61892F; border: solid 1px #61892F; border-radius: 10px; margin: 20px 0 5px 5px; white-space: nowrap; box-shadow: inset 1px 2px 6px rgba(0,0,0,.15) } .content-panel p { margin: 1em; } .alternate:nth-child(even) { background-color: rgba(255,255,255,.9); } /* Page Rating Module Customizations */ .page-rate-widget-box .rate-points { background-color: #222629 !important; border: solid 1px #6B6E70; border-right: 0; border-radius: 10px 0 0 10px; box-shadow: none; } .page-rate-widget-box { border-radius: 10px; } .page-rate-widget-box .rateup, .page-rate-widget-box .ratedown { background-color: #222629; border-top: solid 1px #6B6E70; border-bottom: solid 1px #6B6E70; font-weight: bold; } .page-rate-widget-box .rateup a, .page-rate-widget-box .ratedown a { background: transparent; color: #B0b2b4; padding: 0 4px; margin: 0 1px; } .page-rate-widget-box .rateup a:hover, .page-rate-widget-box .ratedown a:hover { background: #B0b2b4; color: #222629; text-decoration: none; } .page-rate-widget-box .cancel { background-color: #6B6E70; border: solid 1px #6B6E70; border-left: 0; border-radius: 0 10px 10px 0; } .page-rate-widget-box .cancel a { background: transparent; text-transform: uppercase; color: #222629; } .page-rate-widget-box .cancel a:hover { border-radius: 0 6px 6px 0; background: #B0b2b4; color: #222629; text-decoration: none; } /* Heritage Collection Rating Module */ .heritage-rating-module { float: right; background-color: #222629 ; padding: 2px 8px 2px 5px; border: solid 1px #222629; 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; } .scp-image-block { border: solid 1px #61892F; box-shadow: 0 1px 6px rgba(0,0,0,.25); width: 300px; } .scp-image-block.block-right { float: right; clear: right; margin: 0 2em 1em 2em; } .scp-image-block.block-left { float: left; clear: left; margin: 0 2em 1em 0; } .scp-image-block.block-center { margin-right: auto; margin-left: auto; } .scp-image-block img { border: 0; width: 300px; } .scp-image-block .scp-image-caption { background-color: #61892F; border-top: solid 1px #61892F; 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; } /* Wikiwalk Navigation */ .footer-wikiwalk-nav { font-weight: bold; font-size: 75%; } /* 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: #61892F; background: linear-gradient(to right, #61892F, #61892F); box-shadow: inset 2px 3px 6px rgba(0,0,0,.15); border-radius: 5px 5px 0 0; } /* Hide Forum Signatures */ .signature { display:none !important; } /* Responsive Web Design */ img, embed, video, object, iframe, table { max-width: 100%; } #page-content div, #page-content div table { max-width: 100%; } /* basic Query for mobile devices */ @media (max-width: 767px) { .owindow { min-width: 80%; max-width: 99%; } .modal-body .table, .modal-body .table ~ div { float: left; } .owindow .button-bar { float: right; } .owindow div a.btn-primary { width: 100%; float: left; } .mobile-top-bar ul li:last-of-type ul { right: 0; } span, a { word-break: break-all; } } /* Mobile Media Query */ @media (max-width: 479px) { #page-content { font-size: 0.9em; } #main-content { margin: 0; } #recent-posts-category { width: 100%; } #header, .mobile-top-bar { max-width: 90%; } #side-bar { width: 80%; position: relative; } .top-bar { display:none; } .mobile-top-bar { display: block; padding: 0; } .page-options-bottom a { padding: 0 4px; } #header h1 a { font-size: 100%; } blockquote { margin: 1em 0; } .license-area { font-size: 0.8em; } #header { background-position: 0 5.5em; background-size: 55px 55px; } #header h1, #header h2 { margin-left: 66px; } table.form td, table.form th { float: left; } /* td.title { width: 30%; } */ td.name { width: 15em; } table.form td, table.form th { padding: 0; } #edit-page-title { max-width: 90%; } .content-panel.left-column, .content-panel.right-column { width: 99%; float: left; } #page-content div, #page-content div table { clear: both; } #page-content div.title { word-break: keep-all; } } /* Note Media Query */ @media (min-width: 480px) and (max-width: 580px) { #search-top-box-input { width: 7em; } #main-content { margin: 0 2em 0 2em; } #header, .mobile-top-bar { max-width: 90%; } #side-bar { width: 80%; position: relative; } .top-bar { display:none; } .mobile-top-bar { display: block; } .page-options-bottom a { padding: 0 5px; } #header h1 a { font-size: 120%; } blockquote { margin: 0.5em; } .license-area { font-size: 0.85em; } #header { background-position: 0.5em 4.5em; background-size: 66px 66px; } #header h1, #header h2 { margin-left: 80px; } /* td.title { width: 30%; } */ #page-content div.title { word-break: keep-all; } td.name { width: 15em; } .content-panel.left-column, .content-panel.right-column { width: 99%; float: left; } #page-content div, #page-content div table { clear: both; } } /* Mini Tablet Media Query */ @media (min-width: 581px) and (max-width: 767px) { #search-top-box-input { width: 8em; } #side-bar { width: 80%; position: relative; } #main-content { margin: 0 3em 0 2em; } #header, .mobile-top-bar { max-width: 90%; } .top-bar { display: none; } .mobile-top-bar { display: block; } .page-options-bottom a { padding: 0 6px; } #header h1 a { font-size: 140%; } .license-area { font-size: 0.9em; } #header { background-position: 1em 4em; background-size: 77px 77px; } #header h1, #header h2 { margin-left: 93px; } } /* Tablet Media Query */ @media (min-width: 768px) and (max-width: 979px) { #main-content { margin: 0 4em 0 20em; } #header, #top-bar #side-bar { max-width: 100%; } .top-bar li { margin: 0; } #top-bar ul li.sfhover ul li a, #top-bar ul li:hover ul li a { width: 110px; } .page-options-bottom a { padding: 0 7px; } #header h1 a { font-size: 160%; } .license-area { font-size: 0.95em; } #header { background-position: 1em 4em; background-size: 88px 88px; } #header h1, #header h2 { margin-left: 106px; } .content-panel.left-column, .content-panel.right-column { width: 99%; float: left; } #page-content div, #page-content div table { clear: both; } } /* Desktop Media Query ----------- @media (min-width: 980px) and (max-width: 1399px) { } ------------------------------------------ */ /* Wide Monitor Media Query ----- @media (min-width: 1400px) { } ------------------------------------------ */ /* off-canvas */ .close-menu { display: none; } @media (max-width: 767px) { .page-history tbody tr td:last-child { width: 35%; } .owindow { min-width: 80%; max-width: 99%; } .modal-body .table, .modal-body .table ~ div { float: left; } .owindow .button-bar { float: right; } .owindow div .btn-primary { width: 100%; float: left; } .owindow div .btn-primary ~ div { width: 100%; } .yui-navset { z-index: 1; } #navi-bar, #navi-bar-shadow { display: none; } .open-menu a { top: auto; position: fixed; bottom: 1.9em; left: 1em; z-index: 15; font-family: 'Nanum Gothic', san-serif; font-size: 30px; font-weight: 700; width: 30px; height: 30px; line-height: 0.9em; text-align: center; border: 0.1em solid #537626 !important; background-color: #222629 !important; border-radius: 0; color: #61892F !important; } .open-menu a:hover { text-decoration: none !important; -webkit-box-shadow: 0px 0px 20px 3px rgba(153,153,153,1); -moz-box-shadow: 0px 0px 20px 3px rgba(153,153,153,1); -ms-box-shadow: 0px 0px 20px 3px rgba(153,153,153,1); -o-box-shadow: 0px 0px 20px 3px rgba(153,153,153,1); box-shadow: 0px 0px 20px 3px rgba(153,153,153,1); } #main-content { max-width: 90%; margin: 0 5%; padding: 0; -webkit-transition: 0.5s ease-in-out 0.1s; -moz-transition: 0.5s ease-in-out 0.1s; -ms-transition: 0.5s ease-in-out 0.1s; -o-transition: 0.5s ease-in-out 0.1s; transition: 0.5s ease-in-out 0.1s; } #side-bar { display: block; position: fixed; top: 0; left: -25em; width: 17em; height: 100%; background-color: rgb(34, 38, 41); overflow-y: auto; z-index: 10; padding: 1em 1em 0 1em; -webkit-transition: left 0.5s ease-in-out 0.1s; -moz-transition: left 0.5s ease-in-out 0.1s; -ms-transition: left 0.5s ease-in-out 0.1s; -o-transition: left 0.5s ease-in-out 0.1s; transition: left 0.5s ease-in-out 0.1s; } #side-bar:after { content: ""; position: absolute; top: 0; width: 0; height: 100%; background-color: rgba(46, 46, 46, 0.2); } #side-bar:target { display: block; left: 0; width: 17em; margin: 0; border: 1px solid #dedede; z-index: 10; } #side-bar:target + #main-content { left: 0; } #side-bar:target .close-menu { display: block; position: fixed; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0,0,0,0.3) 1px 1px repeat; z-index: -1; } .scroll-left { height: 50px; overflow: hidden; position: relative; } .scroll-left p { position: absolute; width: 100%; height: 100%; margin: 0; line-height: 50px; text-align: center; /* Starting position */ -moz-transform:translateX(100%); -webkit-transform:translateX(100%); transform:translateX(100%); /* Apply animation to this element */ -moz-animation: scroll-left 60s linear infinite; -webkit-animation: scroll-left 60s linear infinite; animation: scroll-left 60s linear infinite; } /* Move it (define the animation) */ @-moz-keyframes scroll-left { 0% { -moz-transform: translateX(100%); } 100% { -moz-transform: translateX(-100%); } } @-webkit-keyframes scroll-left { 0% { -webkit-transform: translateX(100%); } 100% { -webkit-transform: translateX(-100%); } } @keyframes scroll-left { 0% { -moz-transform: translateX(100%); /* Browser bug fix */ -webkit-transform: translateX(100%); /* Browser bug fix */ transform: translateX(100%); } 100% { -moz-transform: translateX(-100%); /* Browser bug fix */ -webkit-transform: translateX(-100%); /* Browser bug fix */ transform: translateX(-100%); } } }