پودمان:طرح جلد کتاب/styles.css: تفاوت میان نسخهها
(صفحهای تازه حاوی «←{{pp-semi-indef}}: @media all and (max-width: 720px) { .mod-gallery { width: 100% !important; } } .mod-gallery { display: table; } .mod-gallery-default { background: transparent; margin-top: 0.3em; } .mod-gallery-center { margin-left: auto; margin-right: auto; } .mod-gallery-left { float: left; } .mod-gallery-right { float: right; } .mod-gallery-none { float: none; } .mod-gallery-collapsible { width: 100%; }...» ایجاد کرد) |
جزبدون خلاصۀ ویرایش |
||
| (۵ نسخهٔ میانی ویرایش شده توسط یک کاربر دیگر نشان داده نشد) | |||
| خط ۱: | خط ۱: | ||
/* | /* this is a block */ | ||
.thumbinner { | |||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
. | .trow { | ||
display: | 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; | float: left; | ||
} | } | ||
. | .theader { | ||
clear: both; | |||
font-weight: bold; | |||
text-align: center; | |||
align-self: center; | |||
background-color: transparent; | |||
width: 100%; | width: 100%; | ||
} | } | ||
. | .thumbcaption { | ||
background-color: transparent; | |||
} | } | ||
. | .text-align-left { | ||
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; | |||
} | |||
} | } | ||
نسخهٔ کنونی تا ۱۴ اوت ۲۰۲۲، ساعت ۱۰:۳۷
/* 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;
}
}