MediaWiki:Common.css: Difference between revisions

From DBE Makers
No edit summary
Tag: Reverted
m (Created responsive image class res-img)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
.mw-parser-output .mw-tpl-colorbox {
/* To make images responsive */
    box-shadow: 0 0 0 #999999 !important;
.res-img img {
max-width:100%;
}
height:auto;
 
.mw-tpl-colorbox-title {
        border-bottom: 1px solid #a2a9b1 !important;
}
 
.mw-tpl-colorbox  {
border: 1px solid #a2a9b1 !important;
}
       
.mw-tpl-colorbox-title {
background-color: #eaecf0;
    text-align: center;
    padding: 0.2em 0.4em !important;
}
}

Latest revision as of 09:52, 17 September 2026

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