MediaWiki:Common.css: Difference between revisions

From Diskmags Catalog
No edit summary
No edit summary
 
(69 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Fonts */
@font-face {
@font-face {
   font-family: 'C64 Pro Mono';
   font-family: 'C64 Pro Mono';
Line 8: Line 10:
   src: url('images/a/a4/PrintChar21.woff2') format('woff2');
   src: url('images/a/a4/PrintChar21.woff2') format('woff2');
}
}
.mw-highlight{
@font-face {
background-color: rgb(244, 238, 224) !important;
  font-family: 'GuruMeditation';
color: rgb(109, 93, 110) !important;
  src: url('images/1/19/GuruMeditationNbp-GynZ.woff2') format('woff2');
}
 
/* Headings */
h1 {
font-family: "C64 Pro Mono" !important;
font-size:1.5em;
}
h2 {
font-family: "Apple II" !important;
font-size:1.25em;
}
}
/* Links */
a[href]:visited,a[href]:link,a[href]:focus {
a[href]:visited,a[href]:link,a[href]:focus {
color:blue;
color:LightBlue;
}
}
a.external[href]:visited,a.external[href]:link,a.external[href]:focus {
a.external[href]:visited,a.external[href]:link,a.external[href]:focus {
color:cyan;
color:Aquamarine;
}
a:link.new {
color: red;
}
.left {
float: left;
}
}
.mw-editsection a {
.right {
color:purple;
float: right;
}
}
h1,h2 {
.footer-places div:nth-child(1):after,
font-family: "C64 Pro Mono" !important;
.footer-places div:nth-child(2):after{
content: " |";
}
 
/* Override MW Defaults */
.wikitable {
background-color:inherit;
}
}
body{
.wikitable tr th {
font-family: "Apple II" !important;
background-color:Black;
}
}
.left{
.wikitable th.headerSort {
float: left;
color:LightBlue;
}
}
.right{
.mw-body{
float: right;
padding: 0 1rem 5rem 1rem;
text-align: left;
hyphens: auto;
}
}
.mw-navigation{
.mw-navigation{
backgound-color: rgb(79, 69, 87);
background-color: rgb(79, 69, 87);
}
.mw-highlight {
background-color: rgb(244, 238, 224) !important;
color: rgb(109, 93, 110) !important;
}
ul.gallery.mw-gallery-slideshow {
margin: 0;
margin-top: -1.8rem;
align-self: flex-end;
}
 
/* Override SMW Defaults */
table.wikitable td {
color:inherit;
}
table.dataTable tr.odd,
table.dataTable tr.even {
background-color:inherit;
}
table.smwtable-clean tr.row-odd,
table.smwtable-clean tr.row-even {
background-color:rgba(0,0,0,0);
}
table.smwtable-clean td.smwtype_txt {
border-top:none;
padding-left:0 !important;
}
 
/* Guru */
.meditationError {
font-family: 'GuruMeditation';
border: 8px solid transparent ;
height: 5em ;
text-align:center ;
font-size: 24px ;
font-weight: bold;
color: #ff0000 ;
/** background-color: #000000 ; **/
animation: blink .5s step-end infinite alternate;
padding: 0.7em;
margin-bottom: 1em;
}
.meditationError a {
color: #ff0000 !important;
text-decoration: underline;
}
.meditationError p {
margin-bottom: 0 !important;
}
@keyframes blink {
50% { border-color: #ff0000; }
}
}

Latest revision as of 12:26, 7 December 2024

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

/* Fonts */
@font-face {
  font-family: 'C64 Pro Mono';
  src: url('images/2/2b/C64ProMono.woff2') format('woff2');
}
@font-face {
  font-family: 'Apple II';
  src: url('images/a/a4/PrintChar21.woff2') format('woff2');
}
@font-face {
  font-family: 'GuruMeditation';
  src: url('images/1/19/GuruMeditationNbp-GynZ.woff2') format('woff2');
}

/* Headings */
h1 {
	font-family: "C64 Pro Mono" !important;
	font-size:1.5em;
}
h2 {
	font-family: "Apple II" !important;
	font-size:1.25em;
}

/* Links */
a[href]:visited,a[href]:link,a[href]:focus {
	color:LightBlue;
}
a.external[href]:visited,a.external[href]:link,a.external[href]:focus {
	color:Aquamarine;
}
a:link.new {
	color: red;
}
.left {
	float: left;
}
.right {
	float: right;
}
.footer-places div:nth-child(1):after,
.footer-places div:nth-child(2):after{
	content: " |";
}

/* Override MW Defaults */ 
.wikitable {
	background-color:inherit;
}
.wikitable tr th {
	background-color:Black;
}
.wikitable th.headerSort {
	color:LightBlue;
}
.mw-body{
	padding: 0 1rem 5rem 1rem;
	text-align: left;
	hyphens: auto;
}
.mw-navigation{
	background-color: rgb(79, 69, 87);
}
.mw-highlight {
	background-color: rgb(244, 238, 224) !important;
	color: rgb(109, 93, 110) !important;
}
ul.gallery.mw-gallery-slideshow {
	margin: 0;
	margin-top: -1.8rem;
	align-self: flex-end;
}

/* Override SMW Defaults */
table.wikitable td {
	color:inherit;
}
table.dataTable tr.odd,
table.dataTable tr.even {
	background-color:inherit;
}
table.smwtable-clean tr.row-odd,
table.smwtable-clean tr.row-even {
	background-color:rgba(0,0,0,0);
}
table.smwtable-clean td.smwtype_txt {
	border-top:none;
	padding-left:0 !important;
}

/* Guru */
.meditationError { 
	font-family: 'GuruMeditation';
	border: 8px solid transparent ;
	height: 5em ;
	text-align:center ;
	font-size: 24px ;
	font-weight: bold;
	color: #ff0000 ;
	/**	background-color: #000000 ;	**/
	animation: blink .5s step-end infinite alternate;
	padding: 0.7em;
	margin-bottom: 1em;
}
.meditationError a {
	color: #ff0000 !important;
	text-decoration: underline;
}
.meditationError p {
	margin-bottom: 0 !important;
}
@keyframes blink {
	50% { border-color: #ff0000; }
}