Difference between revisions of "MediaWiki:Common.css"

From Legends of Hyrule
Jump to navigationJump to search
(Undo revision 701 by Guy (talk))
Tag: Undo
Line 3: Line 3:
 
== External image resizing ==
 
== External image resizing ==
  
<pre> */
+
*/
  
 
.externalimage-holder {
 
.externalimage-holder {
Line 13: Line 13:
 
}
 
}
  
/* </pre>
+
/*
  
  
Line 23: Line 23:
 
     font-weight: normal;
 
     font-weight: normal;
 
     src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');
 
     src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');
 +
}
 +
 +
@font-face {
 +
    font-family: 'runescape';
 +
    font-style: normal;
 +
    font-weight: normal;
 +
    src: url('http://hyrulecastle.org/runescape.woff') format('woff');
 
}
 
}

Revision as of 19:41, 6 July 2019

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

== External image resizing ==

*/

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

/*


== Fonts ==

@font-face {
    font-family: 'mreaves';
    font-style: normal;
    font-weight: normal;
    src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');
}

@font-face {
    font-family: 'runescape';
    font-style: normal;
    font-weight: normal;
    src: url('http://hyrulecastle.org/runescape.woff') format('woff');
}