User:Ch1902/vector.css
Jump to navigation
Jump to search
Note: You may have to bypass your browser’s cache to see the changes. In addition, after saving a sitewide CSS file such as MediaWiki:Common.css, it will take 5-10 minutes before the changes take effect, even if you clear your cache.
- Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
- Konqueror and Chrome: click Reload or press F5;
- Opera: clear the cache in Tools → Preferences;
- Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.
- This stylesheet lacks a documentation subpage. You may create it.
- Useful links: root page • root page’s subpages • links • redirects • your own
This CSS is applied for Ch1902 to every page, when User:Ch1902 is using the Vector skin.
/* User:Ch1902/vector.css */
body { font-family: Calibri, sans-serif; font-size: 1.1em; }
#mw-panel { width: 9em; margin-left:-0.75em }
#content { margin-left: 9em; }
#mw-head-base { margin-left: 9em; }
#left-navigation { left: 9em; }
#p-logo, #p-logo a { width: 9em; }
#p-cactions { display: block !important; }
.history-size { display: none; }
.navpopup {
background: #FFF !important;
border: 1px solid #A7D7F9 !important;
min-width: 600px !important;
max-height: 300px !important;
overflow: auto !important;
font-size: 0.7em;
text-align: justify;
box-shadow: 0 0 1em #333;
line-height: 1.4em;
}
.navpopup .popupTitle { font-size: 0.86em !important; }
table.popup_diff_dates, table.popup_diff_dates + hr { display: none !important; }
tr.popup_history_row_even td:first-child, tr.popup_history_row_odd td:first-child { display: none !important; }
tr.popup_history_row_even td, tr.popup_history_row_odd td { text-align: left !important; padding: 1px 2px !important; }
.navpopup ins.popupDiff, .navpopup del.popupDiff {
border-radius: 0.33em !important;
padding: 0.25em 0 !important;
text-decoration: none !important;
white-space: pre-wrap !important;
color: #000 !important;
}
.popupDiff { font-weight: bold !important; }
ins.popupDiff { background: #D8ECFF !important; }
del.popupDiff { background: #FEEEC8 !important; }
.navpopup hr { height: 1px !important; background: #2F6FAB !important; }
.navpopup h1, .navpopup h2, .navpopup h3 { border-bottom: 1px solid #AAA !important; }
/* category pages */
#mw-subcategories ul, #mw-subcategories li {
list-style-type: none !important;
list-style-image: none !important;
padding: 0 !important;
margin: 0 !important;
}
#mw-subcategories h3 {
font-size: 1.15em !important;
margin: 5px 0 2px 0 !important;
padding: 0 0 2px 0 !important;
border-bottom: 1px solid #EEE !important;
}
/* turn [+] etc into folder/file icons */
span.CategoryTreeEmptyBullet {
text-align: left;
text-indent: -2000px !important;
display: inline-block;
width: 19px;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/c/c6/Folder-visiting.svg/18px-Folder-visiting.svg.png) center center no-repeat;
}
span.CategoryTreeToggle[title="expand"] {
text-align: left !important;
text-indent: -2000px !important;
display: inline-block !important;
width: 19px;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Folder.svg/18px-Folder.svg.png) center center no-repeat;
}
span.CategoryTreeToggle[title="collapse"] {
text-align: left !important;
text-indent: -2000px !important;
display: inline-block !important;
width: 19px;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Folder-drag-accept.svg/18px-Folder-drag-accept.svg.png) center center no-repeat;
}
a.CategoryTreeLabelPage {
padding-left: 22px;
margin-left: -0.6em;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/X-office-document.svg/18px-X-office-document.svg.png) left center no-repeat !important;
}
/* replace details with icon on category pages, details shown as title attribute onmouseover */
#mw-subcategories a.CategoryTreeLabel + span {
text-align: left !important;
text-indent: -2000px !important;
display: inline-block !important;
width: 19px;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Gnome-dialog-question.svg/16px-Gnome-dialog-question.svg.png) center center no-repeat;
}
/* hide info icon for totally empty categories */
#mw-subcategories a.CategoryTreeLabel + span[title="Contains 0 subcategories, 0 pages, and 0 files"] {
display: none !important;
}