MediaWiki:Timeless.css: Difference between revisions

From McGough's Recipes
mNo edit summary
mNo edit summary
Line 3: Line 3:
/* Centered Photo For Mobile Size */
/* Centered Photo For Mobile Size */
@media screen and (max-width: 851px) {
@media screen and (max-width: 851px) {
/* .mw-body-content a > img, .mw-body-content .floatnone > img {
.mw-body-content a > img, .mw-body-content .floatnone > img {
display: block;
display: block;
margin-left: auto;
margin-left: auto;
margin-right: auto;
margin-right: auto;
width: 100%; } */
width: 100%; }
figure[typeof~='mw:File'].mw-halign-right, figure[typeof~='mw:File/Frameless'].mw-halign-right{
figure[typeof~='mw:File'].mw-halign-right, figure[typeof~='mw:File/Frameless'].mw-halign-right{
margin-bottom: 10px;
margin-bottom: 10px;

Revision as of 21:31, 24 March 2024

/* All CSS here will be loaded for users of the Timeless skin */

/* Centered Photo For Mobile Size */
@media screen and (max-width: 851px) {
	.mw-body-content a > img, .mw-body-content .floatnone > img {
		display: block;
		margin-left: auto;
		margin-right: auto;
		width: 100%; }
	figure[typeof~='mw:File'].mw-halign-right, figure[typeof~='mw:File/Frameless'].mw-halign-right{
		margin-bottom: 10px;
		margin-left: auto;
		margin-right: auto;
		clear: none;
		float: none; }
/*	.mw-halign-right{
		margin-bottom: 10px;
		margin-left: auto;
		margin-right: auto;
	} */
}