MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (Welp) |
(Allow highlighting a section or similar target) |
||
Line 69: | Line 69: | ||
} | } | ||
/* ------------------------------------------------------------- | |||
* Allow highlighting a section or similar target | |||
* ------------------------------------------------------------- */ | |||
.hilite-target:target { | |||
background-color: #ffa; | |||
} | |||
/* ------------------------------------------------------------- | /* ------------------------------------------------------------- |
Revision as of 00:08, 12 August 2023
/* ------------------------------------------------------------- * Runes fonts * -------------------------------------------------------------*/ @font-face { font-family: MadokaRunes; src: url(/w/resources/assets/fonts/runes.ttf?1335354297); } @font-face { font-family: MadokaMusical; src: url(/w/resources/assets/fonts/runesmusical.ttf?1335354297); } /* ------------------------------------------------------------- * TODO table * -------------------------------------------------------------*/ table.todo { width: 100%; } table.todo td:first-child { width: 70px; text-align: center; font-weight: bold; font-size: 11px; } table.todo td:nth-child(2), table.todo td:nth-child(3) { width: 70px; font-size: 11px; text-align: center; } table.todo td.waiting { background: #eee; font-weight: normal; color: #999; } table.todo td.working { background: #FFE5CC; color: #B44723; } table.todo td.working ~ td { background: #FFF9EF; } table.todo td.partial { background: #6E9591; color: #fff; } table.todo td.partial ~ td { background: #D9F2F5; } table.todo td.done { background: #3c3; color: #fff; } table.todo td.done ~ td { background: #E4FFE3; } /* ------------------------------------------------------------- * Allow highlighting a section or similar target * ------------------------------------------------------------- */ .hilite-target:target { background-color: #ffa; } /* ------------------------------------------------------------- * Inline spoilers tag * ------------------------------------------------------------- */ .inline-spoilers, .inline_spoilers a, .inline_spoilers a:visited { /*background: #222; color: #222;*/ background: white; color: white; border-bottom: 1px solid #b3b3b3; border-left: 1px solid #b3b3b3; border-right: 1px solid #b3b3b3; padding: 2px; } .inline-spoilers:hover { color: black; } /* ------------------------------------------------------------- * HAXX * ------------------------------------------------------------- */ .pm-character-box-hack .mw-collapsible-toggle { margin-top: 30px; margin-right: 10px; }