MediaWiki:Common.css

From Drifter's Wiki TEST
Revision as of 20:08, 14 June 2023 by Archer (talk | contribs) (Update common CSS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)
  • 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 /

/ Default/mobile */
.ea-wiki-dropdown-container{
   display: flex;
   justify-content: center;
   flex-direction: column;
   width: 100%;
}

.ea-wiki-dropdown-menu{
   width: 100%;
}
.ea-wiki-dropdown-items{
   text-align: left; 
   font-size: 1.1em;
}

@media only screen and (min-width: 600px) {
   .ea-wiki-dropdown-container{
      display: flex;
      justify-content: center;
      position: absolute;
      flex-direction: row;
      width: auto;
   }

   .ea-wiki-dropdown-menu{
      width: auto;
   }
   .ea-wiki-dropdown-items{
      font-size: 0.9em;
   }
   .ea-wiki-dropdown-margin{
      height: 4em;
   }
}
.ea-wiki-dropdown-menu{
   background-color: #1d2330;
   color: white;
   text-align: center;
   float: left;
   padding-left: 20px;
   padding-right: 20px;
   padding-top: 5px;
   padding-bottom: 5px;
   height: 2.3em;
   border-radius: 5px;
   margin: 3px;
   overflow: hidden;
}

.ea-wiki-dropdown-menu:hover{
   background-color: #4d5350;
   color: #e7b439;
   height: auto;
}

.ea-wiki-dropdown-item1{
   margin-left: 0em;
}

.ea-wiki-dropdown-item2{
   margin-left: 0.9em;
}