MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
m
Reverted edits by Compooper (talk) to last revision by Logoarto
imported>Hb1290
No edit summary
imported>Compooper
m (Reverted edits by Compooper (talk) to last revision by Logoarto)
 
(20 intermediate revisions by 3 users not shown)
Line 2: Line 2:


@import url('/1.41/extensions/FontAwesome/res/fontawesome/css/all.min.css');
@import url('/1.41/extensions/FontAwesome/res/fontawesome/css/all.min.css');
@import url('https://user-content.static.wf/avidwiki/9/96/Avid_web_hinted_2.ttf');
@import url('https://user-content.static.wf/avidwiki/3/31/Avid_web_bold.ttf');
/* Define typefaces.*/
/* Define typefaces.*/
@font-face {
@font-face {
     font-family: 'Montserrat';
     font-family: 'AVID Web';
     src: url('https://static.wikiforge.net/avidwiki/3/3c/Montserrat.ttf');
     src: url('https://user-content.static.wf/avidwiki/9/96/Avid_web_hinted_2.ttf');
}  
}
.classname {
.classname {
     font-family: 'Montserrat';
     font-family: 'AVID Web';
}
}
@font-face {
@font-face {
     font-family: 'Montserrat';
     font-family: 'AVID Web';
     font-weight: bold;
     font-weight: bold;
     src: url('https://static.wikiforge.net/avidwiki/2/25/Montserrat-Bold.ttf');
     src: url('https://user-content.static.wf/avidwiki/3/31/Avid_web_bold.ttf');
}
}
classname {
.classname {
     font-family: 'Montserrat';
     font-family: 'AVID Web';
     font-weight: bold;
     font-weight: bold;
}
}
/* Code copied from [[wikipedia:MediaWiki:Common.css]] */
/* Code copied from [[wikipedia:MediaWiki:Common.css]] */
/* Make Main Page title invisible */
/* Make Main Page title invisible */
Line 382: Line 385:
/* Interface Style (code by Hb1290) */
/* Interface Style (code by Hb1290) */
div#mw-panel div.portal h3{
div#mw-panel div.portal h3{
   font-family:Montserrat; font-weight:450; font-size: 14px;
   font-family:AVID Web; font-weight:450; font-size: 14px;
}
}
div#mw-navigation  div#mw-head div#p-user-tools{
div#mw-navigation  div#mw-head div#p-user-tools{
   font-family:Montserrat;
   font-family:AVID Web;
}
}
div#mw-navigation  div#mw-head div#p-search{
div#mw-navigation  div#mw-head div#p-search{
   font-family:Montserrat;
   font-family:AVID Web;
}
}
div#mw-navigation div#mw-head div#right-navigation{
div#mw-navigation div#mw-head div#right-navigation{
font-family:Montserrat;
font-family:AVID Web;
}
}
div#mw-navigation div#mw-head div#left-navigation{
div#mw-navigation div#mw-head div#left-navigation{
font-family:Montserrat;
font-family:AVID Web;
}
}
#mw-navbar {
#mw-navbar {
     background-image: url(https://static.wikiforge.net/avidwiki/6/6b/AVID_darker_banner_3_-_LQ.webp);
     background-image: url(https://user-content.static.wf/avidwiki/6/6b/AVID_darker_banner_3_-_LQ.webp);
     background-size: cover;
     background-size: cover;
}
}
Line 677: Line 680:
#n-Television-Bumpers a::before {
#n-Television-Bumpers a::before {
     content: "\f26c";
     content: "\f26c";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.6em;
}
#n-Closed-Captioning-Bumpers a::before {
    content: "\f20a";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.6em;
}
#n-Sponsor-Bumpers a::before {
    content: "\f2b5";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.6em;
}
#n-Endcards a::before {
    content: "\f051";
     font-family: 'Font Awesome 6 Free';
     font-family: 'Font Awesome 6 Free';
     font-weight: 900;
     font-weight: 900;
Line 738: Line 759:
#n-Warning-Screens a::before {
#n-Warning-Screens a::before {
     content: "\f071";
     content: "\f071";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.76em;
}
#n-Emergency-Screens a::before {
    content: "\f0e7";
     font-family: 'Font Awesome 6 Free';
     font-family: 'Font Awesome 6 Free';
     font-weight: 900;
     font-weight: 900;
