-The Dream Cancel Wiki has successfully upgraded it's wiki software and editing has returned. Tables for data have returned.
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Franck Frost (talk | contribs) No edit summary |
Franck Frost (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 319: | Line 319: | ||
} | } | ||
/* | /* Movelist Toggles */ | ||
. | .movelist-toggles { | ||
display: flex; | display: flex; | ||
} | } | ||
. | .movelist-toggle-button { | ||
user-select: none; | user-select: none; | ||
flex-flow: row wrap; | flex-flow: row wrap; | ||
Line 333: | Line 333: | ||
} | } | ||
. | .movelist-toggle-off { | ||
background-color: #aaa; | background-color: #aaa; | ||
} | } | ||
. | .movelist-toggle-on { | ||
background-color: #eee; | background-color: #eee; | ||
} | } | ||
/* End | /* End Movelist Toggles */ | ||
.client-js .mw-edittools-section input[type="button"] { | .client-js .mw-edittools-section input[type="button"] { |
Latest revision as of 20:40, 19 October 2023
/* CSS placed here will be applied to all skins */ /* <source lang="css"> */ /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } /* wikitable/prettytable class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; text-align: center; font-family:"Tahoma"; font-size: 95%; } .wikitable th, .wikitable td, .prettytable th, .prettytable td { border: 1px #aaa solid; padding: 0.2em; } .wikitable th, .prettytable th { background: #e9e9e9; text-align: center; font-family:"Tahoma"; } .wikitable caption, .prettytable caption { font-weight: bold; } /* wikitable2/prettytable class for non-centered tables */ table.wikitable2, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-family:"Tahoma"; font-size: 95%; } .wikitable2 th, .wikitable2 td, .prettytable th, .prettytable td { border: 1px #aaa dashed; padding: 0.2em; } .wikitable2 th, .prettytable2 th { background: #e9e9e9; font-family:"Tahoma"; } .wikitable2 caption, .prettytable2 caption { font-weight: bold; } /* </source> */ .tooltip { position: relative; display: inline; border-bottom: 1px dashed black; } .tooltiptext { visibility: hidden; min-width: 250px; padding: 12px 14px; position: absolute; left: 50%; bottom: calc(20px + 100%); z-index: 99999; background: #fff; box-shadow: 0 2px 0 0 rgba(0,0,0,0.15); border: 1px solid #a2a9b1; border-radius: 2px; white-space: normal; font-weight: normal; font-style: initial; text-align: center; font-size: 14px; line-height: 1.6; } .tooltiptext:after, .tooltiptext:before { content: ''; position: absolute; left: 50%; border-style: solid; } .tooltiptext:after { top: 100%; bottom: auto; width: 20px; height: 20px; background: #fff; margin-top: -10px; margin-left: -10px; box-shadow: 1px 1px 0px #a2a9b1; transform: rotate(45deg); border-width: 0; } .tooltiptext:before { top: 100%; bottom: auto; border-width: 18px; margin-left: -18px; border-color: rgba(0,0,0,0.15) transparent transparent transparent; pointer-events: none; } .tooltip .tooltip .tooltiptext, .header-fixed-helper .tooltip .tooltiptext { bottom: auto; top: calc(20px + 100%); } .tooltip .tooltip .tooltiptext:after, .header-fixed-helper .tooltip .tooltiptext:after { top: auto; bottom: 100%; border-width: 15px; margin-left: -15px; border-color: transparent transparent white transparent; width: 0; height: 0; box-shadow: none; background: none; transform: none; } .tooltip .tooltip .tooltiptext:before, .header-fixed-helper .tooltip .tooltiptext:before { top: auto; bottom: 100%; border-width: 16px; margin-left: -16px; border-color: transparent transparent #888 transparent; } .tooltiptext span.hr { display: block; height: 1px; background-color: #a2a9b1; } .tooltiptext hr, .tooltiptext span.hr { margin: 10px 0 12px; position: relative; background: none; } .tooltiptext hr:after, .tooltiptext span.hr:after { content: ''; display: block; width: 100%; height: 1px !important; position: absolute; left: -14px; background: #a2a9b1; padding: 0 14px; } .tooltip:hover > .tooltiptext, .tooltip.hover > .tooltiptext { visibility: visible; } .tooltiptext { opacity: 0; transition: opacity 200ms ease, visibility 0s ease 200ms, transform 200ms ease; transform: translate(-50%, 8px); } .tooltip .tooltip .tooltiptext, .header-fixed-helper .tooltip .tooltiptext { transform: translate(-50%, -8px); } .tooltip:hover > .tooltiptext, .tooltip.hover > .tooltiptext { opacity: 1; transition-delay: 0s; transform: translate(-50%, 0); } .tooltiptext a { color: #0645ad; border-bottom: 0; } .tooltiptext a:visited { color: #0b0080; } .tooltiptext a:active { color: #faa700; } .tooltiptext a:hover, a:focus { text-decoration: underline; } .tooltiptext { color: #252525; } .tooltiptext a.new { color: #ba0000; } /* Remove .mw-body-content stacking context so the tooltip can overlap with elements outside content area and be shown properly */ .mw-body-content { z-index: auto; } .flow-post .flow-post-content { overflow: visible; } /* MoveData Hitbox Toggle */ .hitbox-toggle-off, .hitbox-toggle-on { background-image: url("/images/a/a9/Hitbox_display_button.png"); opacity: 0.5; border: 1px solid #000; width: 134px; height: 24px; cursor: pointer; } .hitbox-toggle-on { opacity: 1.0; display: none; } .hitbox-toggle-off { opacity: 0.5; } .move-image { } .hitbox-image, .hitbox-caption { display: none; } /* End MoveData Hitbox Toggle */ /* Hover Box for switching the visibility of the selected item */ .hoverbox {display:inline-block;} .hoverbox .hoveritem {display:none;} .hoverbox .hoveritem.selected {display:inline-block;} .hoverbox:hover .hoveritem {display:inline-block;} .hoverbox:hover .hoveritem.selected {display:none;} /* Indentation tag */ .tab { margin-left:1.78%; } /* Plainlist div class for unbulleted lists */ .plainlist ol, .plainlist ul { line-height: inherit; list-style: none; margin: 0; padding: 0; /* Reset Minerva default */ } .plainlist ol li, .plainlist ul li { margin-bottom: 0; } .dreambox { border: 1px solid #a7d7f9; border-radius: 2px; margin:5px; } .dreambutton { background-color: #07a9f5; border: none; color: white; text-align: center; text-decoration: none; display: inline-block; padding: 4px 8px 4px; border-radius: 4px; margin: 5px; } .contentbox { border: 1px solid #a7d7f9; border-radius: 2px; margin:5px; padding: 5px 10px; } .contentheading { font-size: 1.75em; font-family: 'Linux Libertine','Georgia','Times',serif; } .subcontentheading { font-size: 1.5em; font-family: 'Linux Libertine','Georgia','Times',serif; } .contenthr { background-color:#e6e6e6; margin: 0px -10px 10px; } /* Movelist Toggles */ .movelist-toggles { display: flex; } .movelist-toggle-button { user-select: none; flex-flow: row wrap; padding: 2px 10px; margin: 0 3px; border-radius: 3px; border: 1px solid black; } .movelist-toggle-off { background-color: #aaa; } .movelist-toggle-on { background-color: #eee; } /* End Movelist Toggles */ .client-js .mw-edittools-section input[type="button"] { font-size: 0.9em; margin-left: 1px; padding-left: 1px; padding-right: 1px; }