MediaWiki: Tweeki.css: Difference between revisions
From Bearhawk N813Z
Created page with "→CSS placed here will affect users of the Tweeki skin: .firstHeading, .tweekiFirstHeading { text-align: left !important; } .mw-parser-output h2 { margin-top: 25px !important; } .h3, h3 { font-size: 1.55rem !important; } →To make images responsive: .res-img img { max-width:100%; height:auto; } figure[typeof~='mw:File'].mw-halign-left, figure[typeof~='mw:File/Frameless'].mw-halign-left { margin: 0 0.5em 2.5em 0; } a.mw-file-description img {..." |
mNo edit summary |
||
| Line 27: | Line 27: | ||
max-width:100%; | max-width:100%; | ||
height:auto; | height:auto; | ||
} | |||
.mw-file-element { | |||
max-width: 100%; | |||
height: auto; | |||
width: auto; | |||
} | } | ||
Latest revision as of 20:02, 29 March 2026
/* CSS placed here will affect users of the Tweeki skin */
.firstHeading, .tweekiFirstHeading {
text-align: left !important;
}
.mw-parser-output h2 {
margin-top: 25px !important;
}
.h3, h3 {
font-size: 1.55rem !important;
}
/* To make images responsive */
.res-img img {
max-width:100%;
height:auto;
}
figure[typeof~='mw:File'].mw-halign-left, figure[typeof~='mw:File/Frameless'].mw-halign-left {
margin: 0 0.5em 2.5em 0;
}
a.mw-file-description img {
margin-bottom: 30px;
margin-top: 8px;
}
/* To make images responsive */
.res-img img {
max-width:100%;
height:auto;
}
.mw-file-element {
max-width: 100%;
height: auto;
width: auto;
}