MediaWiki:Common.css
From Sokoban Wiki
(Difference between revisions)
(Test) |
(removed unnecessary span classes) |
||
(24 intermediate revisions not shown) | |||
Line 266: | Line 266: | ||
- | |||
#globalWrapper { | #globalWrapper { | ||
+ | width: 1080px; | ||
+ | } | ||
- | + | div#mw-panel { | |
- | + | position: fixed; | |
- | + | top: 150px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | |||
/* -------------- End CSS -------------------- */ | /* -------------- End CSS -------------------- */ |
Current revision as of 19:21, 1 May 2019
/** CSS placed here will be applied to all skins */ /* Title : SokobanWiki Stylesheet Version: 08/04/07 ----------------------------------------------- */ /* TABLE soko-table : Class for decorate the table ----------------------------------------------- */ table.soko-table { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; } table.soko-table th, table.soko-table td { font-size: 1em; border: 1px #aaaaaa solid; padding: 0.2em; } table.soko-table th { background: rgb(224, 222, 216); color: rgb(69,69,69); text-align: left; } tr.soko-table-title { background:#f1efe5; text-align:center; } col.soko-table-title { background:#f1efe5; vertical-align: middle; } /* --- Fixed width for the columns --- */ colgroup.soko-table-column col, tr.soko-table-title td div { width: 135px; } /* HTML Element Styles ----------------------------------------------- */ code, pre { font-family: 'Courier New', monospace; font-size:11pt; background-color:#fafbfc; } pre { white-space: pre; border: 1px solid silver; border-width: 1px !important; border-style: solid !important; border-color: silver !important; margin: 1em 3px; padding: 0.7em; } pre.scroll { overflow: auto; /* MOZ Fixes */ padding-top: 0.6em; /* IE Fixes */ _width: 100%; *padding-bottom: 1.6em; overflow-x: auto; overflow-y: hidden; } span.kbd, kbd { display: -moz-inline-box; display: inline-block; font-family: arial,helvetica; font-weight: normal; font-size: 90%; line-height: 1.6em; white-space: nowrap; vertical-align: middle; padding: 0em 0.3em 0em 0.3em; color: rgb(51,51,51); background-color: white; border-style: solid; border-width: 2px 4px 6px 3px; border-top-color: rgb(207,207,207); border-right-color: rgb(170,170,170); border-bottom-color: rgb(144,144,144); border-left-color: rgb(186,186,186); } /* Generic Display Classes ----------------------------------------------- */ div.title, div.title-2 { font-family: arial,verdana; font-weight:bold; margin: 0.2em 0; border-bottom: 1px solid silver; } div.title { font-size: 14px; } div.title-2 { font-size: 17px; } div.margin { margin-left: 10px; margin-right: 10px; } div.margin-2 { margin-left: 20px; margin-right: 20px; } div.margin-3 { margin-left: 40px; margin-right: 40px; } div.box, div.box-2, div.box-3, div.box-4, div.box-5, div.box-6, div.box-7, div.box-8, div.note, div.note-2 { margin-top: 5px; margin-bottom: 5px; padding: 8px 10px; } div.box { background: rgb(249,249,249); border: 1px solid; border-color: rgb(238,238,238) rgb(187,187,187) rgb(187,187,187) rgb(238,238,238); } div.box-2 { background: #f1f5f9; border: 1px solid #c7cfd5; } div.box-3 { background: rgb(244, 250, 255); border: 1px solid rgb(190, 208, 233); } div.box-4 { background: rgb(245,249,251); border-right: 1px solid rgb(208,210,231); border-bottom: 1px solid rgb(208,210,231); } div.box-5 { background: rgb(244,246,224); border-right: 1px solid rgb(222,222,208); border-bottom: 1px solid rgb(222,222,208); } div.box-6 { background: rgb(243,241,233); border: 1px solid rgb(219,213,197); } div.box-7 { background: rgb(242,245,240); border: 1px solid rgb(194,198,189); } div.box-8 { background: #f7f7f7; border: 1px solid #a1a5a9; } div.note { background: rgb(255,255,236); border: 1px solid rgb(239,239,222); } div.note-2{ background: rgb(248, 248, 248); border-top: 1px solid rgb(221, 221, 221); border-bottom: 1px solid rgb(221, 221, 221); } div.small, span.small { font-family: Tahoma, Verdana, Arial, Helvetica, Sans-Serif; font-size: 11px; } /* SYMBOL YES,NO,UN : Style to include images in the tables ----------------------------------------------- */ span.box-yes, span.box-no { float:left; margin: 0 5px 0 0; padding:0; border:none; white-space:nowrap; vertical-align: middle; cursor:default; } span.box-yes { width:24px; height:24px; background:url(./images/Check.png) 0 0 no-repeat; } span.box-no { width:24px; height:24px; background:url(./images/Cross.png) 0 0 no-repeat; } span.box-un { display:block; clear:both; margin: 0 5px 0 0; height:24px; padding-left:24px; line-height:24px; vertical-align: middle; background:url(./images/Square.png) 0 0 no-repeat; cursor:default; } span.box-no-text, span.box-yes-text { display:none; } /* TOOLTIP-CSS and symbol NI ----------------------------------------------- */ span.box-ni, span.box-tip { display: -moz-inline-box; display: inline-block; vertical-align: top; } span.box-ni-text { color:rgb(176,176,176); font-family:arial,verdana; font-size:1.6em; font-weight:bold; white-space:nowrap; letter-spacing:1px; } span.box-tip, span.box-tip-2, span.box-tip-2 > span { margin:0; padding:0; border: none; background-color: transparent; background-image: none; -moz-box-sizing: border-box; box-sizing: border-box; cursor: default; color: gray; } span.box-tip-menu-yes, span.box-tip-menu-no { display:none; } span.box-tip-2, span.box-tip-2 > span { display:block; } span.box-tip-2 > span.box-tip-menu-yes, span.box-tip-2 > span.box-tip-menu-no { padding: 0 1px; white-space:nowrap; font-family: Verdana,Arial,Helvetica; font-size: 11px; font-weight: normal; letter-spacing:1px; } span.box-tip-2 > span.box-tip-menu-no + span { display: none; margin: 6px 0 0 6px; width: 150px; } span.box-tip-2 > span.box-tip-menu-yes + span { display: none; margin: 0; width: 140px; } span.box-tip-2:hover > span.box-tip-menu-no { color:black; } span.box-tip-2:hover > span.box-tip-menu-yes { cursor: help; background-color:#36c; color: white; } span.box-tip-2:hover > span.box-tip-menu-yes + span, span.box-tip-2:hover > span.box-tip-menu-no + span { display: block; position: absolute; font-family: Verdana,Arial,Helvetica; font-size: 11px; font-weight: normal; line-height: 14px; padding: 6px; color: rgb(57,57,57); border: 1px solid gray; background-color: rgb(255,255,236); } /* STAT Classes ----------------------------------------------- */ div.box-progress { margin: 1px 0; border: 1px solid #ccc; padding: 1px; text-align: left; } div.box-progress div { text-indent:5px; background-color: #ACE97C; line-height: 13px; } /* MENU-CSS : POP-DOWN ----------------------------------------------- */ div.soko-pop-button { min-height: 5px; _height: 5px; padding:0 6em; border: 1px solid; border-color: #F5F5F3 #7C7B77 #7C7B77 #F5F5F3; background-color: rgb(224, 222, 216); color: rgb(69, 69, 69); text-align: center; cursor: default; } div.soko-pop-button > b { padding-right: 14px; background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHBAMAAAA2fErgAAAAB3RJTUUH1wQHCxk4FO/mKQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAARnQU1BAACxjwv8YQUAAAAGUExURf///2NjY4U4roEAAAABdFJOUwBA5thmAAAAHUlEQVR42mNgYGBgZEAQgkDAwCgoCOQKCjCCRBgBB9sAkFJjHngAAAAASUVORK5CYIJ=") no-repeat right center; } div.soko-pop-box { padding: 5px 2em 10px 2em; } div.soko-pop-button + div.soko-pop-box > div.soko-pop-left { float: left; padding-right:1.5em; border-right: 1px dotted silver; } div.soko-pop-button + div.soko-pop-box > div.soko-pop-right { float: left; padding-left:1.5em; } div.soko-pop-button + div, div.soko-pop-button + div.soko-pop-box + div { display: none; border: 1px solid rgb(170,170,170); background-color: rgb(249,249,249); } div.soko-pop-down:hover > div.soko-pop-button + div.soko-pop-box { display: block; position:absolute; } /* End POP-DOWN CSS */ #globalWrapper { width: 1080px; } div#mw-panel { position: fixed; top: 150px; } /* -------------- End CSS -------------------- */