Template:Multiple image/sandbox/styles.css
表示
@charset "UTF-8";
/* this is a block */
.thumbinner {
display: flex;
flex-direction: column;
}
.trow {
display: flex;
box-sizing: border-box;
flex-direction: row;
flex-wrap: nowrap;
width: 100%;
clear: left;
}
/* this is a cell */
.tsingle {
flex-basis: content;
margin: 1px;
float: left;
}
.tsingle .thumbimage img {
width: 100%;
height: auto;
}
.theader {
align-self: center;
width: 100%;
clear: both;
background-color: transparent;
font-weight: bold;
text-align: center;
}
.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 {
box-sizing: border-box;
align-items: center;
/* 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;
max-width: none !important;
}
.trow {
justify-content: center;
flex-wrap: wrap;
}
.tsingle {
box-sizing: border-box;
align-items: center;
max-width: 100% !important;
/* 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;
}
.trow > .thumbcaption {
text-align: center;
}
}
/* [[カテゴリ:テンプレートスタイル]] */