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

MediaWiki interface page
No edit summary
No edit summary
Line 17: Line 17:
   margin: 20px auto;
   margin: 20px auto;
   width: 50%;
   width: 50%;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
   background: linear-gradient(to bottom, #ff9900, #ff6600);
   animation: pulse 2s infinite;
   animation: pulse 2s infinite;
}
}

Revision as of 02:10, 7 October 2023

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

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

#logo {
  display: block;
  margin: 20px auto;
  width: 50%;
  background: linear-gradient(to bottom, #ff9900, #ff6600);
  animation: pulse 2s 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%; 
  }
}