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("/mreavessmallcaps.otf") format("opentype");
+
   src: url("") format("opentype");
 +
  font-style: normal;
 +
}
 +
 
 +
@font-face { /* normal */
 +
  font-family: "Mr Eaves Small Caps";
 +
  src: url(/mreavessmallcaps.otf) format("opentype"),
 +
      url(/mreavessmallcaps.otf) format("embedded-opentype");
 +
  font-weight: normal;
 
   font-style: normal;
 
   font-style: normal;
 
}
 
}

Revision as of 19:09, 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("") format("opentype");
  font-style: normal;
}

@font-face { /* normal */
  font-family: "Mr Eaves Small Caps";
  src: url(/mreavessmallcaps.otf) format("opentype"),
       url(/mreavessmallcaps.otf) format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
}