佈景主題
要想使用這個佈景主題,您需要:
1.打開站點後臺【_admin頁面】,轉到外觀與表現,選擇佈局與主題,點擊自定義,建立一個
新主題,把下面這段CSS代碼複製到裏面后點擊保存,完成!
2.要啟動移動端介面,打開你的維琪任意頁面,點擊底端的“+ 選項”。
3.點擊「編輯元資訊」。
4.點擊「新增一個 meta 標籤」。 “name”輸入“viewport”(不帶引號),“content”輸入“width=device-
width, initial-scale=1.0”(同樣也不帶引號)。
5.完成!
@import url('http://scp-wiki-cn.wikidot.com/component:theme/code/1'); /* SCP Sigma 9 [2014 Wikidot Theme] Created for the SCP Foundation by Aelanna Edited for SCP Foundation by Dr Devan Edited for 05Zentrale by Dr_Grom Edited for O5指揮部 by MScarlet */ div#container-wrap { background: url(http://05command-cn.wdfiles.com/local--files/component%3Atheme/body_bg_BW.png) top left repeat-x; } #header { background: url(http://scp-wiki-cn.wdfiles.com/local--files/component:theme/logo-t.png) 10px 40px no-repeat; } #search-top-box-input { background-color: #333; } #search-top-box-input:hover, #search-top-box-input:focus { background-color: #666; } #search-top-box-form input[type=submit] { background-color: #666; background: linear-gradient(to bottom, #999,#666,#333); } #search-top-box-form input[type=submit]:hover, #search-top-box-form input[type=submit]:focus { background-color: #999; background: linear-gradient(to bottom, #ccc,#999,#666); } @media (max-width: 479px) { #header { background-position: 0 5.5em; background-size: 55px 55px; } } @media (min-width: 480px) and (max-width: 580px) { #header { background-position: 0.5em 4.5em; background-size: 66px 66px; } } @media (min-width: 581px) and (max-width: 767px) { #header { background-position: 1em 4em; background-size: 77px 77px; } } @media (min-width: 768px) and (max-width: 979px) { #header { background-position: 1em 4em; background-size: 88px 88px; } }
![]() |
該維基以姓名標示-相同方式分享 3.0 未本地化 (CC BY-SA 3.0)協議進行授權。 OB自由論壇維基站點的 O5-command 外觀主題及格式由 Aelanna 設計。 |