MediaWiki:Common.css: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
(Change which font file EGA8 points to)
(Add preliminary navbox CSS)
Line 22: Line 22:
opacity: 100%;
opacity: 100%;
}
}
}
/* Navbox CSS */
.navbox {
  width: 100%;
  border: 1px solid #aaa;
}
.navbox tr:first-child {
  background: #B6B6E7;
}
.navbox tr:nth-child(n+2) th {
  background: #DBDBF3;
  padding-left: 1em;
  padding-right: 1em;
}
.navbox td {
  padding-left: 0.5em;
  padding-right: 0.5em;
  width: 100%;
}
.navbox tr:nth-child(2n+1) td {
  background: #f5f5f5;
}
}

Revision as of 09:26, 17 January 2021

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

@font-face {
	font-family: "EGA8";
	src: url("/w/images/a/ae/Web437_IBM_EGA_8x14.woff") format("woff");
}

.blinking {
	animation: 2.5s linear infinite blinking_text;
}
@keyframes blinking_text {
	35% {
		opacity: 100%;
	}
	45% {
		opacity: 0%;
	}
	55% {
		opacity: 0%;
	}
	65% {
		opacity: 100%;
	}
}


/* Navbox CSS */
.navbox {
  width: 100%;
  border: 1px solid #aaa;
}

.navbox tr:first-child {
  background: #B6B6E7;
}

.navbox tr:nth-child(n+2) th {
  background: #DBDBF3;
  padding-left: 1em;
  padding-right: 1em;
}

.navbox td {
  padding-left: 0.5em;
  padding-right: 0.5em;
  width: 100%;
}

.navbox tr:nth-child(2n+1) td {
  background: #f5f5f5;
}