MediaWiki:Common.css: Difference between revisions

From Rangjung Yeshe Wiki Texts
Jump to navigation Jump to search
Longchenpa Project: Theg mchog mdzod study edition: outline, quotation sources, colour-coded bilingual tab, CSS-only tooltips (sted-* classes)
Tibetan at the height of the English beside it (Eric's request, 23 November 2026)
 
(One intermediate revision by the same user not shown)
Line 846: Line 846:
}
}


/* 2026-11-22 Longchenpa Project: in the Pe cin e-texts the marks « » enclose the small-print notes of the print.
/* 2026-11-22 Longchenpa Project: in the Beijing e-texts the marks « » enclose the small-print notes of the print.
   The notes are shown in small print; the marks stay in the text but are hidden on screen. */
   The notes are shown in small print; the marks stay in the text but are hidden on screen. */
.lcp-note {
.lcp-note {
Line 925: Line 925:
}
}
table.sted-qt td { vertical-align: top; font-size: 92%; }
table.sted-qt td { vertical-align: top; font-size: 92%; }
/* 2026-11-23 Tibetan at the height of the English beside it (Eric: "the tibetan position itself next to the english at the right height").
  TibetanMachineUni draws its letters high above the baseline, so Tibetan in a line of English looked raised. As Eric's
  TibetanMachineUni16Aligned class does (top: 6px), the Tibetan moves down until its headline is level with the top of the
  English capitals; position: relative leaves the line spacing as it was. Shift in em of the Tibetan:
  0.736 (headline height of the font) - 0.714 (English cap height) x English size / Tibetan size. */
.lcp-bo, .lcp-bo-head { position: relative; top: 0.19em; }
.lcp-bo-title { position: relative; top: 0.24em; }
table.wikitable .lcp-bo-big { position: relative; top: 0.35em; }  /* elsewhere it stands on its own line */
#firstHeading .lcp-bo-head { top: 0.05em; }
/* Tibetan inside Tibetan: no second shift */
:is(.lcp-bo, .lcp-bo-title, .lcp-bo-head, .lcp-bo-big, .lcp-bo-block, .lcp-etext) :is(.lcp-bo, .lcp-bo-title, .lcp-bo-head, .lcp-bo-big) { top: 0; }
/* table rows with Tibetan: the cells line up on their first line instead of being centred (!important: the infobox template sets vertical-align on its labels) */
table.wikitable tr:has(.lcp-bo, .lcp-bo-title, .lcp-bo-head, .lcp-bo-big) > :is(td, th) { vertical-align: baseline !important; }
/* bilingual tab: the two columns line up on their first line; the Tibetan column gets the same shift */
.sted-bi-row { align-items: baseline; }
.sted-bi-row > .sted-bi-bo { position: relative; top: 0.19em; }

Latest revision as of 08:29, 23 November 2026

/* CSS placed here will be applied to all skins */

/* <link href="https://fonts.googleapis.com/css2?family=Jomolhari&display=swap" rel="stylesheet"> */

/* MediaWiki:Monobook.css
/* CSS placed here will affect users of the MonoBook skin */

/* jomolhari-regular - tibetan_latin */
/* @font-face {
/*   font-family: 'Jomolhari';
/*   font-style: normal;
/*   font-weight: 400;
/*   src: url('../fonts/jomolhari-v2-tibetan_latin-regular.eot'); /* IE9 Compat Modes */
/*   src: local('Jomolhari Regular'), local('Jomolhari-Regular'),
/*        url('../fonts/jomolhari-v2-tibetan_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
/*        url('../fonts/jomolhari-v2-tibetan_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
/*        url('../fonts/jomolhari-v2-tibetan_latin-regular.woff') format('woff'), /* Modern Browsers */
/*        url('../fonts/jomolhari-v2-tibetan_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
/*        url('../fonts/jomolhari-v2-tibetan_latin-regular.svg#Jomolhari') format('svg'); /* Legacy iOS */
/* }

/* .TibUniJomolhari24
/* {
/*    font-family: 'Jomolhari', serif;
/*    font-size: 18pt;
/*    font-weight: normal;
/*    line-height:125%;
/* }

@font-face {
 font-family: 'Jomolhari';
 font-style: normal;
 font-weight: 400;
 src: url('/fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.eot');
 src: url('./fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.eot');
 src: local('Jomolhari Regular'), local('Jomolhari-Regular'),
 url('/fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.eot?#iefix') format('embedded-opentype'),
 url('./fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.eot?#iefix') format('embedded-opentype'),
 url('/fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.woff2') format('woff2'),
 url('./fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.woff2') format('woff2'),
 url('./fonts/jomolhari-v2-tibetan_latin-regular.woff') format('woff'),                       /* Modern Browsers */
 url('fonts/jomolhari-v2-tibetan_latin-regular.woff') format('woff'),                         /* Modern Browsers */
 url('/fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.ttf') format('truetype'),
 url('./fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.ttf') format('truetype'),
 url('/fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.svg#Jomolhari') format('svg'); 
 url('./fonts/Jomolhari/jomolhari-v2-tibetan_latin-regular.svg#Jomolhari') format('svg'); 
 unicode-range: U+0F00-0FFF;
}

