MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
/* Rizline font */ | /* Rizline font */ | ||
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap'); | @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; | |||
} | |||
/* Template:TriviaBox */ | |||
.rgwiki-main-trivia-box > ul > li { | |||
display: none; | |||
} | |||
.rgwiki-main-trivia-box > ul > li.rgwiki-main-trivia-active { | |||
display: initial; | |||
} | |||
.rgwiki-main-trivia-box > .rgwiki-main-trivia-button { | |||
float: right; | |||
} | |||
/* Rizline Bio templates */ | /* Rizline Bio templates */ | ||
Line 86: | Line 122: | ||
.rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-right > .rgwiki-rizline-bio-text { | .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-right > .rgwiki-rizline-bio-text { | ||
border-left-width: 1px; | border-left-width: 1px; | ||
} | } |
Revision as of 23:28, 12 December 2024
/* 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; } /* Template:TriviaBox */ .rgwiki-main-trivia-box > ul > li { display: none; } .rgwiki-main-trivia-box > ul > li.rgwiki-main-trivia-active { display: initial; } .rgwiki-main-trivia-box > .rgwiki-main-trivia-button { float: right; } /* Rizline Bio templates */ .rgwiki-rizline-bio-chip { width: 211px; height: 30px; box-sizing: border-box; padding: 2px; border-radius: 100px; display: flex; justify-content: center; align-items: stretch; /* user-select: none; */ cursor: default; border: 1px solid transparent; transition: 0.1s; zoom: 0.75; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-focusable { cursor: pointer; } .rgwiki-rizline-bio-chip, .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-inactive { background-color: #e2dbed; color: #8066ad; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-focusable:not(.rgwiki-rizline-bio-chip-clicked):hover, .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-selected { background-color: #cfc4e2; color: #8067ab; border-color: #7c6d96; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-clicked, .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-active { background-color: #7f65af; color: #ffffff; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-left { border-radius: 100px 0 0 100px; justify-content: end; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-right { border-radius: 0 100px 100px 0; justify-content: start; } .rgwiki-rizline-bio-chip > .rgwiki-rizline-bio-text { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: 17px; padding: 0 6px; display: flex; align-items: baseline; border-width: 0; border-style: dashed; } .rgwiki-rizline-bio-chip > .rgwiki-rizline-bio-text, .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-inactive > .rgwiki-rizline-bio-text { border-color: #aea3c3; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-focusable:not(.rgwiki-rizline-bio-chip-clicked):hover > .rgwiki-rizline-bio-text, .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-selected > .rgwiki-rizline-bio-text { border-color: #a697c0; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-clicked > .rgwiki-rizline-bio-text, .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-active > .rgwiki-rizline-bio-text { border-color: #c1aee6; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-left > .rgwiki-rizline-bio-text { border-right-width: 1px; } .rgwiki-rizline-bio-chip.rgwiki-rizline-bio-chip-right > .rgwiki-rizline-bio-text { border-left-width: 1px; }