MediaWiki:Mobile.css: Difference between revisions
Content added Content deleted
(messing with the indent warning) |
(sync) |
||
Line 90: | Line 90: | ||
.mw-body-header:not(:has(#firstHeading > .mw-page-title-namespace)) ~ #bodyContent .mw-parser-output :is(dd:first-child, :not(:is(dt, dd)) + dd)::before { |
.mw-body-header:not(:has(#firstHeading > .mw-page-title-namespace)) ~ #bodyContent .mw-parser-output :is(dd:first-child, :not(:is(dt, dd)) + dd)::before { |
||
color: red; |
color: red; |
||
content: "Using colons for indents harms accessibility and is not recommended. Use |
content: "Using colons for indents harms accessibility and is not recommended. Use {{Indent}} or a styled HTML element instead."; |
||
font-size: smaller; |
font-size: smaller; |
||
font-weight: bold; |
font-weight: bold; |
Revision as of 21:45, 14 August 2023
/* o ante e Common.css kin */
@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@font-face {
font-family: "linja lipamanka";
src: url("https://static.miraheze.org/sonaponawiki/4/4c/linjalipamanka-normal.woff") format("woff");
}
/*
@font-face {
font-family: "Fairfax Pona HD";
src: url("https://static.miraheze.org/sonaponawiki/1/12/FairfaxPonaHD.woff") format("woff");
}
*/
.toki-pona {
font-style: italic;
}
.sitelen-pona, .sitelen-pona-static {
font-family: "linja lipamanka", "Fairfax Pona HD", "nasin nanpa", "linja sike", "linja pona", sans-serif;
line-height: 0;
/* font-size: 125%; */
}
.sitelen-pona:hover, .sitelen-pona:active {
font-family: sans-serif;
/* font-size: 100%; */
font-style: italic;
background-color: #ddd;
}
ol.references {
font-size: 90%;
}
blockquote, .vector-body blockquote {
padding: 8px 12px;
margin: 8px 0;
}
.mw-parser-output del {
text-decoration: red wavy line-through;
}
/* Infobox and navbox */
.infobox, .navbox {
border-collapse: separate;
border-spacing: 0.2em;
}
:is(.infobox, .navbox) > * > tr > :is(th, td) {
border: 0;
}
:is(.infobox, .navbox) .mw-collapsible-toggle {
margin: -0.2em -0.4em;
padding: 0.2em 0.4em;
}
.navbox .mw-collapsible-toggle {
height: 100%;
width: 2em;
}
:is(.infobox, .navbox) .mw-collapsible-text {
text-decoration: none;
}
.navbox .mw-collapsible-toggle-text {
height: 100%;
width: 100%;
}
:is(.infobox, .navbox) .mw-collapsible-toggle::before, :is(.infobox, .navbox) .mw-collapsible-toggle::after {
display: none;
}
/* Mark invalid description lists */
.mw-body-header:not(:has(#firstHeading > .mw-page-title-namespace)) ~ #bodyContent .mw-parser-output :is(dd:first-child, :not(:is(dt, dd)) + dd) {
outline: 1px solid #ff00003f;
}
.mw-body-header:not(:has(#firstHeading > .mw-page-title-namespace)) ~ #bodyContent .mw-parser-output :is(dd:first-child, :not(:is(dt, dd)) + dd)::before {
color: red;
content: "Using colons for indents harms accessibility and is not recommended. Use {{Indent}} or a styled HTML element instead.";
font-size: smaller;
font-weight: bold;
}