p {
   font-family: Jomolhari;
   font-size: 14pt;
}

.Has-quote-from-ཡི་གེ་མེད་པ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-གསང་བ་སྤྱོད་པ་ས་བོན་གྱི་རྒྱུད།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཚད་མ་རྣམ་འགྲེལ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཀུན་ཏུ་བཟང་པོ་ཐུགས་ཀྱི་མེ་ལོང།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཀུན་བྱེད་རྒྱལ་པོ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རྩ་བ་ཤེས་རབ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-བརྟག་གཉིས།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སྒྱུ་འཕྲུལ་གསང་སྙིང།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སྒྱུ་འཕྲུལ་གསང་སྙིང།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རྨད་བྱུང་རྒྱལ་པོ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཕྱོགས་ཀྱི་གླང་པོ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཆོས་མངོན་པའི་མཛོད།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-འཕགས་པ་ཡོན་ཏན་རིན་པོ་ཆེ་ཡོངས་སུ་སྡུད་པའི་མདོ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-བྱང་ཆུབ་སེམས་འགྲེལ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-འཇུག་པ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཚིག་གསལ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-འཕགས་པ་དཀོན་མཆོག་བརྩེགས།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རྩལ་ཆེན་ཡོན་ཏན་རྫོགས་པའི་ལུང།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཏིང་ངེ་འཛིན་ཚོགས་དམ་པའི་ལེའུ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སྤྱོད་འཇུག།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སྐྱེ་མེད་རིན་པོའི་ཆེའི་མཛོད།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-འཕགས་པ་འདའ་ཀ་ཡེ་ཤེས།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རྡོ་རྗེ་གུར།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རིག་པ་རང་གྲོལ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཕལ་པོ་ཆེ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-དོ་ཧ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རིན་ཆེན་ཕྲེང་བ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རྣལ་འབྱོར་གྱི་དབང་ཕྱུག་ཆེན་པོ་དྷེ་ཀེ་བཛྲ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-དཔལ་བྲམ་ཟེ་གཉུག་མའི་གླུ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སློབ་དཔོན་སེང་གེ་བཟང་པོ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-མདོ་སྡེ་རྒྱན།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}


.Has-quote-from-ཉི་ཟླ་ཁ་སྦྱོར།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}


.Has-quote-from-རྡོ་རྗེ་སེམས་དཔའ་སྙིང་གི་མེ་ལོང་།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-དབང་རྣམ་པར་ཕྱེ་བ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཡུམ་བར་མ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སྡེབ་སྦྱོར་རིན་ཆེན་འབྱུང་གནས།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ངོ་སྤྲོད་སྤྲས་པའི་རྒྱུད།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-བི་མ་ལ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-དགའ་རབ་རྡོ་རྗེ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-འཕགས་པ་ལྷ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཀླུ་གྲུ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རྫོགས་པ་རང་བྱུང་དབང་གི་ཆུའི་བོའི་རྒྱུད།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སྐུ་གདུང་འབར་བའི་རྒྱུད།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རྫོགས་པ་རང་བྱུང་ཆེན་པོའི་རྒྱུད།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-དཔལ་ས་ར་ཧ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཏི་ལོ་པ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-མངོན་རྟོག་རྒྱན་འགྲེལ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སྒྱུ་འཕྲུལ་རྒྱ་མཚོ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-རྒྱན་སྟུག་པོ་བཀོད་པའི་མདོ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཐེག་བསྡུས།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-སྤྲིང་ཡིག་བདུད་རྩིའི་ཐིགས་པ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-ཟླ་གསང་ཐིག་ལེའི་རྒྱུད།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

