MediaWiki:Common.css: Difference between revisions
From WikiBound, your community-driven EarthBound/Mother wiki
Jump to navigationJump to search
Trig Jegman (talk | contribs) mNo edit summary |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 462: | Line 462: | ||
} | } | ||
/* custom gallery colorations */ | /* custom gallery colorations */ | ||
.ebbgallery li.gallerybox div.thumb {border:2px solid # | .ebbgallery li.gallerybox div.thumb {border:2px solid #41beff; border-radius:2px; background-color:#41beff44;} | ||
.m1gallery li.gallerybox div.thumb {border:2px solid #41beff; border-radius:2px; background-color:#41beff44;} | .m1gallery li.gallerybox div.thumb {border:2px solid #41beff; border-radius:2px; background-color:#41beff44;} | ||
.ebgallery li.gallerybox div.thumb {border:2px solid #fd3e4d; border-radius:2px; background-color:#fd3e4d44;} | .ebgallery li.gallerybox div.thumb {border:2px solid #fd3e4d; border-radius:2px; background-color:#fd3e4d44;} |
Revision as of 12:34, 18 June 2024
/* CSS placed here will be applied to all skins */ /* Site logo */ #p-logo a { background: url(https://wikibound.info/w/images/thumb/b/bc/WikiBound.png/150px-WikiBound.png) image-rendering: optimizeSpeed; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; image-rendering: crisp-edges; -ms-interpolation-mode: nearest-neighbor; 75% 50% no-repeat !important; background-size: 150px; } #p-logo a:hover { background: url(https://wikibound.info/w/images/thumb/b/bc/WikiBound.png/150px-WikiBound.png) image-rendering: optimizeSpeed; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; image-rendering: crisp-edges; -ms-interpolation-mode: nearest-neighbor; 75% 50% no-repeat !important; } /***** BACKGROUND AND BORDER COLORS FOR CONTENT*****/ /* Border colors */ .borderc1 { border-color: #e9e9e9; border-width:thin; }/* light grey */ .borderc2 { border-color: #aaaaaa; border-width: thin; }/* grey (as toc) */ .borderc3 { border-color: #777777; border-width: thin; }/* dark grey */ .borderc4 { border-color: #000000; border-width: thin; }/* black */ .borderc5 { border-color: #c00000; border-width: thin; }/* red */ .borderc6 { border-color: #025e9d; border-width: thin; }/* blue */ .borderc7 { border-color: #008040; border-width: thin; }/* green */ .borderc8 { border-color: #ffcc00; border-width: thin; }/* yellow */ /* Background colors */ .backgroundc1 { background-color: #ffffff; }/* white */ .backgroundc2 { background-color: #f9f9f9; }/* light grey (as toc)*/ .backgroundc3 { background-color: #eeeeee; }/* light grey (headers) */ .backgroundc4 { background-color: #e0e0e0; }/* more grey */ .backgroundc5 { background-color: #d2d2d2; }/* more grey */ .backgroundc6 { background-color: #b7b7b7; }/* more grey */ .backgroundc7 { background-color: #a3a3a3; }/* darker grey */ /***** SOME OTHER SMALL THINGS *****/ /* Marking redirects in Special:Allpages*/ .allpagesredirect { font-style: italic; } .watchlistredir { font-style: italic; } /* SideBoxes ([[:de:Wikipedia:TownBox|TB]]) */ div.sideBox { position: relative; float: right; background: white; margin-left: 1em; border: 1px solid gray; padding: 0.3em; width: 200px; overflow: hidden; clear: right; } div.sideBox dl { padding: 0; margin: 0 0 0.3em 0; font-size: 96%; } div.sideBox dl dt { background: none; margin: 0.4em 0 0 0; } div.sideBox dl dd { margin: 0.1em 0 0 1.1em; background-color: #f3f3f3; } /* Major warning - used on the main page template to warn against editing carelessly, but can be used elsewhere as well */ .majorwarning { background: yellow; padding: 0.3em; text-align: center; font-size: 125%; border: 2px solid red; } /* wikitable/prettytable class for skinning normal tables */ table.wikitable { margin: 1em 1em 1em 0; background: #f9f9f9; /*border: 1px #aaa solid;*/ border-collapse: collapse; empty-cells: show; } table.wikitable th, table.wikitable td { /*border: 1px #aaa solid;*/ padding: 0.2em 0.4em; } table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3 { background: #8da7d6; text-align: center; } table.wikitable td.hl1, table.wikitable th.hl1 { background: #c5d8fc; text-align: center; } table.wikitable td.hl2, table.wikitable th.hl2 { background: #a7c1f2; text-align: center; } table.wikitable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } /** Sidebar External Links **/ #n-browse-cvs a, #n-phpdoc a, #n-Mailing-list a { background: url(/skins-1.5/monobook/external.png) center right no-repeat; padding-right: 13px; color: #36b; } /* make the list of references look smaller */ ol.references { font-size: 100%; } .references-small { font-size: 90%; } /* prevent ugly horizontal page expansion */ pre { overflow: auto; } /* Language template */ .LanguageLinks { margin-top: 0.5em; } .LanguageLinks table { clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 85%; margin: 0 1px; } .LanguageLinks span { white-space: nowrap; } /* Page headings used throughout the wiki (though not very much at the time of writing...) */ .page-notice, .page-warning { border-width: 1px; border-style: solid; padding: 0.3em 0.5em; margin-bottom: 1em; width: 80%; margin-left: auto; margin-right: auto; text-align: center; } /* Used to add informative notices to the top of pages - BLUE */ .page-notice { background-color: #f9f9f9; border-color: #025e9d; text-align: left; } /* Used to add warning information to the top of pages - RED */ .page-warning { background-color: #ffffff; border-color: #c51919; border-width: 2px; } .pw-head { color: #c51919; font-weight: bold; } .center1 { margin-left: auto; margin-right: auto; } .center2 { text-align: center; } .center { text-align: center; } .center table { margin-left: auto; margin-right: auto; text-align: left; } td.art { background: #000000; color: #FFFF00; align: center; } td.wikirelated { background: #000000; color: #FF00FF; text-align: center; } td.writing { background: #000000; color: #00FFFF; } td.general { background: #000000; color: #FFFFFF; text-align: center; } table.article, div.article, td.article, span.article { border: medium double #660000 } table.file, div.file, td.file, span.file { border: medium double #006600 } table.category, div.category, td.category, span.category { border: medium double #000066 } table.template, div.template, td.template, span.template { border: medium double #008080 } table.special, div.special, td.special { border: medium double #666666; } table.newsletter { border: medium double #666666; align: right; } div.newsletter td { border: medium single #666666; } /* http://en.wikipedia.org/wiki/MediaWiki:Common.css - June 6th, 2009 */ .collapseButton {/* 'show'/'hide' buttons created dynamically */ float: right;/* by the CollapsibleTables javascript in*/ font-weight: normal; /* [[MediaWiki:Common.js]]are styled here*/ text-align: right; /* so they can be customized.*/ width: auto; } .navbox .collapseButton {/* In navboxes, the show/hide button balances */ width: 6em;/* the vde links from [[Template:Tnavbar]], */ }/* so they need to be the same width. */ .default-border-radius { border-radius: 5px; } .default-border-top { border-top-left-radius:5px; border-top-right-radius:5px; } .default-border-bottom { border-bottom-left-radius:5px; border-bottom-right-radius:5px; } /* .portlet { border-top-right-radius:5px; border-bottom-right-radius:5px; } */ #p-cactions ul li, #p-cactions ul li a, #p-cactions li.selected, #p-cactions li.selected a { border-top-left-radius: 1em 1em; border-top-right-radius: 1em 1em; } .roundy { border-radius: 10px; } .roundytl { border-top-left-radius: 10px; } .roundytr { border-top-right-radius: 10px; } .roundybl { border-bottom-left-radius: 10px; } .roundybr { border-bottom-right-radius: 10px; } .roundybottom { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } .roundytop { border-top-left-radius: 10px; border-top-right-radius: 10px; } .roundyleft { border-top-left-radius: 10px; border-bottom-left-radius: 10px; } .roundyright { border-bottom-right-radius: 10px; border-top-right-radius: 10px; } ul.tabbernav li { border-radius: 10px; } .tabberlive .tabbertab { border-radius: 10px; border: none; } .center { margin-left: auto; margin-right: auto; } .right { float: right; } /* Show site tagline, located at MediaWiki:Tagline */ #siteSub { display: inline; font-size: 92%; font-weight: normal; } /***** Staff member highlighting code, designed by User:Ultimate Toad (requires manual updating!) *****/ /* Oddballs */ .mw-userlink[title="User:AlexBot2004"], #li#pt-userpage a { color: #36D07A !important; } /* Administrators */ #whoadmin a { color: #A1871F !important; } /* Bureaucrats */ .mw-userlink[title="User:Trig Jegman"], .mw-userlink[title="User:Ultimate Toad"], .mw-userlink[title="User:Tacopill"], #whocrat a { color: #9932CC !important; } /* Server Host */ .mw-userlink[title="User:Ampera"], #li#pt-userpage a { color:#18CEFF !important; } /* hide potentially sensitive data on file pages */ #mw_metadata .exif-gpslatitude, #mw_metadata .exif-gpslongitude, #mw_metadata .exif-artist { display: none; } /* Hide license dropdown on [[Special:Upload]] */ p.mw-upload-editlicenses { display: none; } .mw-htmlform-field-Licenses { display: none; } .img-greyscale { filter: grayscale(100%); } /* Module navboxes */ .module-navbox > span.mw-collapsible-toggle { font-weight: bold; transform: translate(-8px,3.15px) } .lua-navbox td, .lua-navbox th { padding: 5px; } .lua-navbox td { width: 100%; } .lua-navbox tr:nth-child(even) td { background: rgba(0,0,0,.1) } .lua-navbox tr:last-of-type th { border-radius: 0 0 0 12px; } .lua-navbox tr:last-of-type td { border-radius: 0 0 12px 0 } .lua-navbox ul { margin: 0; } .lua-navbox ul li { display: inline; } .lua-navbox ul li:not(:last-child):after { content: " • " } @media screen and (max-width: 925px) { .lua-navbox { width: 100%; text-align: center; } .lua-navbox th, .lua-navbox td { display: block; } .lua-navbox td { margin-top: 2px; } .lua-navbox tr:last-of-type th { border-radius: 0 } .lua-navbox tr:last-of-type td { border-radius: 0 0 12px 12px } } /* custom gallery colorations */ .ebbgallery li.gallerybox div.thumb {border:2px solid #41beff; border-radius:2px; background-color:#41beff44;} .m1gallery li.gallerybox div.thumb {border:2px solid #41beff; border-radius:2px; background-color:#41beff44;} .ebgallery li.gallerybox div.thumb {border:2px solid #fd3e4d; border-radius:2px; background-color:#fd3e4d44;} .m3gallery li.gallerybox div.thumb {border:2px solid #ffa100; border-radius:2px; background-color:#ffa10044;} .ssbgallery li.gallerybox div.thumb {border:2px solid #a8d0e3; border-radius:2px; background-color:#a8d0e344;} .e64gallery li.gallerybox div.thumb {border:2px solid #8058fa; border-radius:2px; background-color:#8058fa44;} .wbgallery li.gallerybox div.thumb {border:2px solid #ffc08b; border-radius:2px; background-color:#ffc08b44;} .darkgallery div.thumb {background-color: #000505 !important;} .lightgallery div.thumb {background-color: #f8f9fa !important;}