Difference between revisions of "MediaWiki:Common.css"

From Legends of Hyrule
Jump to navigationJump to search
Line 18: Line 18:
 
== Fonts ==
 
== Fonts ==
  
@font-face {
 
  font-family: "mreaves";
 
  src: url("http://hyrulecastle.org/mreavessmallcaps.otf") format("opentype");
 
  font-style: normal;
 
}
 
  
 
@font-face {
 
@font-face {
Line 35: Line 30:
 
.mw-allpages-nav {
 
.mw-allpages-nav {
 
font-family: 'Mr Eaves Small Caps' !important;}
 
font-family: 'Mr Eaves Small Caps' !important;}
 +
 +
 +
@font-face {
 +
    font-family: 'mreaves';
 +
    font-style: normal;
 +
    font-weight: normal;
 +
    src: local("Mr Eaves Small Caps"),
 +
        local("mreavessmallcaps"),
 +
        url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');
 +
}

Revision as of 19:16, 6 July 2019

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

== External image resizing ==

<pre> */

.externalimage-holder {
    position: relative;
}
.externalimage-holder img {
    width: 100%;
    height: auto;
}

/* </pre>


== Fonts ==


@font-face {
font-family: 'Mr Eaves Small Caps';
src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');}
.mw-body,
.mw-headline,
.mw-label,
.mw-input,
.mw-body-content,
.mw-allpages-table-form,
.mw-allpages-nav {
font-family: 'Mr Eaves Small Caps' !important;}


@font-face {
    font-family: 'mreaves';
    font-style: normal;
    font-weight: normal;
    src: local("Mr Eaves Small Caps"),
         local("mreavessmallcaps"),
         url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');
}