Last active
December 16, 2015 18:29
-
-
Save skopp/5478171 to your computer and use it in GitHub Desktop.
Drone theme snippet for Wikipedia / MediaWiki. Source: [http://en.wikipedia.org/w/index.php?title=User:Chochem/myskin.css]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===Drone=== | |
{{/details | |
|version = 0.1 | |
|author = [[w:User:Chochem|Chochem]] | |
|download = w:User:Chochem/myskin.css | |
|description = A magazine-column-style skin with a clean and inviting look, equally inspired by the economist.com and last.fm designs. The simple, no-nonsense layout ensures greater focus and readability. Use of the [[w:Droid (font)|Droid Sans font]] is recommended for best results. Feedback goes [[w:User talk:Chochem|here]]. | |
Released under the GPLv3. | |
||||| PLEASE SEE (http://www.mediawiki.org/w/index.php?title=Manual:Gallery_of_user_styles) AS WELL! |||| | |
}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Drone */ | |
/* a wikipedia skin by Chochem */ | |
/* version 0.21 */ | |
/* 2.1: Increased width */ | |
/* STRUCTURE */ | |
body { | |
background: none; | |
font-family: Droid Sans,Sans-Serif; | |
font-size: 14px; | |
line-height: 1.4; | |
} | |
#globalWrapper { | |
position: relative; | |
width: 1024px; | |
margin: 0 auto; | |
} | |
#column-content { | |
position: relative; | |
padding-top: 100px; | |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAIAAADITs03AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9gKAgokHU157GEAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAFElEQVQY02M4Y2zMxMDAMIoHBwYAeLMB+Y7y0c8AAAAASUVORK5CYII%3D) repeat-x; | |
float: right; | |
text-align: justify; | |
/* width: 584px; */ | |
width: 859px; | |
} | |
#column-one { | |
position: relative !important; | |
padding-top: 100px; | |
float: left; | |
width: 150px; | |
font-size: 12px; | |
} | |
/* FOOTER */ | |
#footer { | |
margin: 50px 0; | |
float: right; | |
clear: both; | |
width: 695px; | |
} | |
#footer > *:not(#f-list), | |
#globalWrapper #footer #f-list #copyright | |
{display: none !important;} | |
#f-list { | |
position: relative; | |
padding: 0; | |
list-style: none; | |
} | |
#f-list li:not(#lastmod) { | |
display: inline; | |
margin-right: 2em; | |
} | |
/* COLUMN-ONE */ | |
/* collapsing menus */ | |
.portlet .pBody {display: none !important;} | |
.portlet:hover .pBody {display: block !important;} | |
#p-cactions.portlet .pBody {display: block !important;} | |
/* reduce languages */ | |
#p-lang li:not(.interwiki-da):not(.interwiki-de):not(.interwiki-es):not(.interwiki-fr):not(.interwiki-it) {display: none !important;} | |
/* logo substitution */ | |
#p-logo { | |
position: absolute; | |
top: 0; left: 0; | |
} | |
#p-logo a { | |
background: #cc3333 no-repeat center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9gKAgsFBz1Gas8AAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAADwklEQVRo3u2YXYhVVRTH/3vGr8map1ChJrIpQSKVBJGM6EHBogcfMqQ3CUnQfIgUhERHTe2DMgIfQundosYPSgWjMSvBEUvM0ZhxZDBwRpn81mnUXy/rwOJ09O4zzc3J9h8ud5//WWvf9bHPWutcKSEhISEhISEhISEh4R4CEIBvgevAm47P0DwQ/X/Zh52ZsUPFpn/izFgX/B8HkJBC/buckKraVFNlf3ok7ZXUJ2nrXdAfij4NyScn6gkZIrZu909ItVETYVCDC+Baxy9z/HLHr3D8w2WCD6x38qtvlzzHzQHmAx1AH3AQeK5g30bgC+AP4CrQAjxbIPcM8JP1h9PAUknnYg8U8CqwB+gF+oFOYBUwbLBPyTEzYK/jdgA3jd/p+F3GHY0IqOc+cnxTBdkMR/k7rgETnew4oNvu3bCEYAl82sk9AVwp2O9M/gm5Q0J2U4x1g52QLFiXgFqbNHqBw3YKeo2rAc6b7AcRAf3c9DY5bmWl05hz9m1gEtDkuM1O9kOXjClAPdCe/b6T+9Tpv2t7LjK92IRMB+YBDwBjgFMmd3qwEzLbGTEZeMrWWyyoAE+aExlmRQR0M7DBXa+IKQ+OO5aTPWl8h+PajGt13Ebjuh2XJakLCLlKEJWQAtu3mdzN2FjH1rYWSdcljZI0XVKt8Ycl1Ul6WdIM15OuStoXse/zkhpt3S5pfcmz0pG7Pi5pvKSHHPeofU8taMwPunWDff8aQvBybZJeiji0wyUtkTTXfKqXNKLsNBuVkBDCNWC/pJmSJku63261Shpp62mSspPQEkLoi9i6UdItM/hxSRslLS6RkNq8qVl8Crjzkk7EFITc9a1IWz6R9LqtD9lnpqTHqjX+vZU1dqDVJpGRwGibKA4A+01mSWTJ6bQS+JnjFpQoWe25t/qsZv/m+OPG/VzBv6zcdeb4L2NKFnDBuENZyQO+qdrI7PpGl/349+5eK3AO6DGZCZEBbbbrUbZHNv3MKNHU11rvWuO4TU52neOXAfcBw+wgbHByW/xUZP4usMMWk5BsejsC1FmDv1LVdxjgd2fMO47/2PEnS5xwzz0CnHWjZkOE/oWCEfMy0Ohk628zHueDPNFG5jx+iUzI1wW6B8smpOxfJ3vc2jftH9x690CSHULokvSK9aGxkpqBugpq2yStlNQt6U9JByTNCiF0uH0v2sDxvg0B/SZ7QtJ7Tq5N0os2qPRLOiXpNUlvRLqwUNJ3ptsjqUnSC5Ju/B/+Rc7w1b3mW81/3P6QEpKQEpKQkJCQkJBQGX8Bv7HSMT72oxgAAAAASUVORK5CYII%3D) !important; | |
display:block; | |
height:100px; | |
width:150px; | |
} | |
/* minor adjustments */ | |
#column-one ul { | |
list-style: none; | |
padding: 0; | |
margin: 0; | |
} | |
#column-one h5 { | |
font-size: inherit; | |
margin-bottom: 0.5em; | |
} | |
#p-cactions li.selected a:before {content: "\00BB\ "} | |
#p-cactions li.new a {color: #cc3333} | |
#searchInput {display: block; clear: both;} | |
/* COLUMN-CONTENT */ | |
.dablink {padding-left: 0 ; margin-left: 0;} | |
table.ambox-style, table.ambox {margin: 0; border: none ;} | |
#column-content h2 {border-bottom: 1px solid #333333;} | |
#toc.toc ul {list-style: none;} | |
#toctitle + ul {padding-left: 0;} | |
/* GLOBAL */ | |
a {text-decoration: none; color: #3333CC;} | |
h1,h2,h3,h4,h5 {text-align: left;} | |
#bodyContent > ul, | |
#bodyContent > ol | |
{margin-left: 0; padding-left: 1em;} | |
/* IMAGES */ | |
.thumb { | |
display: block; | |
clear: none; | |
width: auto; | |
border: thin solid #AAAAAA; | |
padding: 10px; | |
font-size: 12px; | |
} | |
.tright {float: right; margin: 10px 0 10px 10px} | |
.tleft {float: left ;margin: 10px 10px 10px 0;} | |
.tnone {float: none ;margin: 10px;} | |
.magnify {display: none;} | |
.metadata {top: 125px !important;} | |
/* TABLES */ | |
/* wiki */ | |
.wikitable, | |
.sortable { | |
border-collapse: collapse !important; | |
border: none !important; | |
padding: 1em !important; | |
background-color: white !important; | |
font-size: 12px; | |
} | |
.wikitable th, | |
.sortable th, | |
.sortable tr:first-child td { | |
border: none !important; | |
color: black !important; | |
background: white !important; | |
border-left: none; | |
border-right: none; | |
} | |
.wikitable tr:first-child, | |
.sortable tr:first-child { | |
border-bottom: thick solid #DDDDDD !important; | |
border-top: thick solid #DDDDDD !important; | |
} | |
.sortable tr, | |
.wikitable tr { | |
border-bottom: thin solid #DDDDDD !important; | |
} | |
.wikitable td, | |
.sortable td { | |
border: none !important; | |
padding: 0.5em !important; | |
background: white !important; | |
} | |
.wikitable b {font-weight: normal !important;} | |
/* infobox */ | |
table.infobox {margin-left: 15px !important;} | |
/* DELETIONS */ | |
#contentSub, | |
#jump-to-nav | |
{display: none;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment