MediaWiki:Common.css: Difference between revisions

From SourceWorlds Wiki
Jump to navigation Jump to search
No edit summary
toc right float test
Tag: Reverted
Line 53: Line 53:
@keyframes type{  
@keyframes type{  
   from { width: 0; }  
   from { width: 0; }  
}
#toc {
        border:1px solid #aaa;
        background-color: #eed;
        padding: 5px;
        margin: 0px 5px;
        font-size: 95%;
        float: right;
}
}

Revision as of 16:33, 1 October 2026

/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:[email protected]&display=swap');

#toc {
    background: none !important;
}

li.gallerybox div.thumb {
    background: none;
    border: none;
}

figure[typeof~="mw:File/Thumb"],
figure[typeof~="mw:File/Frame"] {
    background: none;
    border: none;
}

figure[typeof~="mw:File/Thumb"] > figcaption,
figure[typeof~="mw:File/Frame"] > figcaption {
    border: 0;
    background: none;
}
figure[typeof~="mw:File/Thumb"] > :not(figcaption) .mw-file-element,
figure[typeof~="mw:File/Frame"] > :not(figcaption) .mw-file-element {
    border: 0;
}

.main-flex-right {
    max-width: 300px;
}


body.page-Main_Page li#ca-talk { display: none !important; }
body.page-Main_Page li#ca-nstab-main { display: none !important; }
body.page-Main_Page li#ca-history { display: none !important; }

/* CSS Typing Text
 * 
 * @author: Unknown
 * current version crafted together by [[User:Christharp]].
 */

.typing{
  margin: 10px 0 0 10px;
    width: 1000px;
   white-space:nowrap;
   overflow:hidden;
  animation: type 10s steps(100, end);
}

@keyframes type{ 
  from { width: 0; } 
}


#toc {
        border:1px solid #aaa;
        background-color: #eed;
        padding: 5px;
        margin: 0px 5px;
        font-size: 95%;
        float: right;
}