پودمان:طرح جلد کتاب/styles.css: تفاوت میان نسخه‌ها

جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
 
(۴ نسخهٔ میانی ویرایش شده توسط یک کاربر دیگر نشان داده نشد)
خط ۱: خط ۱:
/* {{pp-semi-indef}} */
/* this is a block */
 
.thumbinner {
@media all and (max-width: 720px) {
display: flex;
.mod-gallery {
flex-direction: column;
width: 100% !important;
}
}
}


.mod-gallery {
.trow {
display: table;
display: flex;
}
flex-direction: row;
 
clear: left;
.mod-gallery-default {
flex-wrap: wrap;
background: transparent;
width: 100%;
margin-top: 0.3em;
box-sizing: border-box;
margin-left: auto;
margin-right: auto;
}
 
.mod-gallery-center {
margin-left: auto;
margin-right: auto;
}
}


.mod-gallery-left {
/* this is a cell */
.tsingle {
margin: 1px;
float: left;
float: left;
}
}


.mod-gallery-right {
.theader {
float: right;
clear: both;
}
font-weight: bold;
 
text-align: center;
.mod-gallery-none {
align-self: center;
float: none;
background-color: transparent;
}
 
.mod-gallery-collapsible {
width: 100%;
width: 100%;
}
}


.mod-gallery .title,
.thumbcaption {
.mod-gallery .main,
background-color: transparent;
.mod-gallery .footer {
display: table-row;
}
 
.mod-gallery .title > div {
display: table-cell;
padding: 0.2em 1.6em 0.6em 0;
text-align: center;
font-weight: bold;
}
 
.mod-gallery .main > div {
display: table-cell;
}
 
.mod-gallery .gallery {
line-height: 1.35em;
}
}


.mod-gallery .footer > div {
.text-align-left {
display: table-cell;
padding: 0.2em 1.6em 0.6em 0;
text-align: left;
text-align: left;
font-size: 80%;
line-height: 1em;
}
}


.mod-gallery .title > div *,
.text-align-right {
.mod-gallery .footer > div * {
text-align: right;
overflow: visible;
}
}


.mod-gallery .gallerybox img {
.text-align-center {
background: none !important;
text-align: center;
}
}


.mod-gallery .bordered-images .thumb img {
@media all and ( max-width: 720px ) {
border: solid #eaecf0 1px;
.thumbinner {
}
/* not !important usage can be removed when these are no longer inline styles
 
inside Template:Multiple image and media query using min-width is introduced */
.mod-gallery .whitebg .thumb {
width: 100% !important;
background: #fff !important;
box-sizing: border-box;
max-width: none !important;
align-items: center;
}
.trow {
justify-content: center;
}
.tsingle {
/* not !important usage can be removed when these are no longer inline styles
inside Template:Multiple image and media query using min-width is introduced */
float: none !important;
max-width: 100% !important;
box-sizing: border-box;
}
.trow > .thumbcaption {
text-align: center;
}
}
}

نسخهٔ کنونی تا ‏۱۴ اوت ۲۰۲۲، ساعت ۱۰:۳۷

/* this is a block */
.thumbinner {
	display: flex;
	flex-direction: column;
}

.trow {
	display: flex;
	flex-direction: row;
	clear: left;
	flex-wrap: wrap;
	width: 100%;
	box-sizing: border-box;
}

/* this is a cell */
.tsingle {
	margin: 1px;
	float: left;
}

.theader {
	clear: both;
	font-weight: bold;
	text-align: center;
	align-self: center;
	background-color: transparent;
	width: 100%;
}

.thumbcaption {
	background-color: transparent;
}

.text-align-left {
	text-align: left;
}

.text-align-right {
	text-align: right;
}

.text-align-center {
	text-align: center;
}

@media all and ( max-width: 720px ) {
	.thumbinner {
		/* not !important usage can be removed when these are no longer inline styles
		inside Template:Multiple image and media query using min-width is introduced */
		width: 100% !important;
		box-sizing: border-box;
		max-width: none !important;
		align-items: center;
	}
	.trow {
		justify-content: center;
	}
	.tsingle {
		/* not !important usage can be removed when these are no longer inline styles
		inside Template:Multiple image and media query using min-width is introduced */
		float: none !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	.trow > .thumbcaption {
		text-align: center;
	}
}