Difference between revisions of "MediaWiki:Common.css"

(Created page with "→‎CSS placed here will be applied to all skins: →‎Changes the background color of the bottom and left of each page, up to behind half of the logo:: body { background:...")
 
 
(20 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
  
 
/* Changes the background color of the bottom and left of each page, up to behind half of the logo: */
 
/* Changes the background color of the bottom and left of each page, up to behind half of the logo: */
 
body {
 
body {
−
   background: red;
+
   background: white;
 
}
 
}
  
 
/* Changes the background color behind the top half of the logo and at top of each page: */
 
/* Changes the background color behind the top half of the logo and at top of each page: */
 
#mw-page-base {
 
#mw-page-base {
−
   background: red;
+
   background: #008B8B;
 +
}
 +
 
 +
/* To make images responsive */
 +
.res-img img {
 +
max-width:100%;
 +
height:auto;
 +
}
 +
 
 +
#toc ul, .toc ul {
 +
margin: 0 0 0 2em;
 
}
 
}
 +
 +
#ca-history { display: none !important;}
 +
#ca-viewsource { display: none !important; }
 +
 +
#ca-nstab-main { display: none !important; }
 +
#ca-nstab-user { display: none !important; }
 +
#ca-talk { display: none !important; }
 +
#ca-history { display: none !important;}
 +
#ca-viewsource { display: none !important; }
 +
#ca-delete { display:none!important; }
 +
#ca-view { display:none!important; }
 +
 +
/* Fix for M'adrono Widget Buttons */
 +
  .creatorsagi-suggestions,
 +
  .creatorsagi-extended-suggestions {
 +
      position: relative !important;
 +
      display: flex !important;
 +
      flex-wrap: wrap !important;
 +
      gap: 8px !important;
 +
      margin: 10px 0 !important;
 +
  }
 +
 +
  .creatorsagi-suggestion-button {
 +
      position: relative !important;
 +
      display: inline-block !important;
 +
      margin: 4px !important;
 +
  }
 +
 +
  /* Ensure widget dialog has proper z-index */
 +
  .creatorsagi-dialog {
 +
      z-index: 9999 !important;
 +
  }
 +
 +
  /* Fix any positioning issues */
 +
  .creatorsagi-widget-container {
 +
      position: fixed !important;
 +
      bottom: 20px !important;
 +
      right: 20px !important;
 +
      z-index: 9999 !important;
 +
  }

Latest revision as of 23:47, 27 October 2025

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


/* Changes the background color of the bottom and left of each page, up to behind half of the logo: */
body {
  background: white;
}

/* Changes the background color behind the top half of the logo and at top of each page: */
#mw-page-base {
  background: #008B8B;
}

/* To make images responsive */
.res-img img {
	max-width:100%;
	height:auto;
}

#toc ul, .toc ul {
	margin: 0 0 0 2em;
}

#ca-history { display: none !important;}
#ca-viewsource { display: none !important; }

#ca-nstab-main { display: none !important; }
#ca-nstab-user { display: none !important; }
#ca-talk { display: none !important; }
#ca-history { display: none !important;}
#ca-viewsource { display: none !important; }
#ca-delete { display:none!important; }
#ca-view { display:none!important; }

/* Fix for M'adrono Widget Buttons */
  .creatorsagi-suggestions,
  .creatorsagi-extended-suggestions {
      position: relative !important;
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 8px !important;
      margin: 10px 0 !important;
  }

  .creatorsagi-suggestion-button {
      position: relative !important;
      display: inline-block !important;
      margin: 4px !important;
  }

  /* Ensure widget dialog has proper z-index */
  .creatorsagi-dialog {
      z-index: 9999 !important;
  }

  /* Fix any positioning issues */
  .creatorsagi-widget-container {
      position: fixed !important;
      bottom: 20px !important;
      right: 20px !important;
      z-index: 9999 !important;
  }