Difference between revisions of "MediaWiki:Common.css"

From Legends of Hyrule
Jump to navigationJump to search
Line 20: Line 20:
 
@font-face {
 
@font-face {
 
   font-family: "mreaves";
 
   font-family: "mreaves";
   src: url("") format("opentype");
+
   src: url("http://hyrulecastle.org/mreavessmallcaps.otf") format("opentype");
 
   font-style: normal;
 
   font-style: normal;
 
}
 
}
  
@font-face { /* normal */
+
@font-face {
  font-family: "Mr Eaves Small Caps";
+
font-family: 'Mr Eaves Small Caps' !important;;
  src: url(/mreavessmallcaps.otf) format("opentype"),
+
src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');}
      url(/mreavessmallcaps.otf) format("embedded-opentype");
+
.mw-body,
  font-weight: normal;
+
.mw-headline,
  font-style: normal;
+
.mw-label,
}
+
.mw-input,
 +
.mw-body-content,
 +
.mw-allpages-table-form,
 +
.mw-allpages-nav {
 +
font-family: 'Mr Eaves Small Caps';}

Revision as of 19:12, 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: "mreaves";
  src: url("http://hyrulecastle.org/mreavessmallcaps.otf") format("opentype");
  font-style: normal;
}

@font-face {
font-family: 'Mr Eaves Small Caps' !important;;
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';}