MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 87: | Line 87: | ||
padding-right: 8px; | padding-right: 8px; | ||
width: 0; | width: 0; | ||
background-color: linen; | |||
} | |||
.rgwiki-main-navbox-section td { | |||
background-color: floralwhite; | background-color: floralwhite; | ||
} | } | ||
.rgwiki-main-navbox ul { | .rgwiki-main-navbox-section ul { | ||
display: inline; | display: inline; | ||
margin: 0; | margin: 0; | ||
} | } | ||
.rgwiki-main-navbox li { | .rgwiki-main-navbox-section li { | ||
display: inline list-item; | display: inline list-item; | ||
margin-left: 2px; | margin-left: 2px; | ||
} | } | ||
.rgwiki-main-navbox li:first-child { | .rgwiki-main-navbox-section li:first-child { | ||
display: inline; | display: inline; | ||
margin-left: 0; | margin-left: 0; | ||
} | } | ||
.rgwiki-main-navbox ul ul::before { | .rgwiki-main-navbox-section ul ul::before { | ||
content: "("; | content: "("; | ||
} | } | ||
.rgwiki-main-navbox ul ul::after { | .rgwiki-main-navbox-section ul ul::after { | ||
content: ")"; | content: ")"; | ||
} | } |
Revision as of 10:10, 27 February 2025
/* CSS placed here will be applied to all skins */ /* Rizline font */ @import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap'); /* General utility classes */ .nowrap { white-space: nowrap; } .wrap-anywhere { overflow-wrap: anywhere; } /* Template:Tooltip */ .dotted-underline { border-bottom: 1px dotted black; cursor: help; } /* Generic "gadget disabled" message */ .rgwiki-main-gadget-disabled { border-color: #bbbbbb; border-style: solid; border-width: 0 6px 0 6px; border-radius: 6px; background-color: #bbbbbb1f; padding: 0.5em 1em; margin: 1em; display: block !important; color: #666; } /* Template:TriviaBox */ /* Hide by default, more CSS is in [[MediaWiki:Gadget-main-trivia-box.css]] */ .rgwiki-main-trivia-box { display: none; } /* Template:SpoilerWarning */ /* Hide text message. The message is copied to the shown box in [[MediaWiki:Gadget-main-spoiler-warning-screen.js]] */ .rgwiki-main-show-spoiler-warning-screen { display: none; } /* Template:NavBox */ .rgwiki-main-navbox-buttons { position: absolute; right: 0; font-size: 8pt; font-weight: initial; } .rgwiki-main-navbox { margin: auto; margin-top: 16px; border-collapse: collapse; } .rgwiki-main-navbox caption { font-weight: bold; } .rgwiki-main-navbox .rgwiki-main-navbox-section { width: 100%; margin: 0; } .rgwiki-main-navbox .rgwiki-main-navbox-header-row { white-space: nowrap; padding-left: 8px; padding-right: 8px; background-color: antiquewhite; } .rgwiki-main-navbox .rgwiki-main-navbox-header-row .mw-collapsible-toggle { position: absolute; right: 10px; } .rgwiki-main-navbox .rgwiki-main-navbox-row { white-space: nowrap; text-align: right; padding-left: 8px; padding-right: 8px; width: 0; background-color: linen; } .rgwiki-main-navbox-section td { background-color: floralwhite; } .rgwiki-main-navbox-section ul { display: inline; margin: 0; } .rgwiki-main-navbox-section li { display: inline list-item; margin-left: 2px; } .rgwiki-main-navbox-section li:first-child { display: inline; margin-left: 0; } .rgwiki-main-navbox-section ul ul::before { content: "("; } .rgwiki-main-navbox-section ul ul::after { content: ")"; }