テンプレート:スタブ汎用/styles.css
表示
.free_stub {
font-size: small;
max-width: 80%;
border: 1px #999 solid;
background: #F8F8F8;
color: #000;
margin: 0.5em auto;
display: grid;
grid-template-columns: minmax(auto, auto) 1fr minmax(auto, auto);
align-items: center;
justify-content: space-between;
clear: both;
}
.imagebox {
margin: 0.5em;
display: block;
}
.imagebox img {
width: 100% !important;
height: 100% !important;
display: block;
object-fit: contain;
}
.stub_main {
padding: 0.5em;
align-items: center;
display: block;
justify-self: center;
}
.stub_text {
width: auto;
display: inline;
margin: auto;
}
.fnw {
margin-left: 0.5em;
}
@media screen and (max-width:600px) {
.free_stub {
border: none;
background: inherit;
max-width: inherit;
width: auto;
margin: auto;
display: block;
align-items: inherit;
}
.stub_main {
align-items: inherit;
}
.imgl {
width: inherit;
float: left;
}
.imgr {
display: none;
}
.fnw {
margin: auto;
}
}
/* [[Category:テンプレートスタイル|すたふはんよう]] */