MediaWiki:Common.css: Difference between revisions

From Wikiwide
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Hide Main_Page title */
/* collapsible header box */
body.page-Main_Page h1.firstHeading {
.headerbox {
   display: none;
  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;
}
}


/* Hero Banner */
/* horizontal list of buttons */
.ww-hero {
.mw-hlist > tbody > tr > td {
  text-align: center;
   padding: 0.2em 1em;
   padding: 20px 10px;
  border-bottom: 2px solid #000;
  background: #fff;
}
}
.ww-hero-title {
 
   font-size: 1.8em;
/* gallery tweaks */
   font-weight: bold;
.gallerybox {
  color: #000;
   border: none;
   box-shadow: none;
}
}
.ww-hero-cta a {
.gallerytext {
  background: #000;
   font-size: 95%;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
   font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}
}


/* Section Styling */
/* in-page hlist (for action links) */
.ww-section {
.mw-hlist {
   padding: 20px 10px;
   display: inline-table;
  border-bottom: 1px solid #ddd;
}
}
.ww-section h2 {
.mw-hlist td {
   font-size: 1.2em;
   border: 1px solid #ccc;
   color: #000;
  border-radius: 4px;
   margin-bottom: 10px;
   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);
}
}


/* Cards (Profiles/Companies) */
/* collapsible widget styling */
.ww-cards {
.mw-collapsible {
   display: flex;
   position: relative;
  gap: 10px;
  flex-wrap: wrap;
}
}
.ww-cards a {
.mw-collapsible.mw-collapsed > .mw-collapsible-toggle {
   display: inline-block;
   display: inline-block;
   padding: 10px;
   margin-bottom: 0.5em;
  background: #f9f9f9;
   cursor: pointer;
  border: 1px solid #ccc;
   color: #025E8D;
  border-radius: 8px;
   font-weight: bold;
   text-decoration: none;
   color: #000;
  min-width: 130px;
   text-align: center;
}
}


/* Footer */
body.page-Main_Page h1.firstHeading {
.ww-footer {
    display: none !important;
  text-align: center;
  font-size: 0.9em;
  color: #666;
  padding: 20px 0;
}
.ww-footer a {
  color: #000;
  margin: 0 8px;
}
}

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