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

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


#logo {
#logo {
Line 6: Line 5:
   margin: 0 auto;
   margin: 0 auto;
   width: 50%;
   width: 50%;
   max-width: 300px;  
   max-width: 300px;
}
}


Line 13: Line 12:
   border-collapse: collapse;
   border-collapse: collapse;
   border: 1px solid #ddd;
   border: 1px solid #ddd;
   background-color: #8a2be2;  
   background-color: #8a2be2;
}
}


Line 19: Line 18:
   padding: 15px;
   padding: 15px;
   text-align: center;
   text-align: center;
   border: 1px solid #ddd;  
   border: 1px solid #ddd;
   border-radius: 10px;  
   border-radius: 10px;
   background-color: #dcdcdc;  
   background-color: #8a2be2;
}
}


.last-modified-bar {
.last-modified-bar {
   display: none;
   display: none;
}
@media (max-width: 768px) {
  #logo {
    width: 80%;
  }
  td {
    padding: 10px;
  }
}
}

Revision as of 01:13, 7 October 2023

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

#logo {
  display: block;
  margin: 0 auto;
  width: 50%;
  max-width: 300px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  background-color: #8a2be2;
}

td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #8a2be2;
}

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

@media (max-width: 768px) {
  #logo {
    width: 80%;
  }

  td {
    padding: 10px;
  }
}