Difference between revisions of "MediaWiki:Common.css"

From Legends of Hyrule
Jump to navigationJump to search
Line 26: Line 26:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
     src: url('http://hyrulecastle.org/5e/fonts/triforce.ttf') format('truetype');
+
     src: url('http://hyrulecastle.org/loh/5e/fonts/triforce.ttf') format('truetype');
 
}
 
}
  
Line 33: Line 33:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
     src: url('http://hyrulecastle.org/mreavessmallcaps.otf') format('opentype'),
+
     src: url('http://hyrulecastle.org/loh/5e/fonts/mreavessmallcaps.otf') format('opentype');
        url('http://hyrulecastle.org/5e/fonts/mreavessmallcaps.otf') format('opentype');
 
 
}
 
}
  
Line 41: Line 40:
 
     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://hyrulecastle.org/loh/5e/fonts/Bookinsanity.otf') format('opentype');
 
}
 
}
  
Line 48: Line 47:
 
     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://hyrulecastle.org/loh/5e/fonts/scalysans.otf') format('opentype'),
         url('http://hyrulecastle.org/5e/fonts/Scaly%20Sans.otf') format('opentype');
+
         url('http://hyrulecastle.org/loh/5e/fonts/Scaly%20Sans.otf') format('opentype');
 
}
 
}
  
Line 56: Line 55:
 
     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://hyrulecastle.org/loh/5e/fonts/scalysanscaps.otf') format('opentype'),
         url('http://hyrulecastle.org/5e/fonts/Scaly%20Sans%20Caps.otf') format('opentype');
+
         url('http://hyrulecastle.org/loh/5e/fonts/Scaly%20Sans%20Caps.otf') format('opentype');
 
}
 
}
  
Line 64: Line 63:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
     src: url('http://hyrulecastle.org/5e/fonts/nodestocapscondensed.otf') format('opentype');
+
     src: url('http://hyrulecastle.org/loh/5e/fonts/nodestocapscondensed.otf') format('opentype');
 
}
 
}
  
Line 71: Line 70:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
     src: url('http://hyrulecastle.org/5e/fonts/solberaimitation.otf.otf') format('opentype');
+
     src: url('http://hyrulecastle.org/loh/5e/fonts/solberaimitation.otf.otf') format('opentype');
 
}
 
}
  
Line 78: Line 77:
 
     font-style: normal;
 
     font-style: normal;
 
     font-weight: normal;
 
     font-weight: normal;
     src: url('http://hyrulecastle.org/5e/fonts/zatannamisdirection.otf') format('opentype');
+
     src: url('http://hyrulecastle.org/loh/5e/fonts/zatannamisdirection.otf') format('opentype');
 
}
 
}
  

Revision as of 21:14, 26 May 2020

/* 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://hyrulecastle.org/loh/5e/fonts/triforce.ttf') format('truetype');
}

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

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

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

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

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

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

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


== header fonts ==

#firstHeading{font-size: 36px; font-family: "mreaves"; }
#content h1 {font-size: 36px; font-family: "mreaves"; !important; }
#content h2 {font-size: 28px; font-family: "mreaves"; }
#content h3 {font-family: "scalysanscaps"; }
#content h4 {font-family: "scalysanscaps"; }


== hide main page header ==

body.mainpage.action-view h1.firstHeading, body.mainpage.action-submit h1.firstHeading { display: none; }


== hide tools/toolbox in sidebar ==
#p-navigation  { display:none }
#p-tb { display:none }
#feedlinks { display: none; }
#t-whatlinkshere { display: none; }
#t-recentchangeslinked { display: none; }
#t-log { display: none; }
#t-blockip { display: none; }
#t-userrights { display: none; }
#t-upload { display: none; }
#t-specialpages { display: none; }
#t-print { display: none; }
#t-permalink { display: none; }
#t-info { display: none; }