Difference between revisions of "MediaWiki:Common.css"
m |
m |
||
Line 116: | Line 116: | ||
#content h5 { font-size: 130% !important; font-style:bold !important; } | #content h5 { font-size: 130% !important; font-style:bold !important; } | ||
#content h6 { font-size: 120% !important; font-style:italic; } | #content h6 { font-size: 120% !important; font-style:italic; } | ||
+ | |||
+ | #bodyContent h1, firstHeading { font-size: 24px; } | ||
+ | #bodyContent h2 { font-size: 170% !important; font-style:bold !important; } | ||
+ | #bodyContent h3 { font-size: 150% !important; font-style:bold !important; } | ||
+ | #bodyContent h4 { font-size: 140% !important; font-style:bold !important; } | ||
+ | #bodyContent h5 { font-size: 130% !important; font-style:bold !important; } | ||
+ | #bodyContent h6 { font-size: 120% !important; font-style:italic; } |
Revision as of 23:34, 11 June 2021
/** CSS placed here will be applied to all skins */
@font-face {
font-family:"Gotham-Black";
src:url("/styles/Gotham-Black.otf")
}
@font-face {
font-family:"Gotham-BlackItalic";
src:url("/styles/Gotham-BlackItalic.otf")
}
@font-face {
font-family:"Gotham-Bold";
src:url("/styles/Gotham-Bold.otf")
}
@font-face {
font-family:"Gotham-BoldItalic";
src:url("/styles/Gotham-BoldItalic.otf")
}
@font-face {
font-family:"Gotham-Book";
src:url("/styles/Gotham-Book.otf")
}
@font-face {
font-family:"Gotham-BookItalic";
src:url("/styles/Gotham-BookItalic.otf")
}
h1, h2, h3, h4, h5, h6 { font-family:Gotham-Book;
/* text-transform: uppercase; */
}
body {font-family:Gotham-Book;Montserrat}
.mw-body h1,.mw-body h2,.mw-body h3, .mw-body h4,.mw-body h5 {font-family:Gotham-Book,Montserrat}
.mw-headline
{
font-family: "Gotham-Bold","Gotham-Book" , Montserrat, sans-serif;
font-size: 14px;
/*font-weight: bold;*/
color: #008080;
background:#ffffff;
//background:#cef2e0;
// background-color: #CCFFCC;
// border-radius: 5px;
//border: 1px outset #008080;
padding: 2px;
width: 300px;
}
.structuredData {display:none}
td {vertical-align:top}
body {
/*
max-width:1366px;
*/
}
/* ****************** NO TITLE ON MAINPAGE *************** */
body.page-The_Bose_Professional_Portable_PA_Encyclopedia_FAQ_Wiki.action-view h1.firstHeading, body.page-The_Bose_Professional_Portable_PA_Encyclopedia_FAQ_Wiki.action-submit h1.firstHeading { display: none; }
/* responsive image sizing */
img {
max-width: 100%;
height: auto;
}
/* responsive table of contents with introduction https://medium.freecodecamp.org/how-to-make-your-html-responsive-by-adding-a-single-line-of-css-2a62de81e431 */
.tocdiv {
max-width: 1366px;
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(300px, 4fr));
grid-template-rows: repeat(2, 300px);
grid-template-rows: repeat(auto-fit, minmax(300px, 1fr));
/* responsive iframe for youtube videos */
@media screen and (max-width: 750px) {
iframe {
max-width: 100% !important;
width: auto !important;
height: auto !important;
}
}
/* Power Characters */
@font-face {
font-family: 'power_symbols';
src: url('https://toonz.ca/fonts/unicode/Unicode_IEC_symbol.ttf') format('ttf'),
url('https://toonz.ca/fonts/unicode/Unicode_IEC_symbol.woff2') format('woff2'),
url('https://toonz.ca/fonts/unicode/Unicode_IEC_symbol.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.power{
font-family: 'power_symbols';
font-style: normal;
}
#content h1, firstHeading { font-size: 24px; }
#content h2 { font-size: 170% !important; font-style:bold !important; }
#content h3 { font-size: 150% !important; font-style:bold !important; }
#content h4 { font-size: 140% !important; font-style:bold !important; }
#content h5 { font-size: 130% !important; font-style:bold !important; }
#content h6 { font-size: 120% !important; font-style:italic; }
#bodyContent h1, firstHeading { font-size: 24px; }
#bodyContent h2 { font-size: 170% !important; font-style:bold !important; }
#bodyContent h3 { font-size: 150% !important; font-style:bold !important; }
#bodyContent h4 { font-size: 140% !important; font-style:bold !important; }
#bodyContent h5 { font-size: 130% !important; font-style:bold !important; }
#bodyContent h6 { font-size: 120% !important; font-style:italic; }