Template:Multiple image: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
(Created page with 'File:corr_1.png File:corr_2.png')
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[File:corr_1.png]] [[File:corr_2.png]]
/* {{pp-template}} */
/* 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 {
text-align: left;
background-color: transparent;
}
 
.thumbcaption-center {
text-align: center;
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;
    text-align: center;
}
.thumbcaption {
text-align: center;
}
}

Latest revision as of 18:52, 21 June 2020

/* Template:Pp-template */ /* 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 { text-align: left; background-color: transparent; }

.thumbcaption-center { text-align: center; 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; text-align: center; } .thumbcaption { text-align: center; } }