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

MediaWiki interface page
(Created page with "→‎CSS placed here will be applied to all skins: #logo { display: block; margin-left: auto; margin-right: auto; width: 50%; } table, td { border: 1px solid #ddd; text-align: left; background-color: #D8EBFF; } table { border-collapse: collapse; width: 100%; } td { padding: 15px; text-align: center; }")
 
No edit summary
Tag: Manual revert
 
(69 intermediate revisions by the same user not shown)
Line 3: Line 3:
#logo {
#logo {
   display: block;
   display: block;
   margin-left: auto;
   margin: 20px auto;
  margin-right: auto;
   width: 50%;
   width: 50%;
}
}


table, td { 
#logo:hover img {
  border: 1px solid #ddd;
   transform: none !important;
  text-align: left;
   background-color: #D8EBFF;
}
}


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


Line 22: Line 22:
   padding: 15px;
   padding: 15px;
   text-align: center;
   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;
  }
}
}

Latest revision as of 20:34, 5 March 2024

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

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

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

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;
  }
}