No edit summary |
No edit summary |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.wiki-template-card { | .wiki-template-card { | ||
width: 30%; | width: 30%; | ||
box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 ); | box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 ); | ||
padding: 0; | padding: 0; | ||
margin: 8px; | margin: 8px; | ||
border-radius: 4px; | border-radius: 4px; | ||
list-style: outside none none; | |||
} | } | ||
.wiki-template-card-content { | .wiki-template-card-content { | ||
Line 63: | Line 13: | ||
font-size: 1.5em; | font-size: 1.5em; | ||
font-weight: 700; | font-weight: 700; | ||
font-family: sans-serif; | font-family: "Nimbus Sans", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; | ||
} | } | ||
.wiki-template-card-content-desc { | .wiki-template-card-content-desc { | ||
font-size: 0.75em; | font-size: 0.75em; | ||
margin-top: 2px; | |||
} | } | ||
img { | img { | ||
Line 73: | Line 23: | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
height: 200px; | height: 200px !important; /* with apologies to the linter */ | ||
object-fit: cover; | object-fit: cover; | ||
} | |||
@media screen and (max-width: 500px) { | |||
.wiki-template-card { | |||
width: 100%; | |||
} | |||
} | |||
@media screen and (min-width:500px) and (max-width: 700px) { | |||
.wiki-template-card { | |||
width: 45%; | |||
} | |||
} | } |
Latest revision as of 13:23, 19 August 2021
.wiki-template-card {
width: 30%;
box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 );
padding: 0;
margin: 8px;
border-radius: 4px;
list-style: outside none none;
}
.wiki-template-card-content {
padding: 8px;
}
.wiki-template-card-content h3 {
font-size: 1.5em;
font-weight: 700;
font-family: "Nimbus Sans", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
.wiki-template-card-content-desc {
font-size: 0.75em;
margin-top: 2px;
}
img {
width:100%;
margin: 0;
padding: 0;
height: 200px !important; /* with apologies to the linter */
object-fit: cover;
}
@media screen and (max-width: 500px) {
.wiki-template-card {
width: 100%;
}
}
@media screen and (min-width:500px) and (max-width: 700px) {
.wiki-template-card {
width: 45%;
}
}