Difference between revisions of "MediaWiki:Common.css"

From Legends of Hyrule
Jump to navigationJump to search
Line 52: Line 52:
 
         url('http://hyrulecastle.org/5e/fonts/Scaly%20Sans%20Caps.otf') format('opentype');
 
         url('http://hyrulecastle.org/5e/fonts/Scaly%20Sans%20Caps.otf') format('opentype');
 
}
 
}
 +
 +
== hr is red-brown instead of gray ==
 +
hr { display: block; height: 1px;
 +
    border: 0; border-top: 1px solid #7b0804;
 +
    margin: 1em 0; padding: 0; }

Revision as of 21:09, 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: 'mreaves';
    font-style: normal;
    font-weight: normal;
    src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype'),
         url('http://hyrulecastle.org/5e/fonts/mreavessmallcaps.otf') format('opentype');
}

@font-face {
    font-family: 'bookinsanity';
    font-style: normal;
    font-weight: normal;
    src: url('http://hyrulecastle.org/5e/fonts/Bookinsanity.otf') format('opentype');
}

@font-face {
    font-family: 'scalysans';
    font-style: normal;
    font-weight: normal;
    src: url('http://hyrulecastle.org/5e/fonts/scalysans.otf') format('opentype'),
         url('http://hyrulecastle.org/5e/fonts/Scaly%20Sans.otf') format('opentype');
}

@font-face {
    font-family: 'scalysanscaps';
    font-style: normal;
    font-weight: normal;
    src: url('http://hyrulecastle.org/5e/fonts/scalysanscaps.otf') format('opentype'),
         url('http://hyrulecastle.org/5e/fonts/Scaly%20Sans%20Caps.otf') format('opentype');
}

== hr is red-brown instead of gray ==
hr { display: block; height: 1px;
    border: 0; border-top: 1px solid #7b0804;
    margin: 1em 0; padding: 0; }