MediaWiki:Common.css: Difference between revisions

From Buddhism Chat
m Protected "MediaWiki:Common.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
#mw-content-text {
#mw-content-text {
   font-size: 0.875em;
   font-size: 100%;
}
}
/* font-size: 0.875em; */
/* Hide unused empty space on Main_Page*/
#mw-content-text .mw-parser-output p:has(br:only-child) {
display: none !important;
}
.ns-3000 #content, .ns-3001 #content { background-color: #f3f3ff; }
.ns-3000 #content, .ns-3001 #content { background-color: #f3f3ff; }
.ns-3000 div.thumb, .ns-3001 div.thumb { border-color: #f3f3ff; }
.ns-3000 div.thumb, .ns-3001 div.thumb { border-color: #f3f3ff; }
/* @import url( 'https://wiki.tnonline.net/resources/assets/fonts/fonts.css'); */
/* @import url( 'https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono'); */


/* IMPORT ALL FONTS FILES */
/* IMPORT ALL FONTS FILES */
/* ###################### */
/* ###################### */
/* Roboto font */


 
/* Dancing Script */
/* cyrillic-ext */
@font-face {
@font-face {
   font-family: 'Roboto';
   font-family: 'Dancing Script';
  font-style: normal;
   src: local('Dancing Script'), url(/w/resources/assets/fonts/dancing_script_01.woff2) format('woff2');
  font-weight: 400;
   src: local('Roboto'), local('Roboto-Regular'), url(resources/assets/fonts/KFOmCnqEu92Fr1Mu72xKOzY.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
   font-display: swap;
   font-display: swap;
}
}
/* cyrillic */
 
@font-face {
/* Roboto Mono */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(resources/assets/fonts/KFOmCnqEu92Fr1Mu5mxKOzY.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-display: swap;
}
/* greek-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(resources/assets/fonts/KFOmCnqEu92Fr1Mu7mxKOzY.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
  font-display: swap;
}
/* greek */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(resources/assets/fonts/KFOmCnqEu92Fr1Mu4WxKOzY.woff2) format('woff2');
  unicode-range: U+0370-03FF;
  font-display: swap;
}
/* vietnamese */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(resources/assets/fonts/KFOmCnqEu92Fr1Mu7WxKOzY.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
  font-display: swap;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(resources/assets/fonts/KFOmCnqEu92Fr1Mu7GxKOzY.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(resources/assets/fonts/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}
/* cyrillic-ext */
@font-face {
@font-face {
   font-family: 'Roboto Mono';
   font-family: 'Roboto Mono';
   font-style: normal;
   font-style: normal;
  font-weight: 400;
   src: local('Roboto Mono'), url(/w/resources/assets/fonts/roboto_mono_variable_01.woff2) format('woff2');
   src: url(resources/assets/fonts/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SeW4Ep0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
   font-display: swap;
   font-display: swap;
}
}
/* cyrillic */
 
@font-face {
@font-face {
   font-family: 'Roboto Mono';
   font-family: 'Roboto Mono';
   font-style: normal;
   font-style: italic;
  font-weight: 400;
   src: local('Roboto Mono'), url(/w/resources/assets/fonts/roboto_mono_italic_variable_01.woff2) format('woff2');
   src: url(resources/assets/fonts/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_QOW4Ep0.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
   font-display: swap;
   font-display: swap;
}
}
/* greek */
 
 
/* Ubuntu Mono font */
@font-face {
@font-face {
   font-family: 'Roboto Mono';
   font-family: 'Ubuntu Mono';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 400;
  src: url(resources/assets/fonts/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_R-W4Ep0.woff2) format('woff2');
  unicode-range: U+0370-03FF;
   font-display: swap;
   font-display: swap;
  src: local('Ubuntu Mono'), url(/w/resources/assets/fonts/ubuntu_mono_regular_01.woff2) format('woff2');
}
}
/* vietnamese */
@font-face {
@font-face {
   font-family: 'Roboto Mono';
   font-family: 'Ubuntu Mono';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 700;
  src: url(resources/assets/fonts/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_S-W4Ep0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
   font-display: swap;
   font-display: swap;
  src: local('Ubuntu Mono'), url(/w/resources/assets/fonts/ubuntu_mono_bold_01.woff2) format('woff2');
}
}
/* latin-ext */
@font-face {
@font-face {
   font-family: 'Roboto Mono';
   font-family: 'Ubuntu Mono';
   font-style: normal;
   font-style: italic;
   font-weight: 400;
   font-weight: 400;
  src: url(resources/assets/fonts/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_SuW4Ep0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
   font-display: swap;
   font-display: swap;
  src: local('Ubuntu Mono'), url(/w/resources/assets/fonts/ubuntu_monoitalic_01.woff2) format('woff2');
}
}
/* latin */
@font-face {
@font-face {
   font-family: 'Roboto Mono';
   font-family: 'Ubuntu Mono';
   font-style: normal;
   font-style: italic;
   font-weight: 400;
   font-weight: 700;
  src: url(resources/assets/fonts/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
   font-display: swap;
   font-display: swap;
  src: local('Ubuntu Mono'), url(/w/resources/assets/fonts/ubuntu_mono_bolditalic_01.woff2) format('woff2');
}
}


/* Quattrocento font */
/* Quattrocento font */
/* latin-ext */
@font-face {
@font-face {
   font-family: 'Quattrocento';
   font-family: 'Quattrocento';
Line 140: Line 77:
   font-weight: 400;
   font-weight: 400;
   font-display: swap;
   font-display: swap;
   src: local('Quattrocento'), url(resources/assets/fonts/OZpEg_xvsDZQL_LKIF7q4jP3zWj6T4g.woff2) format('woff2');
   src: local('Quattrocento'), url(/w/resources/assets/fonts/quattrocento_regular_01.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
}
/* latin */
 
@font-face {
@font-face {
   font-family: 'Quattrocento';
   font-family: 'Quattrocento';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 700;
   font-display: swap;
   font-display: swap;
   src: local('Quattrocento'), url(resources/assets/fonts/OZpEg_xvsDZQL_LKIF7q4jP3w2j6.woff2) format('woff2');
   src: local('Quattrocento Bold'), local('Quattrocento-Bold'), url(/w/resources/assets/fonts/quattrocento_bold_01.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}
/* latin-ext */
 
/* Atkinson */
@font-face {
@font-face {
   font-family: 'Quattrocento';
   font-family: 'Atkinson Hyperlegible';
   font-style: normal;
   font-style: italic;
   font-weight: 700;
   font-weight: 400;
   font-display: swap;
   font-display: swap;
   src: local('Quattrocento Bold'), local('Quattrocento-Bold'), url(resources/assets/fonts/OZpbg_xvsDZQL_LKIF7q4jP_eE3vfqnYgXc.woff2) format('woff2');
   src: url(/w/resources/assets/fonts/atkinson_italic_01.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
}
/* latin */
@font-face {
@font-face {
   font-family: 'Quattrocento';
   font-family: 'Atkinson Hyperlegible';
   font-style: normal;
   font-style: italic;
   font-weight: 700;
   font-weight: 700;
   font-display: swap;
   font-display: swap;
   src: local('Quattrocento Bold'), local('Quattrocento-Bold'), url(resources/assets/fonts/OZpbg_xvsDZQL_LKIF7q4jP_eE3vcKnY.woff2) format('woff2');
   src: url(/w/resources/assets/fonts/atkinson_bolditalic_01.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}
/* latin-ext */
@font-face {
@font-face {
   font-family: 'Quattrocento Sans';
   font-family: 'Atkinson Hyperlegible';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 400;
   font-display: swap;
   font-display: swap;
   src: local('Quattrocento Sans'), local('QuattrocentoSans'), url(resources/assets/fonts/va9c4lja2NVIDdIAAoMR5MfuElaRB0zHt0_uHA.woff2) format('woff2');
   src: url(/w/resources/assets/fonts/atkinson_regular_01.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
}
/* latin */
@font-face {
@font-face {
   font-family: 'Quattrocento Sans';
   font-family: 'Atkinson Hyperlegible';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 700;
   font-display: swap;
   font-display: swap;
   src: local('Quattrocento Sans'), local('QuattrocentoSans'), url(resources/assets/fonts/va9c4lja2NVIDdIAAoMR5MfuElaRB0zJt08.woff2) format('woff2');
   src: url(/w/resources/assets/fonts/atkinson_bold_01.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}


Line 192: Line 121:




/* Changes the default font used for MediaWiki (does not include headings or monospaced text): */


/* Changes the default font used for MediaWiki to Roboto and Open Sans (does not include headings or monospaced text): */
body {
body {
   font-family: "Roboto", "Open Sans", "Noto Sans", sans-serif !important;
   font-family: "Atkinson Hyperlegible", "Roboto", "Open Sans", "Noto Sans", sans-serif !important;
  font-optical-sizing: auto !important;
  font-weight: 400 !important;
  font-size: 0.95em !important;
}
 
@media only screen and (min-width: 800px) {
  body {
    font-size: 1em !important;
  }
}
 
.poem {
font-family: 'Dancing Script' !important;
font-size: 150%;
text-align: center;
}
}
.mw-wiki-title {
.mw-wiki-title {
   font-size: 1.5em !important;
   font-size: 1.5em !important;
   padding: 0.4em 0.5em 0.2em 0.5em !important;
   padding: 0.4em 0.8em 0.2em 0.0em !important;
   line-height: 0.8 !important;
   line-height: 0.8 !important;
  font-family: "Quattrocento","Times New Roman", serif;
}
}
/* Changes the default font used for MediaWiki headings to Noto Serif: */
 
.mw-headline {
.mw-headline {
   font-family: 'Roboto Slab', serif;
   font-family: 'Quattrocento','Times New Roman', serif !important;
   font-weight: bold;
  font-weight: 700;
}
.mw-body h1 {
  font-family: 'Quattrocento','Times New Roman', serif !important;
   font-weight: 700;
}
}
pre {
pre {
font-size: smaller;
font-size: smaller;
font-family: "Roboto Mono", "Ubuntu Mono", monospace;
font-family: "Ubuntu Mono", "Roboto Mono", monospace;
white-space: pre-wrap !important;
white-space: pre-wrap !important;
}
}
Line 215: Line 164:
.forzawiki-template-box-note {
.forzawiki-template-box-note {
padding: 1em;
padding: 1em;
     background-color: #F2F1F0;
     background-color: #fef6e7;
     border: 1px solid #C2C1C0;
     border: 1px solid #ffcc33;
     white-space: pre-wrap !important;
     white-space: pre-wrap !important;
    overflow: auto;
}
}

Latest revision as of 18:37, 21 September 2024

/* CSS placed here will be applied to all skins */
#mw-content-text {
  font-size: 100%;
}
/* font-size: 0.875em; */


/* Hide unused empty space on Main_Page*/
#mw-content-text .mw-parser-output p:has(br:only-child) {
	display: none !important;
}


.ns-3000 #content, .ns-3001 #content { background-color: #f3f3ff; }
.ns-3000 div.thumb, .ns-3001 div.thumb { border-color: #f3f3ff; }

/* IMPORT ALL FONTS FILES */
/* ###################### */

/* Dancing Script */
@font-face {
  font-family: 'Dancing Script';
  src:  local('Dancing Script'), url(/w/resources/assets/fonts/dancing_script_01.woff2) format('woff2');
  font-display: swap;
}

/* Roboto Mono */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  src:  local('Roboto Mono'), url(/w/resources/assets/fonts/roboto_mono_variable_01.woff2) format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Mono';
  font-style: italic;
  src: local('Roboto Mono'), url(/w/resources/assets/fonts/roboto_mono_italic_variable_01.woff2) format('woff2');
  font-display: swap;
}


/* Ubuntu Mono font */
@font-face {
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Ubuntu Mono'), url(/w/resources/assets/fonts/ubuntu_mono_regular_01.woff2) format('woff2');
}
@font-face {
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Ubuntu Mono'), url(/w/resources/assets/fonts/ubuntu_mono_bold_01.woff2) format('woff2');
}
@font-face {
  font-family: 'Ubuntu Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Ubuntu Mono'), url(/w/resources/assets/fonts/ubuntu_monoitalic_01.woff2) format('woff2');
}
@font-face {
  font-family: 'Ubuntu Mono';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local('Ubuntu Mono'), url(/w/resources/assets/fonts/ubuntu_mono_bolditalic_01.woff2) format('woff2');
}

/* Quattrocento font */
@font-face {
  font-family: 'Quattrocento';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Quattrocento'), url(/w/resources/assets/fonts/quattrocento_regular_01.woff2) format('woff2');
}

@font-face {
  font-family: 'Quattrocento';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Quattrocento Bold'), local('Quattrocento-Bold'), url(/w/resources/assets/fonts/quattrocento_bold_01.woff2) format('woff2');
}

/* Atkinson */
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/w/resources/assets/fonts/atkinson_italic_01.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/w/resources/assets/fonts/atkinson_bolditalic_01.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/w/resources/assets/fonts/atkinson_regular_01.woff2) format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/w/resources/assets/fonts/atkinson_bold_01.woff2) format('woff2');
}

/* ###################### */


/* Changes the default font used for MediaWiki (does not include headings or monospaced text): */

body {
  font-family: "Atkinson Hyperlegible", "Roboto", "Open Sans", "Noto Sans", sans-serif !important;
  font-optical-sizing: auto !important;
  font-weight: 400 !important;
  font-size: 0.95em !important;
}

@media only screen and (min-width: 800px) {
  body {
    font-size: 1em !important;
  }
}

.poem {
	font-family: 'Dancing Script' !important;
	font-size: 150%;
	text-align: center;
}
.mw-wiki-title {
  font-size: 1.5em !important;
  padding: 0.4em 0.8em 0.2em 0.0em !important;
  line-height: 0.8 !important;
  font-family: "Quattrocento","Times New Roman", serif;
}

.mw-headline {
  font-family: 'Quattrocento','Times New Roman', serif !important;
  font-weight: 700;
}
.mw-body h1 {
  font-family: 'Quattrocento','Times New Roman', serif !important;
  font-weight: 700;
}
pre {
	font-size: smaller;
	font-family: "Ubuntu Mono", "Roboto Mono", monospace;
	white-space: pre-wrap !important;
}

.forzawiki-template-box-note {
	padding: 1em;
    background-color: #fef6e7;
    border: 1px solid #ffcc33;
    white-space: pre-wrap !important;
    overflow: auto;
}