内战 样版页
此页为小城的问候维基内部样板页
未经授权请勿修改
注意
这里是内战CSS样版页。
[[module css]]
@import url(http://smalltown.wikidot.com/theme:the-civil-war-css/code/1);
[[/module]]
测试
测试
测试
测试
测试
测试
测试
测试1
测试
测试
测试
测试
测试
测试
测试
1 |
---|
/* CAPPUCINO STYLE Edited for 小城的问候 by doge24190 二次修改:MrPasserby */ #container { background-color: #4d4d4d; margin: 0px; } #header{ background-color: #000000; height: 7.5em; } #header h1{ position: fixed; left: 11em; top: 2px; padding: 10px 0px 0px 0px; margin: 0; font-size: 2em; border: none; font-family: Verdana,"Trebuchet MS"; } #header h1 a, #header h1 a:hover{ color: #ffffff; background: none; } #header h2{ position: fixed; left: 14em; top: 4px; padding: 40px 0px 5px 0px; margin: 0; font-size: 1.5em; color: #aba686; } #header #login-status, #login-status a { color: #dcdbc1; font-weight: bold; } #account-options a,#account-options, a#account-topbutton{ color: #333; font-weight: normal; } #login-status .printuser a { margin-right: 1px; } .printuser img.small { border-radius: 50%; padding-leftmargin-right: 1px !important; background-image: none !important; } #login-status a:hover{ background-color: #554a47; } #account-options a:hover{ background-color: #EEE; } #search-top-box{ position: absolute; right: 10px; top: auto; bottom: 5px; } #top-bar{ position: fixed; background-color: ; height: 1.5em; float: left; top: 6em; left: 16em; } #top-bar a{ float: left; margin-left: 16em; right: 10em; color: #ffffff; transition: 0.5s all; } #top-bar a:hover{ background-color: #000000; background-image: linear-gradient(to right, rgba(255,0,0,1), rgba(255,0,0,0)); } #top-bar li ul li a{ background-color: #ffffff; color: #000000; } #top-bar ul li.sfhover{ } #top-bar ul li.sfhover a{ background-color: #ffffff; color: #000000; transition: 0.5s all; } #top-bar ul li.sfhover a:hover{ background-color: #000000; color: #ffffff; background-image: linear-gradient(to right, rgba(255,0,0,1), rgba(255,0,0,0)); } #content-wrap{ margin: 1em 2em; word-wrap:break-word; } #side-bar{ border: 6px groove #000030; position: relative; float: left; left: 8em; background-color: #3b3a3a; padding: 1em; width: 13em; margin: 1em; } #side-bar h1, #side-bar h2,#side-bar h3{ border-top: 1px dotted #777; border-bottom: 1px dotted #777; } #side-bar a{ border: none; } #side-bar a:hover{ color: #000000 background-color: #ffffff; background-image: linear-gradient(to right, rgba(255,0,0,1), rgba(255,0,0,0)); } #side-bar ul{ display: block; padding: 0; list-style: none; } #side-bar ul li{ display:block; } #side-bar ul li a{ display:block; } #main-content{ border: 6px groove #000030; margin-right: 10em; margin-left: 30em; padding: 1em; position: relative; } #main-content a{ } .footnotes-footer { margin: 0; padding: 0.5em 0; border-left: 6px groove #000030; height: 1%; background: #1a1a1a; color: #ffffff; } #footer{ background-color: #000000; color: #EEE; } #footer a{ color: #ffffff; transition: 0.5s all; } #footer a:hover{ background-color: #ffffff; color: #000000; } blockquote { border: 6px groove #000030; padding: 0.5em; color: #ffffff; background: #1a1a1a; word-wrap:break-word; } blockquote h1 { color: #ffffff; } blockquote h2 { color: #ffffff; } blockquote h3 { color: #ffffff; } blockquote h4 { color: #ffffff; } blockquote h5 { color: #ffffff; } blockquote h6 { color: #ffffff; } h1, h2, h3, h4, h5, h6, #page-title{ /*font-family: "Palatino","Palatino Linotype", serif;*/ font-family: Georgia, "Times New Roman", times, serif; } h1{ border-bottom: 1px dashed #000a2b; } #page-title{ color: #000000; font-size: 220%; } h1,h2,h3{ color: #000000; } a{ color: #ffffff; } a.newpage{ color: #888; } /* INTERFACE ETC. */ .page-options-bottom a{ color: #ffffff; background-color: #000000; text-decoration: none; transition: 0.5s all; border: 2px dashed #ffffff; } .page-options-bottom a:hover{ border: 2px dashed #000000; color: #000000; background-color: #ffffff; } a.action-area-close{ color: #3a312b; background-color: #efebe8; text-decoration: none; } div.buttons input, input.button, button, file, a.button, .owindow .button-bar a{ background-color: #eae9d9; border: 1px solid #AAA; /*color: #500202;*/ } div.buttons input:hover, input.button:hover, button:hover, a.button:hover, .owindow .button-bar a:hover{ background-color: #d5d4c4; /* color: #500202;*/ } .owindow .title{ background-color: #d5d4c4; } /* FORUM COLORS */ .forum-group div.head{ background-color: #554643; color: #FFF; } .thread-container .post .options a{ color: #6f6d63; } .thread-container .post .long .changes a { color: #6f6d63; } .thread-container .post .short .options{ color: #6f6d63; } /* DIVS */ .page { display: block; overflow: hidden; font-family: "Monotype Corsiva", "Bradley Hand ITC", sans-serif; font-style: normal; background-attachment: scroll; background-clip: border-box; background-color: transparent; background-image: linear-gradient(to top ,rgb(202, 219, 228) 0%, rgb(231, 233, 220) 8%); background-origin: padding-box; background-position: 0px 8px; background-repeat: repeat; background-size: 100% 20px; border: 1px solid #CCC; border-radius: 10px; padding: 10px 10px; margin-bottom: 10px; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2) } .page p, .page ul { line-height: 20px; margin: 0; } :root { --linkColour: #FFF; --barColour: #633; } #breadcrumbs{ margin: auto; text-align: center; padding-bottom: 4px; } #page-title { position: relative; text-align: center; border-bottom: 2px dashed #000a2b; margin-bottom: 0; } .info-container { content: " "; width: 100%; text-align: center; bottom: 2em; margin-bottom: 1em; } .info-container h1 { text-align: center; } .info-container .collapsible-block-folded, .info-container .collapsible-block-unfolded-link { -webkit-mask: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.2' baseProfile='tiny' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 628 18' xml:space='preserve'%3E%3Cpolygon fill='%23B2B2B2' points='628.3,0 0,0 0,5.3 243.6,5.3 268.1,18.2 360,18.3 384.7,5.3 628.3,5.3 '/%3E%3C/svg%3E%0A"); mask: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.2' baseProfile='tiny' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 628 18' xml:space='preserve'%3E%3Cpolygon fill='%23B2B2B2' points='628.3,0 0,0 0,5.3 243.6,5.3 268.1,18.2 360,18.3 384.7,5.3 628.3,5.3 '/%3E%3C/svg%3E%0A"); -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: top center; mask-position: top center; background: var(--barColour); } .info-container .collapsible-block-folded { display: block; margin: 0 auto; height: 1.5em; width: 100%; } .translation_block > p { margin: 1em 2em 0 2em; } /*超链接*/ a { transition: 0.5s all; color: #ffffff; } a:visited { color: #c9c9c9; } a:hover { color: #000000; background: #ffffff; text-decoration: none; } /*折叠块*/ .collapsible-block-link { border: 2px dashed #ffffff; background: #000000; color: #ffffff; transition: 0.5s all; border-radius: 0px; } .collapsible-block-link:hover { color: #000000; background: #ffffff; text-decoration: none; border: 2px dashed #000000; } /*评分*/ .page-rate-widget-box .rate-points { background-color: #1a1a1a !important; border: outset 2px #1a1a1a; border-right: 0; border-radius: 0px 0 0 0px; color: #ffffff !important; box-shadow: 10px 10px 5px #888888; } .page-rate-widget-box .rate-points a { color: #ffffff !important; } .page-rate-widget-box .cancel { background-color: #1a1a1a; border: outset 2px #1a1a1a; border-left: 0; border-radius: 0 0px 0px 0; box-shadow: 10px 10px 5px #888888; } .page-rate-widget-box .cancel a { background: transparent; text-transform: uppercase; color: #ffffff; } .page-rate-widget-box .cancel a:hover { border-radius: 0 0px 0px 0; background: #ffffff; color: #000000; text-decoration: none; } .page-rate-widget-box .rateup, .page-rate-widget-box .ratedown { background-color: #ffffff; border-top: outset 2px #ffffff; border-bottom: outset 2px #ffffff; font-weight: bold; box-shadow: 10px 10px 5px #888888; } .page-rate-widget-box .rateup a, .page-rate-widget-box .ratedown a { background: transparent; color: #000000; padding: 0 4px; margin: 0 1px; transition: background .5s,color .5s; } .page-rate-widget-box .rateup a:hover, .page-rate-widget-box .ratedown a:hover { background: #1a1a1a; color: #ffffff; text-decoration: none; } .info-container .collapsible-block-folded .collapsible-block-link, .info-container .collapsible-block-link { -webkit-mask: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.2' baseProfile='tiny' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 103 205.3' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cpath fill='%23FFFFFF' d='M4.2,75.6c24.1-2.6,48.2-5.2,74.9-8.1c0,15.6,0,29.4,0,43.3c0,20.8,0.4,41.6-0.2,62.3 c-0.3,10.5,4,16.3,13.4,20c4,1.5,7.1,5.3,10.6,8c-0.8,1.4-1.6,2.8-2.4,4.3c-32.4,0-64.8,0-97.3,0c-0.9-1.1-1.7-2.3-2.6-3.4 c3.3-2.7,6.2-7,9.9-7.8c11.4-2.3,15.3-9,15.2-19.9c-0.2-20.3-0.6-40.5,0.1-60.8c0.4-11.8-4.4-18.1-15-22.3c-4.4-1.8-7.4-7.2-11-11 C1.4,78.6,2.8,77.1,4.2,75.6z'/%3E%3Cpath fill='%23FFFFFF' d='M79.6,27c0,16.3-11,26.9-27.5,26.7c-16.5-0.2-26.2-9.9-26.2-26c0-17,10.1-27.7,26.5-27.7 C68.6-0.1,79.6,10.8,79.6,27z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A"); mask: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.2' baseProfile='tiny' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 103 205.3' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cpath fill='%23FFFFFF' d='M4.2,75.6c24.1-2.6,48.2-5.2,74.9-8.1c0,15.6,0,29.4,0,43.3c0,20.8,0.4,41.6-0.2,62.3 c-0.3,10.5,4,16.3,13.4,20c4,1.5,7.1,5.3,10.6,8c-0.8,1.4-1.6,2.8-2.4,4.3c-32.4,0-64.8,0-97.3,0c-0.9-1.1-1.7-2.3-2.6-3.4 c3.3-2.7,6.2-7,9.9-7.8c11.4-2.3,15.3-9,15.2-19.9c-0.2-20.3-0.6-40.5,0.1-60.8c0.4-11.8-4.4-18.1-15-22.3c-4.4-1.8-7.4-7.2-11-11 C1.4,78.6,2.8,77.1,4.2,75.6z'/%3E%3Cpath fill='%23FFFFFF' d='M79.6,27c0,16.3-11,26.9-27.5,26.7c-16.5-0.2-26.2-9.9-26.2-26c0-17,10.1-27.7,26.5-27.7 C68.6-0.1,79.6,10.8,79.6,27z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A"); display: block; width: 100%; height: 100%; -webkit-mask-size: 0.5em; mask-size: 0.5em; -webkit-mask-position: top center; mask-position: top center; mask-position-y: 3px; -webkit-mask-position-y: 3px; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; background: var(--linkColour); text-decoration: none; } .info-container .collapsible-block-unfolded-link { display: block; margin: 0 auto; height: 1.5em; width: 100%; } .info-container .collapsible-block-unfolded { border: 1px solid #BBB; border-top: none; } .info-container .collapsible-block-content { text-align: left; padding-bottom: 30px; } .info-container .collapsible-block-content > div:nth-child(1) > p { margin: 2em; } .u-faq a:link { font-size: 80%; } #u-author_block > div a { display: inline; padding: 0.8em; background: var(--barColour); color: var(--linkColour); border-radius: 0.25vw; box-shadow: 0 0px 4px rgba(0, 0, 0, 0); transition: -webkit-backdrop-filter .3s, backdrop-filter .3s, box-shadow .3s; } #u-author_block > div a:hover { box-shadow: 0px 3px 4px rgba(0, 0, 0, .8); text-decoration: none; } .translation_block { display: block; margin: 0 2em; width: calc(100% - 4em); text-align: center; } .translation_block iframe{ width: 17.2em; } .translation_block > p > iframe { margin: 0 auto; width: 19em; display: block; } /*----- tab ----------------------------------------------*/ div.yui-navset div.yui-content { border: 6px groove #000030; padding: 6px; margin-bottom: 6px; background: #3b3a3a; word-wrap:break-word; color: #ffffff; } div.yui-navset ul.yui-nav a, div.yui-navset div.yui-navset-top ul.yui-nav a { padding: 0px 0px 0px 0px; border: 2px dashed #ffffff; background: #000000; color: #ffffff; } div.yui-navset ul.yui-nav a:hover, div.yui-navset ul.yui-nav a:focus { padding: 0px 0px 0px 0px; border: 2px dashed #000030; background: #1a1a1a; color: #ffffff; } div.yui-navset ul.yui-nav .selected a, div.yui-navset ul.yui-nav .selected a:focus, div.yui-navset ul.yui-nav .selected a:hover { padding: 0px 0px 0px 0px; border: 2px dashed #000000; background: #ffffff; color: #000000; } .yui-navset li { line-height: normal; } /* 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; } /* Standard Image Block */ .image-block { border: var(--image-block-border); width: 300px; box-shadow: var(--image-block-box-shadow); background: var(--image-block-background); } .image-block.block-right { float: right; clear: right; margin: 0 2em 1em 2em; } .image-block.block-left { float: left; clear: left; margin: 0 2em 1em 0; } .image-block.block-center { margin-right: auto; margin-left: auto; } .image-block img { border: 0; width: 300px; } .image-block .image-caption { background: var(--image-block-caption-background); border-top: var(--image-block-border); padding: 2px 0; font-size: 80%; font-weight: bold; text-align: center; width: 300px; } .image-block > p { margin: 0; } .image-block .image-caption > p { margin: 0; padding: 0 10px; } .image-block img, .image-block, .image-caption { max-width: 100%; } /* viewport */ @viewport { width: device-width; zoom: 1.0; } /* IE viewport */ @-ms-viewport { width: device-width; zoom: 1.0; } /* opera viewport */ @-o-viewport { width: device-width; zoom: 1.0; } /* chrome viewport - maybe it isn't work... */ @-webkit-viewport { width: device-width; zoom: 1.0; } /* firefox viewport - maybe it isn't work too... */ @-moz-viewport { width: device-width; zoom: 1.0; } /* 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, #action-area td { word-break: break-all; } } /* Mobile Media Query */ @media (max-width: 479px) { #search-top-box-input { width: 5em; } #page-content { font-size: 0.9em; } #main-content { margin: 0; } #recent-posts-category { width: 100%; } #header { 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 { 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 { 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 { position: fixed; top: 0.5em; left: 0.5em; 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.2em solid #888 !important; background-color: #fff !important; border-radius: 3em; color: #888 !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: relative; top: 0; left: 25em; width: 17em; height: 100%; background-color: rgb(184, 134, 134); 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(0, 0, 0, 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; } div.scpnet-interwiki-wrapper { width: 17em; margin-left: -5px; } iframe.scpnet-interwiki-frame { height: 300px; width: 17em; border: none; } @media (min-width: 768px) { iframe.scpnet-interwiki-frame { height: 300px; width: 18em; } div.scpnet-interwiki-wrapper { width: 18em; } } } /* Keycap */ .keycap { border: 1px solid; border-color: #ddd #bbb #bbb #ddd; border-bottom-width: 2px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; background-color: #f9f9f9; padding: 1px 3px; font-family: inherit; font-size: 0.85em; white-space: nowrap; } div#header h1 a span { font-size: 0px; } div#header h1 a:before { content: "内战"; color: rgb(224, 82, 71); } div#header h2 span { font-size:0px; padding: 4px; } div#header h2:after { content: "为了小城...和我们自己"; font-weight: bold; color: rgb(230, 0, 24); padding: 19px 0; text-shadow: 1px 1px 1px rgba(0, 0, 0, .8); white-space: pre; }
Footnotes
1. 测试