More actions
Content deleted Content added
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
(48 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
margin-top: 1rem; |
margin-top: 1rem; |
||
margin-bottom: 1rem; |
margin-bottom: 1rem; |
||
⚫ | |||
.expandable-sub-modifier { |
|||
⚫ | |||
padding-bottom: 0.5rem; |
|||
⚫ | |||
} |
|||
.expandable-sub-modifier * { |
|||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
border: 0px none var( --border-color-base ); |
|||
background-color: var( --color-surface-1 ); |
|||
} |
} |
||
Line 16: | Line 35: | ||
margin-top: 1rem; |
margin-top: 1rem; |
||
margin-bottom: 1rem; |
margin-bottom: 1rem; |
||
⚫ | |||
border: none; |
|||
} |
} |
||
Line 23: | Line 44: | ||
margin-top: 0; |
margin-top: 0; |
||
margin-bottom: 0; |
margin-bottom: 0; |
||
border-radius: 0; |
border-bottom-right-radius: 0; |
||
border-bottom-left-radius: 0; |
|||
border-bottom: none; |
border-bottom: none; |
||
⚫ | |||
} |
} |
||
.expandable-table |
.expandable-table .expandable-container .mw-collapsible-toggle { |
||
border- |
border-bottom-right-radius: 0; |
||
border- |
border-bottom-left-radius: 0; |
||
} |
|||
⚫ | |||
border-top-left-radius: 0; |
|||
border-top-right-radius: 0; |
|||
} |
|||
.expandable-table .expandable-container + .expandable-container .mw-collapsible-toggle { |
|||
border-top-left-radius: 0; |
|||
border-top-right-radius: 0; |
|||
} |
} |
||
.expandable-table:last-child { |
.expandable-table .expandable-container:last-child { |
||
border-bottom-left-radius: var( --border-radius--large ); |
border-bottom-left-radius: var( --border-radius--large ); |
||
border-bottom-right-radius: var( --border-radius--large ); |
border-bottom-right-radius: var( --border-radius--large ); |
||
border-bottom: 1px solid var( --border-color-base ); |
border-bottom: 1px solid var( --border-color-base ); |
||
} |
|||
.expandable-table .expandable-container:last-child .mw-collapsible-toggle { |
|||
border-bottom-left-radius: var( --border-radius--large ); |
|||
border-bottom-right-radius: var( --border-radius--large ); |
|||
} |
} |
||
.expandable-header { |
.expandable-header { |
||
font-weight: bold; |
font-weight: bold; |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
/* NOTE: The CSS written below is repeated in MediaWiki:Common.css so that */ |
|||
/* the "[Expand]" and "[Collapse]" text that MediaWiki automatically fills in*/ |
|||
/* is removed more quickly. Basically, this makes for faster page loading. */ |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
Line 71: | Line 91: | ||
border-bottom-right-radius: 0; |
border-bottom-right-radius: 0; |
||
border-bottom: 1px solid var( --border-color-base ); |
border-bottom: 1px solid var( --border-color-base ); |
||
} |
|||
.expandable-table .expandable-container .mw-collapsible-toggle.mw-collapsible-toggle-expanded { |
|||
border-bottom: 1px dashed var( --border-color-base ); |
|||
border-bottom-left-radius: 0; |
|||
border-bottom-right-radius: 0; |
|||
} |
} |
||
Line 81: | Line 107: | ||
font-weight: bold; |
font-weight: bold; |
||
text-decoration: none !important; |
text-decoration: none !important; |
||
color: var( --color-primary ); |
|||
transition: 100ms; |
|||
} |
|||
.mw-collapsible-toggle-expanded .mw-collapsible-text { |
|||
color: var( --color-emphasized ); |
|||
transition: 100ms; |
|||
} |
} |
||
Line 93: | Line 126: | ||
float: right; |
float: right; |
||
font-weight: bold; |
font-weight: bold; |
||
color: var(--color-primary); |
color: var( --color-primary ); |
||
} |
} |
||
.mw-collapsible-toggle-default.mw-collapsible-toggle-expanded::after { |
.mw-collapsible-toggle-default.mw-collapsible-toggle-expanded::after { |
||
Line 99: | Line 132: | ||
transition: 100ms; |
transition: 100ms; |
||
margin-right: 1.5rem; |
margin-right: 1.5rem; |
||
color: var( --color-emphasized ); |
|||
} |
} |
||
.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed::after { |
.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed::after { |
||
Line 104: | Line 138: | ||
transition: 100ms; |
transition: 100ms; |
||
margin-right: 1.5rem; |
margin-right: 1.5rem; |
||
color: var( --color-primary ); |
|||
} |
} |
||
Line 151: | Line 186: | ||
transition: 100ms; |
transition: 100ms; |
||
opacity: 1; |
opacity: 1; |
||
padding-top: 3. |
padding-top: 3.25rem; |
||
padding-bottom: 1rem; |
padding-bottom: 1rem; |
||
padding-left: 1rem; |
padding-left: 1rem; |
||
Line 169: | Line 204: | ||
} |
} |
||
.expandable-content-container *:first-child { |
/* .expandable-content-container *:first-child { |
||
padding-top: 0; |
padding-top: 0; |
||
margin-top: 0; |
margin-top: 0; |
||
Line 177: | Line 212: | ||
padding-bottom: 0; |
padding-bottom: 0; |
||
margin-bottom: 0; |
margin-bottom: 0; |
||
} |
} */ |
||
/* .expandable-container .wikitable, |
|||
.expandable-container .wikitable * { |
|||
all: revert; |
|||
background: none; |
|||
border: initial; |
|||
margin: initial; |
|||
padding: initial; |
|||
color: inherit; |
|||
⚫ |
Latest revision as of 20:06, 31 March 2025
.expandable-container {
background-color: var( --color-surface-1 );
border: 1px solid var( --border-color-base );
border-radius: var( --border-radius--large );
/* padding: 1rem;
margin-top: 1em; */
padding: 0;
margin: 0;
margin-top: 1rem;
margin-bottom: 1rem;
}
.expandable-sub-modifier {
border-bottom: 1px solid var( --border-color-base );
padding-bottom: 0.5rem;
margin-bottom: 0.5rem;
}
.expandable-sub-modifier * {
color: var( --color-emphasized );
}
.mw-collapsible-toggle {
float: left;
width: 100%;
transition: 100ms;
border-radius: var( --border-radius--large);
border: 0px none var( --border-color-base );
background-color: var( --color-surface-1 );
}
.expandable-table {
padding: 0;
margin: 0;
margin-top: 1rem;
margin-bottom: 1rem;
background-color: transparent;
border: none;
}
.expandable-table .expandable-container {
padding: 0;
margin: 0;
margin-top: 0;
margin-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border-bottom: none;
}
.expandable-table .expandable-container .mw-collapsible-toggle {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.expandable-table .expandable-container + .expandable-container {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.expandable-table .expandable-container + .expandable-container .mw-collapsible-toggle {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.expandable-table .expandable-container:last-child {
border-bottom-left-radius: var( --border-radius--large );
border-bottom-right-radius: var( --border-radius--large );
border-bottom: 1px solid var( --border-color-base );
}
.expandable-table .expandable-container:last-child .mw-collapsible-toggle {
border-bottom-left-radius: var( --border-radius--large );
border-bottom-right-radius: var( --border-radius--large );
}
.expandable-header {
font-weight: bold;
}
.mw-collapsible-toggle:hover {
background-color: var( --color-surface-2 );
}
.mw-collapsible-toggle:active {
background-color: var( --color-surface-3 );
}
.mw-collapsible-toggle.mw-collapsible-toggle-expanded {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-bottom: 1px solid var( --border-color-base );
}
.expandable-table .expandable-container .mw-collapsible-toggle.mw-collapsible-toggle-expanded {
border-bottom: 1px dashed var( --border-color-base );
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.mw-collapsible-text {
float: left;
margin: 1rem;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
padding: 0;
font-weight: bold;
text-decoration: none !important;
color: var( --color-primary );
transition: 100ms;
}
.mw-collapsible-toggle-expanded .mw-collapsible-text {
color: var( --color-emphasized );
transition: 100ms;
}
.mw-collapsible-toggle-default::before {
display: none;
}
.mw-collapsible-toggle-default::after {
content: '⟩';
margin: 1rem;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
float: right;
font-weight: bold;
color: var( --color-primary );
}
.mw-collapsible-toggle-default.mw-collapsible-toggle-expanded::after {
transform: rotate(90deg);
transition: 100ms;
margin-right: 1.5rem;
color: var( --color-emphasized );
}
.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed::after {
transform: rotate(0deg);
transition: 100ms;
margin-right: 1.5rem;
color: var( --color-primary );
}
/* .mw-collapsible-toggle-default::before {
font-weight: bold;
} */
/* .mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed::before {
content: '⟩';
margin: 1rem;
float: right;
}
.mw-collapsible-toggle-default.mw-collapsible-toggle-expanded::before {
content: '⟩';
margin: 1rem;
float: right;
} */
/* .mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed {
transform: rotate(0deg);
transition: 100ms;
margin-right: 1em;
}
.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed:hover {
color: var(--color-primary);
}
.mw-collapsible-toggle-default.mw-collapsible-toggle-expanded {
transform: rotate(90deg);
transition: 100ms;
margin-right: 1em;
color: var(--color-primary);
} */
/* .mw-collapsible-text {
display: none;
} */
.mw-collapsible-content {
display: block !important;
padding: 0;
}
.expandable-content-container {
transition: 100ms;
opacity: 1;
padding-top: 3.25rem;
padding-bottom: 1rem;
padding-left: 1rem;
padding-right: 1rem;
}
.mw-collapsed .expandable-content-container {
transition: 100ms;
height: 0;
margin: 0;
padding: 0;
opacity: 0;
padding-left: 1rem;
padding-right: 1rem;
overflow: hidden;
content: none;
}
/* .expandable-content-container *:first-child {
padding-top: 0;
margin-top: 0;
}
.expandable-content-container *:last-child {
padding-bottom: 0;
margin-bottom: 0;
} */
/* .expandable-container .wikitable,
.expandable-container .wikitable * {
all: revert;
background: none;
border: initial;
margin: initial;
padding: initial;
color: inherit;
} */