MediaWiki:Common.css: Difference between revisions
From Diskmags Catalog
No edit summary |
No edit summary |
||
| (33 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 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 23: | Line 21: | ||
} | } | ||
h2 { | h2 { | ||
font-family: " | font-family: "Apple II" !important; | ||
font-size:1.25em; | 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 { | .wikitable { | ||
background-color:inherit; | background-color:inherit; | ||
| Line 42: | Line 56: | ||
color:LightBlue; | color:LightBlue; | ||
} | } | ||
. | .mw-body{ | ||
padding: 0 1rem 5rem 1rem; | |||
text-align: left; | |||
hyphens: auto; | |||
} | } | ||
.mw-navigation{ | |||
color: | background-color: rgb(79, 69, 87); | ||
} | } | ||
.mw-highlight { | |||
color: | 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 { | .meditationError { | ||
font-family: 'GuruMeditation'; | font-family: 'GuruMeditation'; | ||
border: 8px solid | border: 8px solid transparent ; | ||
height: 5em ; | height: 5em ; | ||
text-align:center ; | text-align:center ; | ||
| Line 78: | Line 100: | ||
font-weight: bold; | font-weight: bold; | ||
color: #ff0000 ; | color: #ff0000 ; | ||
background-color: #000000 ; | /** background-color: #000000 ; **/ | ||
animation: blink .5s step-end infinite alternate; | animation: blink .5s step-end infinite alternate; | ||
padding: 0.7em; | padding: 0.7em; | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
} | } | ||
.meditationError a{ | .meditationError a { | ||
color: #ff0000 !important; | color: #ff0000 !important; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
.meditationError p { | |||
.meditationError p{ margin-bottom: 0 !important;} | margin-bottom: 0 !important; | ||
} | |||
@keyframes blink { 50% { border-color: #ff0000; } | @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; }
}