Difference between revisions of "Template:Lethbridge/mini-template-css"

 
(34 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
@charset "UTF-8";
 
@charset "UTF-8";
 
/* CSS Document */
 
/* CSS Document */
.twoText-Wrapper {
+
 
width: 95%;
+
.twoText-Wrapper {width: 95%; text-align: center;}
text-align: center;
+
.twoText-Text {width: 45%; padding: 1em; display: inline-block; vertical-align: top !important;}
}
+
.twoText-Text {
+
width: 45%;
+
padding: 1em;
+
display: inline-block;
+
}
+
 
 
.twoImage-Wrapper {
+
.twoImage-Wrapper {width: 95%; text-align: center;}
width: 95%;
+
.twoImage-Image {width: 47%; display: inline-block;}
text-align: center;
+
.twoImage-Image img {max-width: 100%; padding: 1em; width: 100%;}
}
+
.twoImage-Image {
+
width: 47.5%;
+
display: inline-block;
+
}
+
.twoImage-Image img {
+
padding: 1em;
+
width: 100%;
+
}
+
  
.twoText-Wrapper {
+
.twoText-Wrapper {width: 95%; text-align: center;}
width: 95%;
+
.twoText-Text {width: 47%; padding: 1em; display: inline-block;}
text-align: center;
+
}
+
.twoText-Text {
+
width: 30%;
+
padding: 1em;
+
display: inline-block;
+
}
+
  
.threeImage-Wrapper {
+
.threeImage-Wrapper {width: 95%; text-align: center;}
width: 95%;
+
.threeImage-Image {width: 31.66%; display: inline-block;}
text-align: center;
+
.threeImage-Image img {max-width: 100%;padding: 1em; width: 100%;}
}
+
.threeImage-Image {
+
width: 31.66%;
+
display: inline-block;
+
}
+
.threeImage-Image img {
+
padding: 1em;
+
width: 100%;
+
}
+
  
.textBlock-Wrapper {
+
.threeText-Wrapper {width: 95%; text-align: center;}
width: 95%;
+
.threeText-Text {width: 30%; padding: 1em; display: inline-block;}
text-align: center;
+
}
+
.textBlock-Block {
+
width: 45%;
+
padding: 1em;
+
display: inline-block;
+
}
+
.textBlock-Text {
+
width: 45%;
+
padding: 1em;
+
display: inline-block;
+
}
+
.textBlock-Block blockquote {
+
background-color: rgba(171,171,171,0.4);
+
border:solid;
+
border-color: rgba(21,27,31,0.8);
+
border-width: medium;
+
border-radius: 5px;
+
}
+
.textBlock-Block blockquote p {
+
padding-left: 1em;
+
padding-right: 1em;
+
}
+
  
.oneText-Wrapper {
+
.textBlock-Wrapper {width: 95%; text-align: center;}
width: 95%;
+
.textBlock-Block {width: 45%; padding: 1em; display: inline-block;}
text-align: center;
+
.textBlock-Text {width: 45%; padding: 1em; display: inline-block;}
}
+
.textBlock-Block blockquote {background-color: rgba(171,171,171,0.4); border:solid; border-color: rgba(21,27,31,0.8); border-width: medium; border-radius: 5px;}
.oneText-Text {
+
.textBlock-Block blockquote p {padding-left: 1em; padding-right: 1em;}
width: 45%;
+
padding: 1em;
+
display: inline-block;
+
}
+
  
.oneImage-Wrapper {
+
.oneText-Wrapper {width: 95%; text-align: center;}
width: 95%;
+
.oneText-Text {width: 90%; padding: 1em; display: inline-block;}
text-align: center;
+
}
+
.oneImage-Image {
+
display: inline-block;
+
}
+
.oneImage-Image img {
+
width: 45%;
+
padding: 1em;
+
}
+
  
.fourImage-Wrapper {
+
.oneImage-Wrapper {width: 95%; text-align: center;}
width: 95%;
+
.oneImage-Image {display: inline-block;}
text-align: center;
+
.oneImage-Image img {max-width: 100%;padding: 1em;}
}
+
.fourImage-Image {
+
width: 23.75%;
+
display: inline-block;
+
}
+
.fourImage-Image img {
+
padding: 1em;
+
width: 100%;
+
}
+
  
.textImage-Wrapper {
+
.fourImage-Wrapper {width: 95%;text-align: center;}
width: 95%;
+
.fourImage-Image {width: 23.75%;display: inline-block;}
 +
.fourImage-Image img {max-width: 100%; padding: 1em;}
 +
 
 +
.textImage-Wrapper {width: 95%; margin: 0 auto;}
 +
.textImage-Text {width: 45%; padding: 1em; float: left;}
 +
.textImage-Image {width: 45%; padding: 1em; float: left;}
 +
.textImage-Image img {max-width: 100%}
 +
 
 +
.imageText-Wrapper {width: 95%;}
 +
.imageText-Text {width: 45%; padding: 1em; float: left;}
 +
.imageText-Image {width: 45%; padding: 1em; float: left;}
 +
.imageText-Image img {max-width: 100%; height: auto}
 +
 
 +
.blockImage-Wrapper {width: 95%;text-align: center;}
 +
.blockImage-Block {width: 45%;padding: 1em;display: inline-block;}
 +
.blockImage-Image {width: 45%;padding: 1em;display: inline-block;}
 +
.blockImage-Image img {max-width: 100%;}
 +
.blockImage-Block blockquote {background-color: rgba(171,171,171,0.4);border:solid;border-color: rgba(21,27,31,0.8);border-width: medium;border-radius: 5px;}
 +
.blockImage-Block blockquote p {padding-left: 1em;padding-right: 1em;}
 +
 
 +
.blockText-Wrapper {width: 95%;text-align: center;}
 +
.blockText-Block {width: 45%;padding: 1em;display: inline-block;}
 +
.blockText-Text {width: 45%;padding: 1em;display: inline-block;}
 +
.blockText-Block blockquote {background-color: rgba(171,171,171,0.4);border:solid;border-color: rgba(21,27,31,0.8);border-width: medium;border-radius: 5px;}
 +
.blockText-Block blockquote p {padding-left: 1em;padding-right: 1em;}
 +
 +
.imageBlock-Wrapper {width: 95%;text-align: center;}
 +
.imageBlock-Block {width: 45%;padding: 1em;display: inline-block;}
 +
.imageBlock-Image {width: 45%;padding: 1em;display: inline-block; vertical-align: top !important}
 +
.imageBlock-Image img {max-width: 100%; vertical-align: top !important}
 +
.imageBlock-Block blockquote {background-color: rgba(171,171,171,0.4);border:solid;border-color: rgba(21,27,31,0.8);border-width: medium;border-radius: 5px;}
 +
blockquote p {padding-left: 1em;padding-right: 1em;}
 +
 
 +
.oneBlock-Wrapper {width: 95%;text-align: center;}
 +
.oneBlock-Block {width: 80%;padding: 1em;display: inline-block;}
 +
.oneBlock-Block blockquote {background-color: rgba(171,171,171,0.4);border:solid;border-color: rgba(21,27,31,0.8);border-width: medium;border-radius: 5px;}
 +
.oneBlock-Block blockquote p {padding: 1em;}
 +
 
 +
@media screen and (max-width: 800px) {
 +
      .imageBlock-Image {width: 95%}
 +
      .imageBlock-Block {width: 95%}
 
}
 
}
.textImage-Text {
+
 
width: 45%;
+
@media screen and (max-width: 716px) {
padding: 1em;
+
.textImage-Text {width: 95%}
float: left;
+
.textImage-Image {width: 95%}
}
+
        .twoImage-Image {width: 95%}
.textImage-Image {
+
      .twoText-Text {width: 95%}
width: 45%;
+
    .blockText-Text {width: 95%}
padding: 1em;
+
    .content video {width: 95%}
float: left;
+
 
}
+
.textImage-Image img {
+
 
}
 
}
  
 
@media screen and (max-width: 594px) {
 
@media screen and (max-width: 594px) {
body {background-color: lightblue;}
+
    .imageText-Text {width: 95%;}
.textImage-Text {width: 95%;}
+
    .imageText-Image {display: block; margin: 0 auto;}
 +
    .imageBlock-Block {width: 95%}
 +
    .blockImage-Block {width: 95%}
 +
    .blockText-Block {width: 95%}
 
}
 
}
 
.blockImage-Wrapper {
 
width: 95%;
 
text-align: center;
 
}
 
.blockImage-Block {
 
width: 45%;
 
padding: 1em;
 
display: inline-block;
 
}
 
.blockImage-Image {
 
width: 45%;
 
padding: 1em;
 
display: inline-block;
 
}
 
.blockImage-Block blockquote {
 
background-color: rgba(171,171,171,0.4);
 
border:solid;
 
border-color: rgba(21,27,31,0.8);
 
border-width: medium;
 
border-radius: 5px;
 
}
 
.blockImage-Block blockquote p {
 
padding-left: 1em;
 
padding-right: 1em;
 
}
 
 
.blockText-Wrapper {
 
width: 95%;
 
text-align: center;
 
}
 
.blockText-Block {
 
width: 45%;
 
padding: 1em;
 
display: inline-block;
 
}
 
.blockText-Text {
 
width: 45%;
 
padding: 1em;
 
display: inline-block;
 
}
 
.blockText-Block blockquote {
 
background-color: rgba(171,171,171,0.4);
 
border:solid;
 
border-color: rgba(21,27,31,0.8);
 
border-width: medium;
 
border-radius: 5px;
 
}
 
.blockText-Block blockquote p {
 
padding-left: 1em;
 
padding-right: 1em;
 
}
 
 
.imageBlock-Wrapper {
 
width: 95%;
 
text-align: center;
 
}
 
.imageBlock-Block {
 
width: 45%;
 
padding: 1em;
 
display: inline-block;
 
}
 
.imageBlock-Image {
 
width: 45%;
 
padding: 1em;
 
display: inline-block;
 
}
 
.imageBlock-Block blockquote {
 
background-color: rgba(171,171,171,0.4);
 
border:solid;
 
border-color: rgba(21,27,31,0.8);
 
border-width: medium;
 
border-radius: 5px;
 
}
 
blockquote p {
 
padding-left: 1em;
 
padding-right: 1em;
 
}
 
 
.oneBlock-Wrapper {
 
width: 95%;
 
text-align: center;
 
}
 
.oneBlock-Block {
 
width: 70%;
 
padding: 1em;
 
display: inline-block;
 
}
 
.oneBlock-Block blockquote {
 
background-color: rgba(171,171,171,0.4);
 
border:solid;
 
border-color: rgba(21,27,31,0.8);
 
border-width: medium;
 
border-radius: 5px;
 
}
 
.oneBlock-Block blockquote p {
 
padding: 1em;
 
}
 
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 02:54, 18 October 2018