.Has-quote-from-འཇུག་པའི་འགྲེལ་པ།.smwtype_txt {
   font-family: Jomolhari;
   font-size: 16pt;
}

h1 {
  font-size: 22pt;
}

.mw-body h1 {
  font-family: 'Linux Libertine','Georgia','Times',BabelStoneTibetan, serif;
  font-size: 22pt;
}

.mw-body-content h1 {
  font-size: 22pt;
}

span.smwb-value {
  font-family: Jomolhari, sans-serif;
  font-size: 14pt;
}


/*
@font-face {
font-family: MediaWikiTibetan;
src: local(Jomolhari);
unicode-range: U+F00-FFF;
}

p {
font-family: MediaWikiTibetan;
font-size: 14pt;
}
*/

/* Semantic Mediawiki Query Formatting Results */

/* class="Tibetan-texts-quoted smwtype_txt"    */
.Tibetan-texts-quoted.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-གསང་བ་སྤྱོད་པས་ས་བོན་གྱི་རྒྱུད། smwtype_txt"  */
.Has-quote-from-གསང་བ་སྤྱོད་པས་ས་བོན་གྱི་རྒྱུད།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-འཕགས་པ་དཀོན་མཆོག་ཏ་ལ་ལའི་མདོ། smwtype_txt"  */
.Has-quote-from-འཕགས་པ་དཀོན་མཆོག་ཏ་ལ་ལའི་མདོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-གསང་འདུས། smwtype_txt"  */
.Has-quote-from-གསང་འདུས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཕྱིར་མི་ལྡོག་པ་འཁོར་ལོའི་མདོ། smwtype_txt"  */
.Has-quote-from-ཕྱིར་མི་ལྡོག་པ་འཁོར་ལོའི་མདོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-རྫོགས་པ་སྤྱི་ཆིངས། smwtype_txt"  */
.Has-quote-from-རྫོགས་པ་སྤྱི་ཆིངས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-བདེན་གཉིས། smwtype_txt"  */
.Has-quote-from-བདེན་གཉིས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-དཔལ་ས་ར་ཧས། smwtype_txt"  */
.Has-quote-from-དཔལ་ས་ར་ཧས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-མངོན་རྟོགས་རྒྱན། smwtype_txt"  */
.Has-quote-from-མངོན་རྟོགས་རྒྱན།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-དུས་གཅིག་པ། smwtype_txt"  */
.Has-quote-from-དུས་གཅིག་པ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-འཕགས་པ་ཏིང་ངེ་འཛིན་གྱི་རྒྱལ་པོ། smwtype_txt"  */
.Has-quote-from-འཕགས་པ་ཏིང་ངེ་འཛིན་གྱི་རྒྱལ་པོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཡུམ་ཆེན་མོ། smwtype_txt"  */
.Has-quote-from-ཡུམ་ཆེན་མོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཕྱོགས་ཀྱི་གླང་པོ། smwtype_txt"  */
.Has-quote-from-ཕྱོགས་ཀྱི་གླང་པོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-འདས་རྗེས། smwtype_txt"  */
.Has-quote-from-འདས་རྗེས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-རིག་པ་རང་ཤར་གྱི་རྒྱུད། smwtype_txt" */
.Has-quote-from-རིག་པ་རང་ཤར་གྱི་རྒྱུད།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཚད་མ་རྣམ་འགྲེལ། smwtype_txt */
.Has-quote-from-ཚད་མ་རྣམ་འགྲེལ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-རྒྱུད་བླ་མ། smwtype_txt */
.Has-quote-from-རྒྱུད་བླ་མ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཀུན་ཏུ་བཟང་པོ་ཐུགས་ཀྱི་མེ་ལོང། smwtype_txt */
.Has-quote-from-ཀུན་ཏུ་བཟང་པོ་ཐུགས་ཀྱི་མེ་ལོང།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཨ་ཏི་བཀོད་པ་ཆེན་པོ། smwtype_txt */
.Has-quote-from-ཨ་ཏི་བཀོད་པ་ཆེན་པོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཀུན་བྱེད་རྒྱལ་པོ། smwtype_txt */
.Has-quote-from-ཀུན་བྱེད་རྒྱལ་པོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཡི་གེ་མེད་པ། smwtype_txt */
.Has-quote-from-ཡི་གེ་མེད་པ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-རྩ་བ་ཤེས་རབ། smwtype_txt */
.Has-quote-from-རྩ་བ་ཤེས་རབ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-སེང་གེ་རྩལ་རྫོགས། smwtype_txt */
.Has-quote-from-སེང་གེ་རྩལ་རྫོགས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-བརྟག་གཉིས། smwtype_txt */
.Has-quote-from-བརྟག་གཉིས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-མུ་ཏིག་ཕྲེང་བ། smwtype_txt */
.Has-quote-from-མུ་ཏིག་ཕྲེང་བ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-གསང་བ་སྙིང་པོ། smwtype_txt */
.Has-quote-from-གསང་བ་སྙིང་པོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-སྡུད་པ་ལས། smwtype_txt */
.Has-quote-from-སྡུད་པ་ལས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-རིན་པོ་ཆེ་སྤུངས། smwtype_txt */
.Has-quote-from-རིན་པོ་ཆེ་སྤུངས།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཁྱུང་ཆེན། smwtype_txt */
.Has-quote-from-ཁྱུང་ཆེན།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ནོར་བུ་ཕྲ་བཀོད། smwtype_txt */
.Has-quote-from-ནོར་བུ་ཕྲ་བཀོད།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-རྨད་བྱུང་རྒྱལ་པོ། smwtype_txt */
.Has-quote-from-རྨད་བྱུང་རྒྱལ་པོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-རྡོ་རྗེ་གཅོད་པ། smwtype_txt */
.Has-quote-from-རྡོ་རྗེ་གཅོད་པ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-སྒྲ་ཐལ་འགྱུར་རྩ་བའི་རྒྱུད། smwtype_txt */
.Has-quote-from-སྒྲ་ཐལ་འགྱུར་རྩ་བའི་རྒྱུད།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-སྒྱུ་འཕྲུལ་གསང་སྙིང། smwtype_txt */
.Has-quote-from-སྒྱུ་འཕྲུལ་གསང་སྙིང།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-བྱམས་པ། smwtype_txt */
.Has-quote-from-བྱམས་པ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-སངས་རྒྱས་ཐམས་ཅད་ཀྱི་དགོངས་པ་འདུས་པའི་མདོ། smwtype_txt */
.Has-quote-from-སངས་རྒྱས་ཐམས་ཅད་ཀྱི་དགོངས་པ་འདུས་པའི་མདོ།.smwtype_txt {
  font-size: 12pt;
}

