MediaWiki:Common.css: Difference between revisions

From Rangjung Yeshe Wiki - Dharma Dictionary
Jump to navigation Jump to search
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 275: Line 275:


.smwtable-clean thead tr {
.smwtable-clean thead tr {
background: #f5f5f5;
background: #ffebeb;
}
}



Revision as of 11:37, 5 May 2021

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

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300&display=swap');



@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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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
























body {
	font-family: 'Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',Jomolhari,sans-serif;
}

.tlw-tabs-wrapper {
    border: 1px solid #e1e1e1;
    background: #e9f2f8;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.mw-header-tabs-wrapper {
	border: none !important;
	background: none !important;
}

.mw-header-tabs-wrapper .oo-ui-tabSelectWidget {
	background-color: transparent !important;
}

.mw-header-tabs-wrapper .oo-ui-menuLayout-menu {
	border-bottom: 1px solid #a2a9b1;
}

.mw-header-tabs-wrapper .oo-ui-panelLayout-framed {
	border: none !important;
}

.mw-header-tabs-wrapper .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
	border-top: 1px solid #e1e1e1;
	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
}

.tlw-header {
	padding: 0 .5em; 
	margin: .3em 0 0; 
	border-bottom: none;
	font-family: 'Cormorant Garamond', serif;
	font-size: 2em !important;
	font-variant: small-caps;
}

.tlw-tsadra-logo {
	background-image: url('https://commons.tsadra.org/images-commons/thumb/d/d5/Tsadra_Logo_Master.png/797px-Tsadra_Logo_Master.png');
	background-size: contain;
	background-repeat: no-repeat;
	height: 35px;
    width: 50px;
	vertical-align: text-bottom;
	display: inline-block;
}

.ht-editsection {
	display: none;
}





.smwtable-clean {
	background: #fff;
	border-bottom: 1px solid #e1e1e1;
	border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
}

.smwtable-clean thead tr {
	background: #ffebeb;
}

.smwtable-clean.term-table {
    float: left;
    margin-right: 2em;
}

.th-right th {
	text-align: right !important;
}

.smwtable-clean tr > th,
.smwtable-clean tr > td {
	padding: .7em .9em !important;
}

.group:after {
  content: "";
  display: table;
  clear: both;
}

.tlw-tm-table td:first-of-type b {
	color: #e91e63;
}








.w-100 { width: 100% !important; }

.TibInline {
	font-family: Jomolhari, sans-serif;
    font-size: 1.5em;
    font-weight: normal;
    vertical-align: middle;
    line-height: 1.5;
}

.grid-container { display: grid; }
.grid-container:after {
	content: "";
	display: table;
	clear: both;
}
.grid-container-2-max-content-auto { grid-template-columns: max-content auto; }
.grid-container-2-max-content { grid-template-columns: max-content max-content; }
.grid-container-3-max-content { grid-template-columns: max-content max-content max-content; }
.grid-container-4-max-content { grid-template-columns: max-content max-content max-content max-content; }
.grid-container-2-equal { grid-template-columns: 50% 50%; }
.grid-container-3-equal { grid-template-columns: 33.33% 33.33% 33.33%; }
.grid-container-4-equal { grid-template-columns: 25% 25% 25% 25%; }
.grid-item { padding: 1em; }
.grid-column-1 { grid-area: auto / span 1; }
.grid-column-2 { grid-area: auto / span 2; }
.grid-column-3 { grid-area: auto / span 3; }
.grid-column-4 { grid-area: auto / span 4; }

.grid-example-row { 
	display: grid;
	width: 100%;
	grid-template-columns: 20% 40% 40%; 
	border: 1px solid #ddd;
	border-collapse: collapse;
}
.grid-example-row:nth-child(odd) { background: #fff; }
.grid-example-row:nth-child(even) { background: #f5f5f5; }
.grid-example-item { padding: 1em; }


.under-construction {
    background: repeating-linear-gradient(
		45deg,
		#000,
		#000 10px,
		#ffc107 10px,
		#ffc107 20px
	);
}
.under-construction > p {
	-webkit-text-stroke: 1px #000;
    color: #fff;
    font-weight: bold;
    font-size: 2em;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.m-0 {
	margin: 0 !important;
}

p.source-info {
    color: #555;
    font-size: .95em;
    font-style: italic;
}

.pre-line {
	white-space: pre-line !important;
}

.ooui-button-style a {
	color: #fff;
	background-color: #36c;
	border-color: #36c;
	line-height: 1.3em;
	padding-top: 0.43em;
    padding-bottom: 0.43em;
    transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms;
    -webkit-appearance: none;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    padding-left: 0.86em;
    padding-right: 0.86em;
    text-decoration: none;
    vertical-align: top;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    white-space: nowrap;
}

.ooui-button-style a:hover {
    background-color: #447ff5;
    border-color: #447ff5;
}