User:Seb26/vector.css

From Team Fortress Wiki
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* General */
body              { direction: ltr !important; }
tt, code, pre     { font-family: monospace, sans-serif; }
code, pre         { word-wrap: break-word; background: #F7F7F7; border: 1px solid #CECECE; }
code              { border: none; }
input#wpNick      { width: 512px; }
div.patrollink    { display: none; }
table.lang-title  { background: #eef3e2; }
.mw-plusminus-pos { color: green; }
.mw-plusminus-neg { color: red; }
#wpTextbox1       { line-height: 1.5em; padding: 0.25em; 
                    background: #f9f9f9; border: 1px solid #CECECE; 
                    direction: ltr !important;
                  }
.mw-userlink      { font-weight: normal !important; }

/* Recent Changes */
a.mw-userlink[title="User:Seb26"]  { color: #0070FF !important; }
.mw-rollback-link                  { display: none; }
#mw-diff-ntitle2 .mw-rollback-link { display: inline !important; }
#pagehistory .mw-rollback-link     { display: inline !important; }
.trusted                           { opacity: 0.9; color: black !important; }
a.new, #quickbar a.new             { color: #C20 !important; }

/* Diff styling */
.diffchange         { background: #E72525; color: white; font-weight: normal; }
td.diff-addedline   { font-family: monospace; font-size: 1.5em; }
td.diff-deletedline { background: #ffa; font-family: monospace; font-size: 1.5em; }
td.diff-context     { background: #eee; font-family: monospace; font-size: 1.5em; }
.diff-file          { font-size: 1.5em; }

/* Testing .hlist from [[w:MediaWiki:Common.css]] */
/* Style for horizontal lists (separator following item) */
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
}
.hlist dd,
.hlist dt,
.hlist li { 
    display: inline;
    margin: 0;
}
/* Display nested lists inline */
.hlist dl dl,
.hlist ol ol,
.hlist ul ul {
    display: inline;
}
/* Generate interpuncts */
.hlist dt:after {
    content: " :";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* for IE 8 */
.hlist dd.nopunct:after,
.hlist dt.nopunct:after,
.hlist li.nopunct:after {
    content: none;
}
/* Add parens around nested lists */
.hlist dl dl:before,
.hlist ol ol:before,
.hlist ul ul:before {
    content: "(";
}
.hlist dl dl:after,
.hlist ol ol:after,
.hlist ul ul:after {
    content: ")";
}
/* Put numbers in ordered lists */
.hlist.hnum ol li {
    counter-increment: level1;
}
.hlist.hnum ol li:before {
    content: counter(level1) " ";
}
.hlist.hnum ol ol li {
    counter-increment: level2;
}
.hlist.hnum ol ol li:before {
    content: counter(level2) " ";
}