MediaWiki:Common.css

From Servantpedia
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 */

$( '#discord-widget' ).html( '<iframe src="https://discord.com/widget?id=1105931255771570216&theme=dark" width="280" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>' );

.home-module {
    width: 100%; margin-bottom: 1em; padding: 1em;
    border-radius: 5px; border-top: #ffe500 solid 5px;
    background-color: var(--theme-page-background-color--secondary);
    color: var(--theme-page-text-color);
}
.home-sidebar {	width: 300px; }
.home-block { padding: 10px 0px; }
.home-center { text-align: center; }
.home-justify { text-align: justify; }
.home-title-big { font-size: 24px; }
.home-title-medium { font-size: 16px; }
.home-small { font-size: smaller; }
.home-item { text-align: center; }
.home-item:hover { background-color: var(--theme-link-color); border-radius: 5px; }
/*****Custom cursor *****/ 
/*Global cursor */ 
body {
     cursor: url('/wiki/Special:FilePath/ServatiaballCursor.png'), pointer; 
} 
/*Link cursor */
a:hover {
     cursor: url('/wiki/Special:FilePath/ServatiaballCursorHover.png'), pointer; 
}