Difference between revisions of "MediaWiki:Common.css"

Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
#footer { padding: 0.3em; }
 
#footer { padding: 0.3em; }
 
div#content h1, div#content h2 {font-family: Verdana,Arial,sans-serif;}
 
div#content h1, div#content h2 {font-family: Verdana,Arial,sans-serif;}
 +
 +
/* Get rid of the ugly black circle icon next to "Help" link
 +
* in upper right corner [indicator space] of some pages (most
 +
* notably "Watchlist", "Revision history" and "Recent changes")
 +
*/
 +
#mw-indicator-mw-helplink a {background-image:none;display:none!important; }
  
 
#ca-talk { display: none !important; }
 
#ca-talk { display: none !important; }
Line 16: Line 22:
 
/* To make images responsive */
 
/* To make images responsive */
 
.responsive-img img {
 
.responsive-img img {
max-width:100%;
+
  max-width:100%;
height:auto;
+
  height:auto;
 +
}
 +
 
 +
img.responsive-img {
 +
  max-width:100%;
 +
  height:auto;
 
}
 
}

Latest revision as of 06:54, 15 February 2020

body {font-family: Verdana,Arial,sans-serif; font-size: 1.2em;}
#footer { padding: 0.3em; }
div#content h1, div#content h2 {font-family: Verdana,Arial,sans-serif;}

/* Get rid of the ugly black circle icon next to "Help" link
* in upper right corner [indicator space] of some pages (most
* notably "Watchlist", "Revision history" and "Recent changes")
*/
#mw-indicator-mw-helplink a {background-image:none;display:none!important; }

#ca-talk { display: none !important; }
#ca-viewsource { display:none!important; }
#ca-nstab-main { display:none!important; }
#ca-nstab-talosnet { display:none!important; }
#ca-nstab-category { display:none!important; }
#ca-nstab-special { display:none!important; }

body.page-Main_Page #ca-delete {
    display: none !important;
}

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

img.responsive-img {
   max-width:100%;
   height:auto;
}