MediaWiki:Common.css: Difference between revisions

From OSSelot
Jump to navigation Jump to search
(Added CSS to use the OSSelot logo as glyph)
 
(Moved fonts to a subdirectory)
 
Line 3: Line 3:
@font-face {
@font-face {
     font-family: 'OSSelot-Bold';
     font-family: 'OSSelot-Bold';
     src: url('OSSelotBold.woff2') format('woff2'),
     src: url('fonts/OSSelotBold.woff2') format('woff2'),
         url('OSSelotBold.woff') format('woff'),
         url('fonts/OSSelotBold.woff') format('woff'),
         url('OSSelotBold.ttf')  format('truetype');
         url('fonts/OSSelotBold.ttf')  format('truetype');
}
}
/* Example usage: <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">O</span> */
/* Example usage: <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">O</span> */

Latest revision as of 11:04, 9 July 2023

/* CSS placed here will be applied to all skins. */
/* The below font allows to use the stylish OSSelot logo as glyph. */
@font-face {
    font-family: 'OSSelot-Bold';
    src: url('fonts/OSSelotBold.woff2') format('woff2'),
         url('fonts/OSSelotBold.woff') format('woff'),
         url('fonts/OSSelotBold.ttf')  format('truetype');
}
/* Example usage: <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">O</span> */