MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
@keyframes fadeZoomIn {
/* collapsible header box */
   from {
.headerbox {
    opacity: 0;
   background: #f9f9f9;
    transform: scale(0.9);
  border: 1px solid #a2a9b1;
   }
  border-radius: 4px;
  to {
  padding: 1em;
    opacity: 1;
  margin: 1em auto;
    transform: scale(1);
  max-width: 800px;
   }
   text-align: center;
}
.headerbox .small {
  font-size: 1.1em;
  font-style: italic;
   margin-top: 0.2em;
}
 
/* horizontal list of buttons */
.mw-hlist > tbody > tr > td {
  padding: 0.2em 1em;
}
}


.fame-card {
/* gallery tweaks */
   animation: fadeZoomIn 0.6s ease forwards;
.gallerybox {
   opacity: 0; /* start hidden */
  border: none;
  box-shadow: none;
}
.gallerytext {
  font-size: 95%;
}
 
/* in-page hlist (for action links) */
.mw-hlist {
   display: inline-table;
}
.mw-hlist td {
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  padding: 0.5em 1em;
  margin: 0 0.5em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mw-hlist td:hover {
  transform: scale(1.05);
   box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
 
/* collapsible widget styling */
.mw-collapsible {
  position: relative;
}
.mw-collapsible.mw-collapsed > .mw-collapsible-toggle {
  display: inline-block;
  margin-bottom: 0.5em;
  cursor: pointer;
  color: #025E8D;
  font-weight: bold;
}
}


body.page-Main_Page h1.firstHeading {
    display: none !important;
}
}

Latest revision as of 14:59, 7 May 2025

/* collapsible header box */
.headerbox {
  background: #f9f9f9;
  border: 1px solid #a2a9b1;
  border-radius: 4px;
  padding: 1em;
  margin: 1em auto;
  max-width: 800px;
  text-align: center;
}
.headerbox .small {
  font-size: 1.1em;
  font-style: italic;
  margin-top: 0.2em;
}

/* horizontal list of buttons */
.mw-hlist > tbody > tr > td {
  padding: 0.2em 1em;
}

/* gallery tweaks */
.gallerybox {
  border: none;
  box-shadow: none;
}
.gallerytext {
  font-size: 95%;
}

/* in-page hlist (for action links) */
.mw-hlist {
  display: inline-table;
}
.mw-hlist td {
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  padding: 0.5em 1em;
  margin: 0 0.5em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mw-hlist td:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* collapsible widget styling */
.mw-collapsible {
  position: relative;
}
.mw-collapsible.mw-collapsed > .mw-collapsible-toggle {
  display: inline-block;
  margin-bottom: 0.5em;
  cursor: pointer;
  color: #025E8D;
  font-weight: bold;
}

body.page-Main_Page h1.firstHeading {
    display: none !important;
}