Difference between revisions of "MediaWiki:Common.css"

From Legends of Hyrule
Jump to navigationJump to search
 
(58 intermediate revisions by the same user not shown)
Line 16: Line 16:
  
  
−
== Fonts ==
+
== Fonts families ==
  
 
/* <pre> */
 
/* <pre> */
 
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,400i,700,700i|PT+Serif:400,400i,700,700i&display=swap');
 
@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: 'triforce';
 +
    font-style: normal;
 +
    font-weight: normal;
 +
    src: url('http://legendsofhyrule.net/5e/fonts/triforce.ttf') format('truetype');
 +
}
  
 
@font-face {
 
@font-face {
Line 26: Line 32:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
−
     src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype'),
+
     src: url('http://legendsofhyrule.net/5e/fonts/mreavessmallcaps.otf') format('opentype');
−
        url('http://hyrulecastle.org/5e/fonts/mreavessmallcaps.otf') format('opentype');
 
 
}
 
}
  
Line 34: Line 39:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
−
     src: url('http://hyrulecastle.org/5e/fonts/Bookinsanity.otf') format('opentype');
+
     src: url('http://legendsofhyrule.net/5e/fonts/Bookinsanity.otf') format('opentype');
 
}
 
}
  
Line 41: Line 46:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
−
     src: url('http://hyrulecastle.org/5e/fonts/scalysans.otf') format('opentype'),
+
     src: url('http://legendsofhyrule.net/5e/fonts/scalysans.otf') format('opentype');
−
        url('http://hyrulecastle.org/5e/fonts/Scaly%20Sans.otf') format('opentype');
 
 
}
 
}
  
Line 49: Line 53:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
−
     src: url('http://hyrulecastle.org/5e/fonts/scalysanscaps.otf') format('opentype'),
+
     src: url('http://legendsofhyrule.net/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 ==
+
@font-face {
−
hr {
+
     font-family: 'nodestocaps';
−
     height: 1px;
+
     font-style: normal;
−
     color: #7b0804;
+
     font-weight: normal;
−
     background-color: #123455;
+
     src: url('http://legendsofhyrule.net/5e/fonts/nodestocapscondensed.otf') format('opentype');
−
     border: none;
 
 
}
 
}
 +
 +
@font-face {
 +
    font-family: 'solbera';
 +
    font-style: normal;
 +
    font-weight: normal;
 +
    src: url('http://legendsofhyrule.net/5e/fonts/solberaimitation.otf.otf') format('opentype');
 +
}
 +
 +
@font-face {
 +
    font-family: 'zatanna';
 +
    font-style: normal;
 +
    font-weight: normal;
 +
    src: url('http://legendsofhyrule.net/5e/fonts/zatannamisdirection.otf') format('opentype');
 +
}
 +
 +
== search bar held in place with duct tape ==
 +
 +
div#sidebar  {position: fixed; top: 220px; width: 100%; z-index: 100; }

Latest revision as of 18:20, 19 October 2026

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

== External image resizing ==

*/

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

/*


== Fonts families ==

/* <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: 'triforce';
    font-style: normal;
    font-weight: normal;
    src: url('http://legendsofhyrule.net/5e/fonts/triforce.ttf') format('truetype');
}

@font-face {
    font-family: 'mreaves';
    font-style: normal;
    font-weight: normal;
    src: url('http://legendsofhyrule.net/5e/fonts/mreavessmallcaps.otf') format('opentype');
}

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

@font-face {
    font-family: 'scalysans';
    font-style: normal;
    font-weight: normal;
    src: url('http://legendsofhyrule.net/5e/fonts/scalysans.otf') format('opentype');
}

@font-face {
    font-family: 'scalysanscaps';
    font-style: normal;
    font-weight: normal;
    src: url('http://legendsofhyrule.net/5e/fonts/scalysanscaps.otf') format('opentype');
}

@font-face {
    font-family: 'nodestocaps';
    font-style: normal;
    font-weight: normal;
    src: url('http://legendsofhyrule.net/5e/fonts/nodestocapscondensed.otf') format('opentype');
}

@font-face {
    font-family: 'solbera';
    font-style: normal;
    font-weight: normal;
    src: url('http://legendsofhyrule.net/5e/fonts/solberaimitation.otf.otf') format('opentype');
}

@font-face {
    font-family: 'zatanna';
    font-style: normal;
    font-weight: normal;
    src: url('http://legendsofhyrule.net/5e/fonts/zatannamisdirection.otf') format('opentype');
}

== search bar held in place with duct tape ==

div#sidebar  {position: fixed; top: 220px; width: 100%; z-index: 100; }