/* class="Has-quote-from-ཀློང་དྲུག་པ། smwtype_txt */
.Has-quote-from-ཀློང་དྲུག་པ།.smwtype_txt {
  font-size: 12pt;
}




@font-face {
   font-family: "BodYig";
   src: url("fonts/DDC_Uchen.eot");
   src: local("DDC Uchen"),
       url("fonts/DDC_Uchen.woff") format("woff"),
       url("fonts/DDC_Uchen.ttf") format("truetype"),
       url("fonts/DDC_Uchen.otf") format("opentype"),
       local("Kailasa"),
       local("Kokonor"),
       local("Jomolhari"),
       local("Himalaya");
  unicode-range: U+0F00-0FFF, U+F500-F8FF;
}

.FontSize8 {
  font-size: 8pt;
}

.FontSize10 {
  font-size: 10pt;
}

.FontSize12 {
  font-size: 12pt;
}

.FontSize14 {
  font-size: 14pt;
}

.FontSize16 {
  font-size: 16pt;
}

.FontSize18 {
  font-size: 18pt;
}


.TibUniDDCUchen24 {
   font-family: "DDC Uchen";
   font-size: 24pt;
   font-weight: normal; 
   line-height:125%;
}

.TibUniCTRCUchen24 {
   font-family: "CTRC-Uchen";
   font-size: 24pt;
   font-weight: normal; 
   line-height:125%;
}

