MediaWiki:Common.css/MainPage.css

MediaWiki interface page

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

#logo {
  display: block;
  margin: 20px auto;
  width: 50%;
  position: relative;
}

#logo:hover img {
  transform: none !important;
}

@keyframes preload {
    0% {
        background-image: url('/images/c/c2/Twogpedia.png');
    }
    100% {
        background-image: none;
    }
}

#logo::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    background-image: url('/images/c/c2/Twogpedia.png');
    animation: preload 0.001s linear infinite;
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 2px solid #333;
  background-color: #c1c3ff;
}

td {
  padding: 15px;
  text-align: center;
  border: 2px solid #333;
  box-sizing: border-box;
  width: 25%;
  white-space: nowrap;
}

.last-modified-bar {
  display: none;
}

@media (max-width: 768px) {
  td {
    padding: 10px;
  }
}

@media (min-width: 441px) and (max-width: 744px) {
  td {
    width: 10%; 
  }
}

@media (max-width: 680px) {
  #logo img {
    display: block;
    margin: 20px auto;
    width: 100%;
    height: 100%;
    max-height: auto;
  }
}