Difference between revisions of "MediaWiki:Common.css"

From Legends of Hyrule
Jump to navigationJump to search
Line 17: Line 17:
  
 
== Fonts ==
 
== Fonts ==
 +
 +
/* <pre> */
 +
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,400i,700,700i|PT+Serif:400,400i,700,700i&display=swap');
  
 
@font-face {
 
@font-face {
     font-family: 'mreaves';
+
     font-family: 'runescape';
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
     src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');
+
     src: url('filepath://Runescape.woff') format('woff');
 
}
 
}
  
 
@font-face {
 
@font-face {
     font-family: 'runescape';
+
     font-family: 'mreaves';
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
     src: url('filepath://Runescape.woff') format('woff');
+
     src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype');
 
}
 
}

Revision as of 20:07, 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 ==

/* <pre> */
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,400i,700,700i|PT+Serif:400,400i,700,700i&display=swap');

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

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