.TibUniTibClassic24 {
   font-family: "TibetanClassicUnicode";
   font-size: 24pt;
   font-weight: normal; 
   line-height:125%;
}

.TibMachineUni18 {
   font-family: "Tibetan Machine Uni";
   font-size: 18pt;
   font-weight: normal;
   line-height:125%;
}

.TibClassicUni18 {
   font-family: "TibetanClassicUnicode";
   font-size: 18pt;
   font-weight: normal;
   line-height:125%;
}





.TibUni10 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 10pt;
   font-weight: normal; 
   line-height:125%;
}

.TibUni12 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 12pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni14 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 14pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni16 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 16pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni16Sub {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 16pt;
   font-weight: normal;
   line-height:125%;
   vertical-align: sub;
}

.TibUni18 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 18pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni20 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 20pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni22 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 22pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni24 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 24pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni26 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 26pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni28 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 28pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni30 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 30pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni32 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 32pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni34 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 34pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni36 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 36pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni38 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 38pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni40 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 40pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni42 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 42pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni44 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 44pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni46 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 46pt;
   font-weight: normal;
   line-height:125%;
}

.TibUni48 {
   font-family: "Tibetan Machine Uni", "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChosgyalUnicode", "Tibetan Machine Uni", "DDC Uchen", Kailasa, Kokonor, Jomolhari, Himalaya, "Microsoft Himalaya", "XenoType Tibetan New", Verdada, serif;
   font-size: 48pt;
   font-weight: normal;
   line-height:125%;
}






.TibClassicUni36 {
   font-family: "TibetanClassicUnicode";
   font-size: 36pt;
   font-weight: normal;
   line-height:125%;
}


.TibPktcUni48 {
   font-family: "TibetanClassicUnicode", "TibetanMachineUnicode", "TibetanCalligraphicUnicode", "TibetanChogyalUnicode";
   font-size: 48pt;
   font-weight: normal;
   line-height:125%;
}


/**
 * Styling for links generated by [[MediaWiki:Edittools]]
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2012-02-29
 */