Line 760: Line 787:
margin-right: 1em;
margin-right: 1em;
}
}
#n-Bluesky a::before {
/*#n-Bluesky a::before {
content: "\fe671";
content: "\fe671";
font-family: 'Font Awesome 6 Brands';
font-family: 'Font Awesome 6 Brands';
Line 766: Line 793:
margin-right: 1em;
margin-right: 1em;
}
}
*/
#n-Internet-Archive a::before {
#n-Internet-Archive a::before {
content: url(https://static.wikiforge.net/avidwiki/8/8b/Internet_Archive_Logo.png);
content: url(https://www.avid.wiki/w/thumb.php?f=Internet_Archive_logotype.png&width=15);
margin-right: 1em;
}
#n-Bluesky a::before {
content: url(https://www.avid.wiki/w/thumb.php?f=Bluesky_Logo.png&width=15);
margin-right: 1em;
margin-right: 1em;
}
}
Line 1,063: Line 1,095:
/*Fonts for sidebar headers*/
/*Fonts for sidebar headers*/
#p-navigation-label, #p-Sections-label, #p-Categories-label, #p-Policy_and_Administration-label, #p-Administration-label, #p-cactions-label, #p-userpagetools-label, #p-pagemisc-label, #p-views-label #p-tb-label, #p-tb-label, #p-More_AVID-label, #p-managewiki-sidebar-header-label  {
#p-navigation-label, #p-Sections-label, #p-Categories-label, #p-Policy_and_Administration-label, #p-Administration-label, #p-cactions-label, #p-userpagetools-label, #p-pagemisc-label, #p-views-label #p-tb-label, #p-tb-label, #p-More_AVID-label, #p-managewiki-sidebar-header-label  {
font-family:Montserrat;
font-family:AVID Web;
}
}
/* Fonts for Search and User Menu */
/* Fonts for Search and User Menu */
/* Fonts for Search and User Menu */
/* Fonts for Search and User Menu */
#p-user-tools{
#p-user-tools{
   font-family: Montserrat;
   font-family: AVID Web;
}
}
.form-inline .form-control {
.form-inline .form-control {
Line 1,074: Line 1,106:
     width: auto;
     width: auto;
     vertical-align: middle;
     vertical-align: middle;
     font-family: Montserrat;
     font-family: AVID Web;
}
}
#p-TOOLBOXEND
#p-TOOLBOXEND
Line 1,088: Line 1,120:
/*Discord Banner*/
/*Discord Banner*/
.discord-banner {
.discord-banner {
     background-image: url(https://i.imgur.com/86lmQaU.png);
     background-image: url(https://user-content.static.wf/avidwiki/f/f2/Embed_2_00000.png);
     width: 350px;  
     width: 350px;  
     height: 150px;
     height: 150px;
Line 1,099: Line 1,131:
@media screen and (max-width:1200px) {
@media screen and (max-width:1200px) {
.discord-banner {
.discord-banner {
         background-image:url("https://discordapp.com/api/guilds/1018076680314703892/embed.png?style=banner2");
         background-image:url("https://user-content.static.wf/avidwiki/2/2f/Discordembed.png");
         width:100%;
         width:100%;
         height:100px;
         height:100px;
Line 1,106: Line 1,138:
/*heading fonts*/
/*heading fonts*/
h1, h2, h3, h4 {
h1, h2, h3, h4 {
     font-family:Montserrat
     font-family:AVID Web
}
}
/*nav fonts*/
/*nav fonts*/
#mw-navigation a {
#mw-navigation a {
     font-family: Montserrat
     font-family: AVID Web
}
}
#p-namespaces {
#p-namespaces {
   font-family:Montserrat
   font-family:AVID Web
}
}
.dropdown-toggle {
.dropdown-toggle {
     font-family:Montserrat
     font-family:AVID Web
}
}
.dropdown-menu .dropdown-menu-right show {
.dropdown-menu .dropdown-menu-right show {
     font-family:Montserrat
     font-family:AVID Web
}
}
/*Body fonts (shouldn't override Montserrat in headings)*/
/*Body fonts (shouldn't override AVID Web in headings)*/
.mw-body-content {
.mw-body-content {
     font-family: 'Montserrat' !important;
     font-family: 'AVID Web' !important;
}
}


#mw-wrapper, #searchInput, .dropdown-item, .wikipediauserbox {
#mw-wrapper, #searchInput, .dropdown-item, .wikipediauserbox {
font-family: 'Montserrat' !important
font-family: 'AVID Web' !important
}
}
.mbox-text {
.mbox-text {
     font-family:'Montserrat' !important
     font-family:'AVID Web' !important
}
}
h1, #firstHeading, .firstHeading, h2, h3, h4, h5, h6 {
h1, #firstHeading, .firstHeading, h2, h3, h4, h5, h6 {
font-family: 'Montserrat';
font-family: 'AVID Web';
font-weight: 500;
font-weight: 500;
}
}
/*Footer fonts*/
/*Footer fonts*/
.mw-footer {
.mw-footer {
font-family:Montserrat;
font-family:AVID Web;
}
}
/*Exempt banner from dark mode*/
/*Exempt banner from dark mode*/
Line 1,170: Line 1,202:
/*fix SocialProfile layout issue (https://phabricator.wikimedia.org/T328235)*/
/*fix SocialProfile layout issue (https://phabricator.wikimedia.org/T328235)*/
.visualClear { clear: both; }
.visualClear { clear: both; }
/*fix infobox overflow issue*/
/*fix infobox overflow issues*/
.pi-data-value {
.pi-data-value {
width: 45%;
width: 45%;
}
.portable-infobox .pi-header {
word-break: break-all;
  white-space: pre-wrap;
  text-align: center;
  padding: 0.6em;
}
}
@media screen and (min-width:720px) {
@media screen and (min-width:720px) {
Line 1,238: Line 1,276:
.wikipediauserbox{
.wikipediauserbox{
     width:240px !important
     width:240px !important
}
@media screen and (max-width: 1200px) {
    .discord-banner {
        background-image: url(https://user-content.static.wf/avidwiki/2/2f/Discordembed.png);
        width: 100%;
        height: 100px;
    }
}
/* Mini tabbers */
.tabs-tabbox > .tabs-container {
    margin-top: -1px;
    padding: 2px 6px;
    border-radius: 8px;
    position: relative;
    width: inherit;
    max-width: inherit;
    min-width: inherit;
    z-index: 1;
    border-top-color: #939393 !important;
    border-top: solid;
    border-radius: unset;
    border-top-width: thin;
    border-color: #ffffff00;
}
.tabs-label {
    cursor: pointer;
    padding: 1px 6px;
    background-color: #fff0;
    border: 1px solid #fff0;
    color: #0c62da;
    font-weight: bold;
}
}
Anonymous user

Navigation menu