MediaWiki:Common.css

From The Languages of David J. Peterson
Revision as of 22:25, 6 January 2020 by Djpwikiadmin (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */


/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavPic {
	background-color: #fff;
	margin: 0;
	padding: 2px;
	/* @noflip */
	float: left;
}
div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%;
}
div.NavEnd {
	margin: 0;
	padding: 0;
	line-height: 1px;
	clear: both;
}
a.NavToggle {
	position: absolute;
	top: 0;
	/* @noflip */
	right: 3px;
	font-weight: normal;
	font-size: 90%;
}

div.left-block {
    float: left;
}

div.right-block {
    float: right;
}

div.forty {
    width: 40%;
}

div.fifty {
    width: 50%;
}

div.sixty {
    width: 60%;
}

div.portal-block {
  padding-right: 15px;
  padding-bottom: 15px;
}

.client-js .NavFrame.collapsed > .NavContent {
	display: none;
}

/* Webfont: Todjydheenil */@font-face {
    font-family: 'Todjydheenil';
    src: url('/fonts/todjydheenil/Todjydheenil.eot'); /* IE9 Compat Modes */
    src: url('/fonts/todjydheenil/Todjydheenil.woff2') format('woff2'),
         url('/fonts/todjydheenil/Todjydheenil.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/todjydheenil/Todjydheenil.woff') format('woff'), /* Modern Browsers */
         url('/fonts/todjydheenil/Todjydheenil.ttf') format('truetype'), /* Modern Browsers */
         url('/fonts/todjydheenil/Todjydheenil.otf') format('opentype'); /* Safari, Android, iOS */
             font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: Sondiv */@font-face {
    font-family: 'Sondiv';
    src: url('/fonts/sondiv/Sondiv.eot'); /* IE9 Compat Modes */
    src: url('/fonts/sondiv/Sondiv.woff2') format('woff2'),
         url('/fonts/sondiv/Sondiv.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/sondiv/Sondiv.woff') format('woff'), /* Modern Browsers */
         url('/fonts/sondiv/Sondiv.ttf') format('truetype'), /* Modern Browsers */
         url('/fonts/sondiv/Sondiv.otf') format('opentype'); /* Safari, Android, iOS */
             font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: Veda */@font-face {
    font-family: 'Veda';
    src: url('/fonts/veda/Veda-Regular.eot'); /* IE9 Compat Modes */
    src: url('/fonts/veda/Veda-Regular.woff2') format('woff2'),
         url('/fonts/veda/Veda-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/veda/Veda-Regular.woff') format('woff'), /* Modern Browsers */
         url('/fonts/veda/Veda-Regular.ttf') format('truetype'), /* Modern Browsers */
         url('/fonts/veda/Veda-Regular.otf') format('opentype'); /* Safari, Android, iOS */
             font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: Vukht */@font-face {
    font-family: 'Vukht';
    src: url('/fonts/vukht/Vukht.eot'); /* IE9 Compat Modes */
    src: url('/fonts/vukht/Vukht.woff2') format('woff2'),
         url('/fonts/vukht/Vukht.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/vukht/Vukht.woff') format('woff'), /* Modern Browsers */
         url('/fonts/vukht/Vukht.ttf') format('truetype'), /* Modern Browsers */
         url('/fonts/vukht/Vukht.otf') format('opentype'); /* Safari, Android, iOS */
             font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* multi-column lists */
li {
	column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	-webkit-page-break-inside: avoid;
	-webkit-break-inside: avoid;
	-o-column-break-inside: avoid;
	-o-page-break-inside: avoid;
	-o-break-inside: avoid;
	-moz-column-break-inside: avoid;
	-moz-page-break-inside: avoid;
	-moz-break-inside: avoid;
}

/* Used by column templates (see [[Module:columns]]). */
.ul-column-count[data-column-count="2"] ul {
	-moz-column-count: 2; -webkit-column-count: 2; -ms-column-count: 2; column-count: 2;
}

.ul-column-count[data-column-count="3"] ul {
	-moz-column-count: 3; -webkit-column-count: 3; -ms-column-count: 3; column-count: 3;
}

.ul-column-count[data-column-count="4"] ul {
	-moz-column-count: 4; -webkit-column-count: 4; -ms-column-count: 4; column-count: 4;
}

.ul-column-count[data-column-count="5"] ul {
	-moz-column-count: 5; -webkit-column-count: 5; -ms-column-count: 5; column-count: 5;
}