혹시 CSS 잘 다루시는 분 계시면 이 테마를 모바일 환경에서도 돌아가게 손봐주실수 있으신가요?
지식 없이 다른 테마 코드를 보고 하려니까 도저히 안되네요….
MC&D 테마 / 토론
Forum
» 페이지별 토론 / 페이지별 토론
» MC&D 테마
데모: http://sandbox.scp-wiki.kr/mc-d
코드:
/*
마셜, 카터 & 다크
[2014 위키닷 테마]
2014 SCP 재단 주시단체 경연(MC&D 팀 및 주시단체)을 위해서 Randomini가 제작하였습니다. Aelanna, Crayne 템플릿 제작 도움에 감사드립니다.
*/
/* COMMON */
h1, #page-title {
color: #320042;
}
h1 {
font-style: italic;
font-weight: lighter;
}
#page-title {
font-weight: lighter;
border-color: #320042;
}
a {
color: #6C4279;
}
a.newpage {
color: #4312A5;
}
div#container-wrap {
background: url(http://ko.scp-wiki.net/local--files/component:MCD-theme/body_bg_MCD2.png) top left repeat-x;
}
/* HEADER */
#header {
background: url(http://ko.scp-wiki.net/local--files/component:MCD-theme/MCDLogo2-small.png) 40px 6px no-repeat;
}
#search-top-box-input {
border: solid 1px #3E2646;
color: #6E3251;
background-color: #603B6C;
}
#search-top-box-input:hover,
#search-top-box-input:focus {
background-color: #282053;
}
#search-top-box-form input[type=submit] {
border: solid 1px #AF4FCF;
border-radius: 5px;
padding: 2px 5px;
font-size: 90%;
font-weight: bold;
color: #ccc;
background-color: #282053;
background: linear-gradient(to bottom, #371F3D,#282053,#8D6BA9);
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: #87a96b;
background: linear-gradient(to bottom, #7E608A,#946BA9,#8C3CA6);
box-shadow: 0 1px 3px rgba(0,0,0,.8);
}
#login-status {
color: #C5A3C5;
font-size: 90%;
z-index: 30;
}
#login-status a {
background: transparent;
color: #E696E6;
}
#login-status ul a {
color: #C5A3C5;
background: transparent;
}
#account-topbutton {
background: #ccc;
color: #C5A3C5;
}
.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;
line-height: 0px;
max-height: 0px;
color: #190022;
background: transparent;
font-size: 0%;
text-decoration: none;
}
#header h2 span {
display: block;
margin: 0;
line-height: 0px;
max-height: 0px;
font-size: 0%;
color: #190022;
}
/* TOP MENU */
#top-bar ul li ul {
border: solid 1px #3d2b1f;
}
#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: #FFE3FD;
color: #6c006c;
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: #8db600;
}
/* IE7 HACK */
#top-bar ul > li > ul {
*margin-top: -4px;
}
/* SIDE MENU */
#side-bar .side-block {
border: 1px solid #8B198B;
}
#side-bar .side-area {
padding: 10px;
}
#side-bar .heading {
color: #1E0087;
border-bottom: solid 1px #1E0087;
}
#side-bar div.menu-item.inactive a {
color: #380A38;
}
#side-bar div.menu-item .sub-text {
color: #3D1F31;
}
#side-bar .collapsible-block-unfolded-link {
border-bottom: solid 1px #220096;
}
#side-bar .collapsible-block-unfolded-link .collapsible-block-link {
color: #220096;
}
#side-bar .collapsible-block-unfolded-link .collapsible-block-link:hover {
color: #6C4279;
}
/* CONTENT */
.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:#320082 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:#FCDBFF url(../images/yuitabs.png) repeat-x left -1300px;
text-decoration: none;
}
.yui-navset .yui-nav,
.yui-navset .yui-navset-top .yui-nav {
border-color: #400040;
}
.yui-navset .yui-nav,
.yui-navset .yui-navset-top .yui-nav {
border-color: #6c006c;
}
.yui-navset li {
line-height: normal;
}
/* FOOTER */
#footer {
clear: both;
font-size: 77%;
background: #3d2b1f;
color: #6C006C;
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: #f0f8ff;
border: 1px solid #903C67;
padding: 0 10px 12px;
margin: 7px 4px 12px;
overflow: hidden;
}
div.sexy-box div.image-container img {
margin: 5px;
padding: 2px;
border: 1px solid #9f8170;
}
/* Custom page content classes */
#page-content {
min-height: 720px;
}
.unmargined > p {
margin: 0;
line-height: 100%;
}
.content-panel {
border: solid 1px #5d8aa8;
border-radius: 10px;
background-color: #bcd4e6;
margin: 10px 0 15px;
box-shadow: 3px 3px 6px #e6e6fa;
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: f0ffff
}
.content-panel .panel-footer {
padding: 1px 10px;
color: #A30053;
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 #5d8aa8;
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: #6c006c !important;
border: solid 1px #6c006c;
border-right: 0;
border-radius: 5px 0 0 5px;
}
.page-rate-widget-box .rateup,
.page-rate-widget-box .ratedown {
background-color: #f0f8ff;
border-top: solid 1px #6c006c;
border-bottom: solid 1px #6c006c;
font-weight: bold;
}
.page-rate-widget-box .rateup a,
.page-rate-widget-box .ratedown a {
background: transparent;
color: #6c006c;
padding: 0 4px;
margin: 0 1px;
}
.page-rate-widget-box .rateup a:hover,
.page-rate-widget-box .ratedown a:hover {
background: #6c006c;
color: #f0ffff;
text-decoration: none;
}
.page-rate-widget-box .cancel {
background-color: #6c006c;
border: solid 1px #6c006c;
border-left: 0;
border-radius: 0 5px 5px 0;
}
.page-rate-widget-box .cancel a {
background: transparent;
text-transform: uppercase;
color: #f0ffff;
}
.page-rate-widget-box .cancel a:hover {
border-radius: 0 3px 3px 0;
background: #cdeadc;
color: #f0ffff;
text-decoration: none;
}
/* Heritage Collection Rating Module */
.heritage-rating-module {
float: right;
background-color: #6c006c;
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 #6c006c;
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: #f0f8ff;
border-top: solid 1px #6c006c;
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: #f0f8ff;
background: linear-gradient(to right, #f0f8ff, #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;
}
/forum/t-2111504/mc-d#post-