MediaWiki:Common.css: Difference between revisions
From Diskmags Catalog
No edit summary |
No edit summary |
||
| 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 12: | Line 14: | ||
src: url('images/1/19/GuruMeditationNbp-GynZ.woff2') format('woff2'); | src: url('images/1/19/GuruMeditationNbp-GynZ.woff2') format('woff2'); | ||
} | } | ||
/* Headings */ | |||
h1 { | h1 { | ||
font-family: "C64 Pro Mono" !important; | font-family: "C64 Pro Mono" !important; | ||
| Line 26: | Line 24: | ||
font-size:1.25em; | font-size:1.25em; | ||
} | } | ||
/* Links */ | |||
a[href]:visited,a[href]:link,a[href]:focus { | a[href]:visited,a[href]:link,a[href]:focus { | ||
color:LightBlue; | color:LightBlue; | ||
| Line 56: | Line 40: | ||
.right{ | .right{ | ||
float: 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; | |||
word-break: break-word; | |||
} | } | ||
.mw-navigation{ | .mw-navigation{ | ||
backgound-color: rgb(79, 69, 87); | backgound-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{ | ul.gallery.mw-gallery-slideshow{ | ||
| Line 65: | Line 75: | ||
align-self: flex-end; | align-self: flex-end; | ||
} | } | ||
. | |||
. | /* Override SMW Defaults */ | ||
.wikitable td.smwtype_txt { | |||
color:White; | |||
} | |||
.smwtable-clean .rowodd, | |||
.smwtable-clean .roweven { | |||
background-color:inherit; | |||
} | } | ||
/* Guru */ | |||
.meditationError { | .meditationError { | ||
font-family: 'GuruMeditation'; | font-family: 'GuruMeditation'; | ||
| Line 87: | Line 103: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.meditationError p{ margin-bottom: 0 !important;} | .meditationError p{ margin-bottom: 0 !important;} | ||
@keyframes blink { 50% { border-color: #ff0000; } } | @keyframes blink { 50% { border-color: #ff0000; } } | ||
Revision as of 16:39, 29 November 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;
word-break: break-word;
}
.mw-navigation{
backgound-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 */
.wikitable td.smwtype_txt {
color:White;
}
.smwtable-clean .rowodd,
.smwtable-clean .roweven {
background-color:inherit;
}
/* 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; } }