User:Bequw/vector.css
Note – after saving, you may have to bypass your browser’s cache to see the changes.
- 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 style sheet 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 Bequw to every page, when User:Bequw is using the Vector skin.
/* @import "http://localhost/wikttest.css"; */
#n-portal, /*#n-wiktprefs, */ #n-requestedarticles, #n-recentchanges, #n-randompage, #n-discussionrooms, #n-help, #n-sitesupport, #n-contact { display: none }
#pt-prefswitch-link-on, #pt-prefswitch-link-anon { display: none }
#searchmenu-new-preload { display: none; }
#t-recentchangeslinked, #t-upload, #t-print, #t-permalink {display:none}
/*#rank { display: none } */
/*Hide the copyright and Terms of Service warnings in the edit window*/
#editpage-copywarn, .mw-tos-summary {display:none}
.lqt_watchlist_messages_notice {display:none}
table#watchlist-utilities {display:none}
.infl-inline {display:inline}
.infl-table {display:none}
.serial-comma { display: inline }
/*simple ToC*/
.ns-0 .toclevel-4,.ns-0 .toclevel-5,.ns-0 .tocnumber {display:none}
/* ---------- right-floated elements ---------- */
.ns-0 table#toc {
/* plus these two to get a scrollable right-side ToC */
/*height:250px;*/
/*overflow:auto;*/
/* match width and margins image box */
-moz-box-sizing: content-box; /* dunno why this is necessary for Firefox */
width: 248px;
padding: 5px;
margin-top: 6px;
margin-right: 0;
margin-bottom: 16px;
margin-left: 23px;
}
table#toc #toctitle {
text-align: left;
}
/* Style for horizontal UL lists */
.horizontal p, .horizontal ul, .horizontal li { display: inline; }
.horizontal ul { padding: 0 0 0 .2em; margin: 0; }
.horizontal li { padding: 0 0.1em 0 0.1em }
/* [[CSS filter#Negation pseudo-class hack]] since IE <8 doesn't support pseudo elements and IE 8 doesn't support :last-child psuedo class. */
html:not([dummyparam]) .horizontal li:after{ content:","; }
html:not([dummyparam]) .horizontal li:last-child:after{ content:"."; }
/* match sister projects boxes to image box */
.ns-0 div.sister-project.floatright {
width: 252px;
padding: 3px !important; /* override inline style */
margin: 6px 0 16px 23px;
}
/* match image box border to TOC, sister-project boxes */
.ns-0 div.thumbinner {
border-color: #aaa;
}