.mw-charinsert-buttons {
	margin-top: 10px;
	border: 1px solid #aaaaaa;
	padding: 1px;
	text-align: center;
	font-size: 110%;
}
.mw-charinsert-buttons a {
	color: black;
	background-color: #cde;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	padding: 0 .1em .1em;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}
.client-js .mw-edittools-section {
	display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
	font-size: 0.9em;
	padding-left: 1px;
	padding-right: 1px;
	margin-left: 1px;
}

/* Increase font size for reference popups */
.mwe-popups {
    font-size: 14px;
}

/* Or target the reference popups specifically */
.mwe-popups-container {
    font-size: 14px;
}

/* Alternative: target the Cite extension popups */
.reference-text {
    font-size: 14px;
}

/* For the popup content area */
.mwe-popups-extract {
    font-size: 14px;
    line-height: 1.6;
}

/* 2026-11-22 Longchenpa Project: in the Beijing e-texts the marks « » enclose the small-print notes of the print.
   The notes are shown in small print; the marks stay in the text but are hidden on screen. */
.lcp-note {
	font-size: 72%;
}
.lcp-mark {
	display: none;
}
/* 2026-11-22 Longchenpa Project: Tibetan beside English. The sizes are relative to the English around them
   (body text 14px), so the two scripts look the same size and lines keep an even spacing. The e-texts
   (div.lcp-etext, which also has TibetanMachineUni16 from MediaWiki:Vector.css) have the size of the Tibetan paragraphs. */
.lcp-bo, .lcp-bo-title, .lcp-bo-big, .lcp-bo-head, .lcp-bo-block {
	font-family: 'TibetanMachineUni', 'Tibetan Machine Uni', 'Jomolhari', serif;
	font-weight: normal;
	font-style: normal;
}
.lcp-bo { font-size: 1.3em; line-height: 1.2; }                        /* in a line of English: lists, table cells, links */
.lcp-bo-title { font-size: 1.45em; line-height: 1.5; }                 /* a Tibetan title in its own cell or line */
.lcp-bo-big { font-size: 1.85em; line-height: 1.45; }                  /* the Tibetan title at the top of a page */
.lcp-bo-head { font-size: 1.3em; line-height: 1.2; }                   /* a display title: in links to the page (this wiki shows display titles in links) */
#firstHeading .lcp-bo-head { font-size: 1em; line-height: 1.3; }       /* ... and in the page heading, which is already large */
.lcp-bo-block { display: block; font-size: 1.3em; line-height: 1.75; } /* Tibetan paragraphs beside English */
div.lcp-etext { font-size: 1.3em; line-height: 1.75; }                 /* the e-texts (was 16pt from TibetanMachineUni16) */
.lcp-pg { color: #72777d; font-family: sans-serif; font-size: 12px; font-style: normal; white-space: nowrap; }   /* [p. N] page markers */
table.lcp-bi > tbody > tr > td { vertical-align: top; }
table.lcp-bi > tbody > tr > td > p:first-child { margin-top: 0; }
.lcp-app { font-size: 90%; line-height: 1.8; color: #202122; border-left: 3px solid #c8ccd1; padding-left: 0.6em; margin: 0.2em 0 1.1em; }
/* 2026-11-22 Theg mchog mdzod study edition (pages "Theg mchog mdzod (Longchenpa)/..."): Outline and Quotations tabs, outline headings,
   quotation sources and translator's notes as tooltips in the translation, and the colour-coded bilingual tab. Ported from the Jonang
   wiki's bilingual tabs (colours of the Tsadra bilingual Treasury of Knowledge; CSS-only tooltips: hover, or tap = focus). */
.sted-intro { font-size: 90%; color: #54595d; margin: 0.2em 0 0.8em; }
.sted-h { font-weight: bold; font-size: 1.15em; margin: 1.4em 0 0.4em; border-bottom: 1px solid #c8ccd1; }
.sted-c-o { color: #467082; }                     /* outline */
.sted-c-q { color: #897335; }                     /* quotation */
.sted-c-r { color: #a33b2c; }                     /* words of a quotation being explained */
.sted-v { display: block; margin: 0.35em 0 0.35em 1.2em; padding-left: 0.6em; border-left: 2px solid #e1e4e6; }   /* verse */
.sted-sb { margin: 1.1em 0 0.5em; color: #467082; font-weight: 600; line-height: 1.45; }   /* outline heading in the text */
.sted-sb.sted-l1 { font-size: 1.12em; }
.sted-sb.sted-l2 { font-size: 1.05em; }
.sted-sb .lcp-bo { font-weight: normal; }
.sted-sbn, .sted-on { font-family: sans-serif; font-size: 0.85em; color: #72777d; margin-right: 0.3em; font-weight: normal; }
.sted-top .sted-sbn { font-style: italic; }
.sted-oe { margin: 0.35em 0; }
.sted-oe.sted-l2 { margin-left: 1.4em; } .sted-oe.sted-l3 { margin-left: 2.8em; } .sted-oe.sted-l4 { margin-left: 4.2em; }
.sted-oe.sted-l5 { margin-left: 5.6em; } .sted-oe.sted-l6 { margin-left: 7em; } .sted-oe.sted-l7 { margin-left: 8.4em; } .sted-oe.sted-l8 { margin-left: 9.8em; }
.sted-on { color: #467082; }
.sted-os { font-size: 92%; color: #333; margin: 0.1em 0 0.45em; }
.sted-ctx, .sted-ctx b { color: #72777d; }
.sted-tag { font-family: sans-serif; font-size: 11px; color: #72777d; border: 1px solid #c8ccd1; border-radius: 3px; padding: 0 0.3em; white-space: nowrap; }
.sted-ch { margin: 1.2em 0 0.3em; padding-top: 0.5em; border-top: 1px solid #c8ccd1; }   /* contents: a chapter */
.sted-ch .sted-cs { font-size: 92%; color: #333; margin: 0.2em 0 0.5em; }
/* tooltips */
.sted-tr, .sted-bi-en { position: relative; }
.sted-tip { cursor: help; outline: none; }
.sted-tip > sup { color: #467082; }
.sted-tip:hover > sup, .sted-tip:focus > sup { text-decoration: underline; }
sup.sted-srcl { color: #897335; font-family: sans-serif; font-size: 10px; font-style: normal; margin-left: 0.15em; }
.sted-tip-box { position: absolute; left: 0; right: 0; margin-top: 1.7em; z-index: 20; visibility: hidden; opacity: 0;
	transition: visibility 0s linear .35s, opacity .15s linear .2s; background: #fff; border: 1px solid #c9d1d5; border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0,0,0,.15); padding: .6em .85em; font-size: .92rem; line-height: 1.5; color: #222; font-weight: normal;
	font-style: normal; text-align: left; max-height: 45vh; overflow-y: auto; white-space: normal; }
.sted-tip:hover .sted-tip-box, .sted-tip:focus .sted-tip-box { visibility: visible; opacity: 1; transition-delay: 0s; }
/* bilingual tab */
.sted-key { display: flex; flex-wrap: wrap; gap: .4em 1.4em; margin: .6em 0 1.2em; font-size: .95em; }
.sted-sw { display: inline-block; width: .9em; height: .9em; border-radius: 2px; vertical-align: -.1em; margin-right: .35em; }
.sted-swv { width: .5em; border-radius: 0; border-left: 2px solid #c8ccd1; }
.sted-bi-head, .sted-bi-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 2em; }
.sted-bi-head { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 2px solid #467082; padding: .4em 0; font-size: .85em;
	letter-spacing: .04em; text-transform: uppercase; color: #555; }
.sted-bi-page { border-top: 1px solid #d9dee1; padding-top: .3em; margin-top: .8em; }
.sted-bi-row > div { min-width: 0; }
.sted-bi-row > .sted-bi-bo { border-right: 1px solid #939598; padding-right: 1.2em; }
.sted-bi-en { font-size: 1.02em; line-height: 1.6; }
@media (max-width: 860px) {
	.sted-bi-head { display: none; }
	.sted-bi-row { grid-template-columns: minmax(0,1fr); }
	.sted-bi-row > .sted-bi-bo { border-right: 0; padding-right: 0; border-bottom: 1px dashed #c9d1d5; padding-bottom: .6em; margin-bottom: .6em; }
}
table.sted-qt td { vertical-align: top; font-size: 92%; }
/* 2026-11-23 Tibetan at the height of the English beside it (Eric: "the tibetan position itself next to the english at the right height").
   TibetanMachineUni draws its letters high above the baseline, so Tibetan in a line of English looked raised. As Eric's
   TibetanMachineUni16Aligned class does (top: 6px), the Tibetan moves down until its headline is level with the top of the
   English capitals; position: relative leaves the line spacing as it was. Shift in em of the Tibetan:
   0.736 (headline height of the font) - 0.714 (English cap height) x English size / Tibetan size. */
.lcp-bo, .lcp-bo-head { position: relative; top: 0.19em; }
.lcp-bo-title { position: relative; top: 0.24em; }
table.wikitable .lcp-bo-big { position: relative; top: 0.35em; }   /* elsewhere it stands on its own line */
#firstHeading .lcp-bo-head { top: 0.05em; }
/* Tibetan inside Tibetan: no second shift */
:is(.lcp-bo, .lcp-bo-title, .lcp-bo-head, .lcp-bo-big, .lcp-bo-block, .lcp-etext) :is(.lcp-bo, .lcp-bo-title, .lcp-bo-head, .lcp-bo-big) { top: 0; }
/* table rows with Tibetan: the cells line up on their first line instead of being centred (!important: the infobox template sets vertical-align on its labels) */
table.wikitable tr:has(.lcp-bo, .lcp-bo-title, .lcp-bo-head, .lcp-bo-big) > :is(td, th) { vertical-align: baseline !important; }
/* bilingual tab: the two columns line up on their first line; the Tibetan column gets the same shift */
.sted-bi-row { align-items: baseline; }
.sted-bi-row > .sted-bi-bo { position: relative; top: 0.19em; }