MediaWiki:Common.css

From TalossaWiki
Revision as of 23:33, 22 September 2014 by AD (Talk | contribs)

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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
#f-poweredbyico { display: none; }
.printfooter { display: none; }

/* [[Template:Hatnote]] */
 
.hatnote {
    font-style: italic;
    padding-left: 2em;
    margin-bottom: 0.5em;
}

/* Standard navbox formatting: green, round, and shadowed.  No other operators. */

.navbox {
    background-color:#BAF0A5;
    border-top:solid 2px #BAF0A5;
    border-left:solid 2px #BAF0A5;
    border-radius:1em;
    box-shadow: 5px 5px 5px #777;
}

/* Indented navbox formatting: slightly lighter green, round, and sunken.  No other operators. */

.indbox {
    background-color:#E2FFCD;
    border-radius:1em;
    width:95%;
    margin:auto;
    border:solid 2px #CEFFB9;
    box-shadow:inset 2px 2px 8px #CEFFB9;
}

/*Standard infobox formatting: rounded black borders.  No other operators.*/

.info {
    border-collapse: separate;
    border-spacing: 5;
    border-width: 2px;
    border-style: solid;
    border-color: #000;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    -icab-border-radius: 10px;
    -o-border-radius: 10px;
}

/*Citspace outer box formatting*/

.citout {
    background-color:#FAEBD7;
    border-top:solid 2px #FAEBD7;
    border-left:solid 2px #FAEBD7;
    border-radius:1em;
    padding: 1em;
    box-shadow: 5px 5px 5px #777;
}

/*Citspace header box formatting*/

.cithead {
    background-color:#fae6c2;
    border-radius:1em;
    padding:0.5em;
    margin:auto;
    border:solid 2px #FDF5E6;
    box-shadow:inset 2px 2px 8px #FAF0E6;
}

/*Citspace indented box formatting*/

.citin {
    background-color:#FDF5E6;
    border-radius:1em;
    padding:0.5em;
    margin:auto;
    border:solid 2px #FDF5E6;
    box-shadow:inset 2px 2px 8px #FAF0E6
}

/*Chancery boxes*/

.chanc {
    background-color:white;
    border-radius:1em;
    padding:.5em;
    margin:auto;
    border:solid 10px #F0E68C;
    box-shadow:5px 5px 5px #ccc;
}

/* Removes underlines from certain links for IPA*/
.nounderlines a,
.IPA a:link, .IPA a:visited {
    text-decoration: none !important;
}
/* Prevent line breaks in silly places:
   1) Where desired
   2) Links when we don't want them to
   3) Bold "links" to the page itself
   4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
    white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
    white-space: normal;
}