MediaWiki:Common.css/MainPage.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 3: Line 3:
#logo {
#logo {
   display: block;
   display: block;
   margin: 0 auto;
   margin-left: auto;
   max-width: 100%;
   margin-right: auto;
   text-align: center;
   width: 50%;
}
}



Revision as of 01:37, 7 October 2023

/* CSS placed here will be applied to all skins */

#logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid #333 !important;
  background-color: #c1c3ff !important;
}

td {
  padding: 15px !important;
  text-align: center !important;
  border: 1px solid #333 !important;
  width: 50%;
  box-sizing: border-box;
}

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

@media (max-width: 768px) {
  #logo {
    width: 80%;
  }
  table {
    display: block;
  }
  td {
    width: 100%;
    box-sizing: border-box;
    padding: 10px !important;
  }
}