MediaWiki:Common.css

From SourceWorlds Wiki
Revision as of 05:23, 7 October 2026 by Vizzys (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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; }
body.page-Main_Page li#ca-viewsource { 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; } 
}



/* @author: KhangND */

.d-poll {
    --color-primary: #008aff8c;
    --space: 0.6em 1em;
    --round: 4px;
}
.d-poll {
    background: #f3f3f32e;
    border: 1px solid var(--color-primary);
    border-radius: var(--round);
}
.d-poll__question {
    background: var(--color-primary);
    padding: var(--space);
}
.d-poll__answer {
    background: var(--color-white);
    border-bottom: 1px solid #919191;
    position: relative;
}
.d-poll__answer-alt {
    font-style: italic;
    opacity: .5;
}
.d-poll__answerName {
    display: block;
    padding: var(--space);
    cursor: pointer;
}
.d-poll__answerVotes {
    position: absolute;
    top: 0;
    right: 0;
    padding: var(--space);
}
.d-poll__info {
    padding: var(--space);
    text-align: center;
}
.d-poll input[type="submit"] {
    background: var(--color-primary);
    border: #357ebd;
    padding: 0.5em;
    margin: 0 var(--space);
    display: block;
    width: calc(100% - 1.3em);
    height: unset;
    line-height: unset;
}
.d-poll input[type="submit"]:hover {
    background: #3276b1;
}