User:Lieutenant S. Reznov/Sandbox/Sturmkrieg skin
Appearance
(Redirected from User:Inquisitor Ehrenstein/Sandbox/Sturmkrieg skin)
/sturmkrieg/
Sturmkrieg.i18n.php
<?php /** * Internationalization file for skin Sturmkrieg. * * @file * @ingroup Skins */ $messages = array(); /** English * @author Inquisitor Ehrenstein */ $messages['en'] = array( 'skinname-sturmkrieg' => "Sturmkrieg", 'sturmkrieg-desc' => "The default skin of Sturmkrieg.", );
sturmkrieg.php
<?php /** * Sturmkrieg skin * * @file * @ingroup Skins * @author Sasha Ehrenstein (http://www.sturmkrieg.de/User:Inquisitor_Ehrenstein) */ if( !defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." ); $wgExtensionCredits['skin'][] = array ( 'path' => __FILE__, 'name' => 'Sturmkrieg', 'url' => "http://www.sturmkrieg.com", 'author' => '[http://www.sturmkrieg.de/User:Inquisitor_Ehrenstein Inquisitor Ehrenstein]', 'descriptionmsg' => 'mywiki-desc', ); $wgValidSkinNames['sturmkrieg'] = 'Sturmkrieg'; $wgAutoloadClasses['SkinSturmkrieg'] = dirname(__FILE__).'/Sturmkrieg.skin.php'; $wgExtensionMessagesFiles['Sturmkrieg'] = dirname(__FILE__).'/Sturmkrieg.i18n.php'; $wgResourceModules['skins.sturmkrieg' ] = array( 'styles' => array( 'sturmkrieg/screen.css' => array( 'media' => 'screen' ), ), 'remoteBasePath' => &$GLOBALS['wgStylePath'], 'localBasePath' => &$GLOBALS['wgStyleDirectory'], 'dependencies' => 'skin.vector' );
Sturmkrieg.skin.php
<?php /** * Skin file for skin Sturmkrieg. * * @file * @ingroup Skins */ require_once( dirname( __FILE__ ) . '/../Vector.php' ); /** * SkinTemplate class for Sturmkrieg skin * @ingroup Skins */ class SkinSturmkrieg extends SkinVector { var $skinname = 'sturmkrieg', $stylename = 'sturmkrieg'; /** * @param $out OutputPage object */ function setupSkinUserCss( OutputPage $out ){ parent::setupSkinUserCss( $out ); $out->addModuleStyles( "skins.sturmkrieg" ); } }
screen.css
/** * Infoboxes */ .infobox { float: right; clear: right; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; border: 1px solid #000000; background: #151515; color: #D8D8D8; } /* suppress the person icon by your username */ li#pt-userpage { background: none } /* Change WikiLove symbol */ #ca-wikilove.icon a, #ca-wikilove.icon a:hover { background-image: url("http://upload.wikimedia.org/wikipedia/commons/3/3a/Feedback_red_star.png"); background-position: 5px 60% !important; } /* Display the tagline */ #siteSub { display:block; } body.page-Sturmkrieg_Wiki #siteSub { display:none; } /* Hide main page title */ body.page-Sturmkrieg_Wiki h1.firstHeading { display:none; } /** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See * http://www.mediawiki.org/wiki/Manual:Collapsible_tables. * Maintainers: [[en:User:R. Koot]] */ table.collapsed tr.collapsible { display: none; } .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; } /* ------------------------------------------------------------------------------------------- */ / *Search colors fix */ #mw-searchoptions { background-color: #1F1F1F; } /* Fix edit count text tbody tr td { background-color: #2E2E2E; } */ /* New message notice */ .usermessage { background-color: #424242; border: solid 2px #151515; } .usermessage a { color: #2A0A0A; } /* Main pages styles ---------------------------------- */ /* Header box */ .main-header { background-color:#151515; } /* Main columns */ .maincolumn-left { color: #BDBDBD; background-color: #3B0B0B; } .maincolumn-right { color: #BDBDBD; background-color: #1F1F1F } /* Featured picture box */ .featured-img-header { background-color: #1F1F1F; } .featured-img-box { background-color: #151515; } /* ---------------------------------------------------- */ /* Float embedded images to the right */ .image-float-right { float: right; } /* Dakka image thumbnails */ .dakkathumb { background: #151515; border: #000000; float: right; padding: 5px; } /* Sockpuppet notice template */ .sockpuppet-notice { background: #151515; color: #BDBDBD; border: 1px solid #000000; } /* Talk page notice settings */ .talk-page-notice { background: #151515; color: #BDBDBD; border: 1px solid #000000; } /* Series box settings tr.collapsible { background-color: #1F1F1F; } */ /* Define Created-by box settings */ .creatorbox td { background-color: #151515; border: 1px solid #000000; } /* Remove MediaWiki logo */ #footer-poweredbyico a img { display: none; } /* ------ */ -p { - font-size:1.2em; - font-family:Arial; - line-height:1.5em; -} /* Edit window settings */ textarea#wpTextbox1 { clear: both; color: #CEECF5; font-size: 18px; font-family: fixedsys, consolas, monospace; background: #000000; height: 700px; } /* suppress the person icon by your username */ li#pt-userpage { background: none } /* ------ */ #mw-panel.collapsible-nav div.collapsed h5 { color: #DADADA; } #mw-panel.collapsible-nav div.portal h5 { color: #DADADA; } .mw-plusminus-pos { color: #D2D600; } .infobox { border: 1px solid #000000; color: #D8D8D8; background-color: #151515; } /* ----------------------------------------------------------------------------------- */ /* Forum Settings */ /* From The Vault, based on their forum settings – CC-BY-SA http://www.falloutwiki.com */ /* ----------------------------------------------------------------------------------- */ /* Remove "Discussion" tab for forum pages */ body.ns-170 #ca-talk, body.ns-171 #ca-addsection, body.ns-171 #ca-edit { display: none; } /* Overall style */ .va-forum-header, .va-forum-index, .va-forum-search { border: 1px solid #6E6E6E; box-shadow: 2px 2px 2px #A4A4A4; -moz-box-shadow: 2px 2px 2px #A4A4A4; -webkit-box-shadow: 2px 2px 2px #585858; } .va-forum-index th, .va-forum-search th { /* Shared background; see top of page */ border: 1px solid #000; color: #FFF; } .va-forum-header div, .va-forum-index td, .va-forum-search td { background-color: #1F1F1F; border: 1px solid #6E6E6E; vertical-align: top; } /* Header */ .va-forum-header { margin: 10px 0; padding: 2px; } .va-forum-header div { padding: 5px; } /* Search */ .va-forum-search { float: right; margin: 0 0 8px 5px; text-align: center; } .va-forum-search td { font-size: 11px; padding: 5px; } /* Index */ .va-forum-index th.forum_title { padding-left: 9px; text-align: left; width: 70%; background: #1F1F1F; } .va-forum-index th.forum_edited { width: 30%; background: #1F1F1F; } .va-forum-index th.va-forum-subheader { background: #151515; border: 1px solid #6E6E6E; color: #D8D8D8; padding-left: 9px; text-align: left; font-size: 14px; } .va-forum-index td { line-height: 16px; } .va-forum-index td.forum_edited { font-size: 11px; text-align: center; background: #1F1F1F; } .va-forum-index td.va-forum-footer { background: #1F1F1F; border: 1px solid #6E6E6E; } .va-forum-index td.forum_title { padding: 1px 2px 1px 3px; } .va-forum-index td.forum_title a:link, .va-forum-index td.forum_title a:visited { border-left: 3px solid #A4A4A4; display: inline-block; padding-left: 3px; } .va-forum-index td.forum_title a.forum_new:link { border-left-color: #FF0000; } .va-forum-index td.forum_title a.forum_new:visited { border-left-color: #E7EADA; } .va-forum-index td.forum_title span.forum_author { display: block; font-size: 11px; padding-left: 17px; } .va-forum-index td.forum_title span.forum_author a { border: none; padding: 0; } .va-forum-index span.forum_editor { display: block; font-size: 11px; } td.forum_title, td.forum_title a { background: #1F1F1F; font-size: 15px; } /* ----------------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------------- */ /*Content below was copied and modified from Dishonored Wiki - http://www.dishonoredwiki.net/MediaWiki:Vector.css - CC-BY-NC-SA */ /* Framework */ body { background: #151515; } /* Logo */ div#p-logo { background-color: transparent; } /* Head */ div#mw-page-base { background: #151515; } /* url("http://en.sturmkrieg.com/images/8/82/SK_header.png") */ #mw-head-base { background: transparent; background-image: none; border-bottom: 0px; } /* Tabs */ div.vectorTabs li a, div.vectorTabs ul li, div.vectorTabs, div.vectorTabs ul, div.vectorTabs span, div.vectorTabs li.selected { background-color: transparent; background-image: none; color: #b3b4b7; } div.vectorMenu h5 a { background-color: #b38b4b7; background-image: none; border: 0px; } div.vectorMenu ul { background-color: transparent; border: 1px solid #282828; } /* Content */ div#content { background: #2E2E2E; border: 1px solid #000000; color: #D8D8D8; } /* Panel */ div#mw-panel div.portal div.body { background-image: url("/images/0/0f/Portal-break.png"); } div#mw-panel div.portal h5 { color: #D8D8D8; font-weight: bold; } div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited { color: #D8D8D8; } /* Footer */ div#footer { background-image: none; } div#footer ul li { color: #B3B4B7; } /* Preferences */ #preftoc, #preftoc li, #preferences, #preftoc li.selected a { background-image: none; background-color: transparent; } #preftoc { background-color: #3F3F3F; border: 0px; } #preferences { background-color: #3F3F3F; border: 1px solid #282828; } #preferences fieldset { border-color: #D8D8D8; } /* Wiki Elements */ #firstHeading { font-family: "ITC Blair W02 Light", Helvetica, Arial; } fieldset { border: 1px solid #262626; } pre { background-color: #F9F9F9; border: 1px dashed #2F6FAB; color: black; line-height: 1.3em; overflow: auto; padding: 1em; } #userlogin, #userloginForm, .mw-warning, li.gallerybox, div.thumbinner, .catlinks, ul#filetoc, table.diff { background-color: #151515; border: 1px solid #000000; } li.gallerybox div.thumb, html .thumbimage, td.diff-ntitle, td.diff-otitle, td.diff-context, table.diff td div { background-color: #12171B; border: 0px; } #pagehistory li.selected { background-color: #1F1F1F; background-image: none; border: 1px dashed #282828; padding: 3px; } code { background-color: #12171B; } #pagehistory li { background-color: #151515; border: 1px solid #262626; padding: 3px; } hr { background-color: #D8D8D8; border: 0px; } .mw-specialpages-table { background-color: #transparent; } h4.mw-specialpagesgroup { background-color: #151515; padding: 4px; } abbr, acronym, .explain { border-bottom: 1px dotted #FFFFFF; } .TablePager th, .TablePager tr:hover td { background-color: #12171B; border: 1px solid #262626; } .TablePager, .TablePager td, table.mw_metadata td, table.mw_metadata th { background-color: #12171B; border: 1px solid #262626; } table.wikitable { background: none repeat scroll 0 0 transparent; |} .wikitable th { background-color: #151515; border: 1px solid #000000; color: #D8D8D8; padding: 0.2em; } .wikitable td { border: 1px solid #000000; color: #EDEDED; background-color: #1F1F1F; padding: 0.2em; } /* Fonts */ h1, h2 { border-bottom: 1px solid #D8D8D8; color: #D8D8D8; } h3, h4, h5, h6, h7 { color: #D8D8D8; } div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited, #preftoc a, #preftoc a:active { color: #b3b4b7; } div.vectorMenu li a { color: #D8D8D8; background-color: #151515; } div.vectorTabs li a, div.vectorTabs li a span, { color: #b3b4b7; } /* Selected tabs (page, discussion, read, history, ect.) */ div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited { color: #6E6E6E; } /* Internal links */ a, a:visited { color: #FF0000; } /* Links */ div#content a.extiw, div#content a.extiw:visited, div#content a.external, div#content a.external:visited, #preferences td.htmlform-tip, #contentSub, #contentSub2, #preferences legend, #preftoc li.selected a { color: #FF0000; } /* Other colors for the links: #620000 #FFFFFF #700000 */ a.new, div.vectorTabs li.new a, #p-personal a.new, #quickbar a.new, .diffchange, abbr, acronym, .explain, .previewnote, .mw-plusminus-neg { color: #F78181 !important; } div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, #preferences legend, #preftoc li.selected a { font-weight: bold; } #toc, .toc, .mw-warning { background-color: #151515; border: 1px solid #000000; } /* colour fix for advanced search options box */ fieldset#mw-searchoptions { background-color: #transparent; border-color: #282828 !important; } .mw-search-formheader { background-color: #transparent; border: 1px solid #282828; margin-top: 1em; }