MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
m
Reverted edits by Compooper (talk) to last revision by Logoarto
imported>Compooper
No edit summary
imported>Compooper
m (Reverted edits by Compooper (talk) to last revision by Logoarto)
 
(10 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://static.wikiforge.net/avidwiki/9/96/Avid_web_hinted_2.ttf');
@import url('https://user-content.static.wf/avidwiki/9/96/Avid_web_hinted_2.ttf');
@import url('https://static.wikiforge.net/avidwiki/3/31/Avid_web_bold.ttf');
@import url('https://user-content.static.wf/avidwiki/3/31/Avid_web_bold.ttf');


/* Define typefaces.*/
/* Define typefaces.*/
Line 9: Line 9:
@font-face {
@font-face {
     font-family: 'AVID Web';
     font-family: 'AVID Web';
     src: url('https://static.wikiforge.net/avidwiki/9/96/Avid_web_hinted_2.ttf');
     src: url('https://user-content.static.wf/avidwiki/9/96/Avid_web_hinted_2.ttf');
}
}
.classname {
.classname {
Line 17: Line 17:
     font-family: 'AVID Web';
     font-family: 'AVID Web';
     font-weight: bold;
     font-weight: bold;
     src: url('https://static.wikiforge.net/avidwiki/3/31/Avid_web_bold.ttf');
     src: url('https://user-content.static.wf/avidwiki/3/31/Avid_web_bold.ttf');
}
}
.classname {
.classname {
Line 400: Line 400:
}
}
#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 796: Line 796:
#n-Internet-Archive a::before {
#n-Internet-Archive a::before {
content: url(https://www.avid.wiki/w/thumb.php?f=Internet_Archive_logotype.png&width=15);
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,116: 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,127: 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,198: 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,269: Line 1,279:
@media screen and (max-width: 1200px) {
@media screen and (max-width: 1200px) {
     .discord-banner {
     .discord-banner {
         background-image: url(https://i.imgur.com/ivtKuFr.png);
         background-image: url(https://user-content.static.wf/avidwiki/2/2f/Discordembed.png);
         width: 100%;
         width: 100%;
         height: 100px;
         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