Difference between revisions of "MediaWiki:Common.css"

From Ōkami Speedrun Wiki
Jump to navigation Jump to search
(Adding rule for highlighting directly-linked table rows)
 
(adding hatnote styling)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
  * directly-linked table rows, mainly for [[Bitfield Table]]: */
  * directly-linked table rows, mainly for [[Bitfield Table]]: */
tr:target {
tr:target {
background-color:#ffc;
background-color:#bcf;
box-shadow: 0 2px 8px #667c;
box-shadow: 0 2px 8px #667c;
}
/* The following has been added by Auride on 30 June 2021 for adding padding
* and margin to hatnotes (see https://en.wikipedia.org/wiki/Wikipedia:Hatnote): */
.hatnote {
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
}

Latest revision as of 17:06, 30 June 2021

/* CSS placed here will be applied to all skins */

/* The following has been added by Auride on 6 June 2021 for highlighting
 * directly-linked table rows, mainly for [[Bitfield Table]]: */
tr:target {
	background-color:#bcf;
	box-shadow: 0 2px 8px #667c;
}

/* The following has been added by Auride on 30 June 2021 for adding padding
 * and margin to hatnotes (see https://en.wikipedia.org/wiki/Wikipedia:Hatnote): */
.hatnote {
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}