MediaWiki:Common.css

From Unbroken Wiki
Revision as of 06:46, 10 March 2017 by Bryan.christian (talk | contribs) (Created page with "→‎<pre>: →‎=== Template:Ambox designs ===: →‎Ambox design: .ambox { font-size: 95%; width: 80%; margin: 0 auto; border: 1px #474747 solid; borde...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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: Press Ctrl-F5.
/*
<pre>*/
/* === Template:Ambox designs === */
 
/* Ambox design */
.ambox {
    font-size: 95%;
    width: 80%; 
    margin: 0 auto;
    border: 1px #474747 solid;
    border-left: 10px solid #228b22;
    border-collapse: collapse;
    background-color: #242424;
}
 
/* Ambox colours */
.ambox-blue {
    border-left: 10px solid #1e90ff;    /* Blue */
}
.ambox-red {
    border-left: 10px solid #b22222;    /* Red */
}
.ambox-orange {
    border-left: 10px solid #f28500;    /* Orange */
}
.ambox-yellow {
    border-left: 10px solid #f4c430;    /* Yellow */
}
.ambox-purple {
    border-left: 10px solid #9932cc;    /* Purple */
}
.ambox-gray {
    border-left: 10px solid #bba;        /* Gray */
}
.ambox-green {
    border-left: 10px solid #228b22;    /* Green */
}
 
/* Ambox small text */
.ambox-smalltext {
    font-size: smaller;
    margin-top:0.5em;
    margin-left:0.8em;
}
 
/* Ambox image */
.ambox-image {                    /* The left image cell */
    width: 60px;
    padding: 2px 0px 2px 0.5em;        /* 0.5em left, 0px right */
    text-align: center;
}
 
@media print { .ambox { display: none; } }    /* no ambox when printing */
/*</pre>
*/
/* === Glowing hyperlinks === */
a:visited:hover, .color2 a:visited:hover {
  color: #3333CC; 
  text-shadow: #0499f7 0 0 5px;
  text-decoration:none;
}
 
a:hover, .color2 a:hover {
  color: #0000FF0;
  text-shadow: #1900FF 0 0 5px;
  text-decoration:none;
}