Difference between revisions of "MediaWiki:Common.css"

From Legends of Hyrule
Jump to navigationJump to search
Line 38: Line 38:
 
     src: local("Mr Eaves Small Caps"),
 
     src: local("Mr Eaves Small Caps"),
 
         local("mreavessmallcaps"),
 
         local("mreavessmallcaps"),
         url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');
+
         url('/fonts/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('/fonts/mreavessmallcaps.otf') format('opentype');
}