Template:GLAMportals/style.css
Appearance
a, a:visited, a.external:visited, a:link, a.external:link, a.extiw:visited {
color:#0077D4;
}
u {
text-decoration: none;
background: gold;
}
a u {
background: none;
}
h1, h2 /* inline */, h3, h4, h5 {
font-family: sans-serif;
font-weight: bold;
border-bottom: none;
}
.mw-heading2 {
border-bottom: none;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.7rem;
}
h3 {
font-size: 1.4rem;
}
h4 {
font-size: 1.1rem;
}
.subpages {
display:none;
}
.boxes {
display:flex;
flex-wrap: wrap;
column-gap: 1.5rem;
row-gap: 1.5rem;
margin:2rem 0;
}
.box {
border-radius: 8px;
padding: 1.5rem;
}
.third {
flex: 1 1 26%;
min-width: 250px;
}
.half {
flex: 1 1 40%;
min-width: 250px;
}
.full {
flex: 1 1 100%;
}
.mw-heading2 {
margin-top: unset;
padding-top: 0;
}
.box h3 {
margin-top: unset;
padding-top: 0;
}
.box h2, .box h3 { /* inline */
line-height: 1.3;
}
.box br {
content:"";
}
.box br:after {
content: " • ";
}
.bluebox {
background: #0077D4;
}
.whitebox {
background: #F1F4F6
}
.smallbox {
padding: 0;
flex: 1 1 23%;
min-width: 200px;
max-width: 230px;
}
.smallbox img {
border-radius: 8px;
width: 100%;
height: 150px;
object-fit: cover;
}
.smallbox .logo img {
object-fit:contain;
}
.smallbox .boxrow img {
border-radius: unset;
width: 15px;
height: unset;
object-fit: unset;
padding-right:5px;
}
.smallbox h3 {
line-height: 1.2em;
font-size: 1.3em;
margin-top: 0.6em;
}
.regions, .regions a:link, .regions a:visited {
color: #7F888F;
line-height: 1.3em;
padding: 0.5em 0;
}
.bluebox p, .bluebox ul {
color:white;
font-size:1rem;
list-style: disc;
}
.bluebox h2, .bluebox h3, .bluebox h4 {
color: white;
}
.bluebox a.external, .bluebox a, .bluebox a.extiw, .btn a.external {
background: none;
padding-right: 0;
}
.bluebox a.external, .bluebox a, .bluebox a.extiw {
color:white;
}
.bluebox a.extiw, .bluebox a {
text-decoration:underline;
}
.image img {
width:100%;
object-fit: cover;
height:400px;
}
.gallery .image img {
height: unset;
}
.wikitable .image img {
height: unset;
width: unset;
}
.btn {
padding: 0.7rem 1.3rem;
border-radius: 2rem;
margin-top: 1rem;
font-weight: bold;
display: inline-block;
}
.bluebox .btn, .whitebtn {
color: #0077D4;
background: white;
}
.whitebox .btn, .bluebtn, .negbtn:hover {
color: white;
background: #0077D4;
}
.bluebox .btn:hover, .whitebtn:hover {
background:none;
outline: 2px solid white;
outline-offset: -2px;
}
.whitebox .btn:hover, .negbtn, .bluebtn:hover {
background:none;
outline: 2px solid #0077D4;
outline-offset: -2px;
color: #0077D4;
}
.bluebox .btn:hover a, .whitebtn:hover a {
color:white;
}
.bluebox .btn a, .whitebtn a {
color:#0077D4;
text-decoration:none;
}
.whitebox .btn:hover a, .bluebtn:hover a, .negbtn a {
color:#0077D4;
}
.whitebox .btn a, .bluebtn a, .negbtn:hover a {
color:white;
text-decoration:none;
}
.numbers {
display:flex;
column-gap: 0.5em;
}
.pagenumber {
border-radius: 2rem;
font-weight: bold;
background: none;
outline-offset: -2px;
color: #0077D4;
width: 2rem;
height: 2rem;
display: flex;
justify-content: center;
align-items: center;
}
.pagenumber:hover {
background: #0077D4;
color: white;
}
.pagenumber:hover a {
color: white;
}
th {
width:8.3%;
}
.wikitable > * > tr > th {
background-color:#0077D4;
color:white;
border: 1px solid #ffffff;
padding: 0.2em 0.4em;
}
.wikitable {
background-color: #F1F4F6;
}
.wikitable > * > tr > td {
border: 1px solid #ffffff;
padding: 0.2em 0.5em;
}
.articlerow {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 1em;
border-radius: 8px;
gap: 0.5em;
flex-direction: column;
cursor: pointer;
}
.articlerow:hover {
background: #f1f4f6;
}
.articlerow:hover .articlerowbody {
display: initial;
}
.articlerowinfo {
display: flex;
gap: 1em;
align-items: center;
padding-right: 1em;
}
.articlerowsocial {
display: flex;
gap: 0.6em;
align-items: center;
}
.articlerowimg {
border-radius: 8px;
align-self: flex-start;
}
.articlerowimg img {
width: 70px;
height: 70px;
border-radius: 8px;
object-fit: cover;
}
.articlerowimg.photo img {
object-fit: cover;
}
.articlerowimg.graphic img {
object-fit: contain;
}
.articlerowtitles {
display: flex;
flex-direction: column;
}
.articlerowtitle {
font-weight:bold;
font-family:'Montserrat',sans-serif;
text-overflow: ellipsis;
overflow: hidden;
font-size: 1rem;
}
.articlerowdescription, .articlerowbody {
color:gray;
}
.articlerowbuttons {
display: flex;
gap: 0.4em;
}
.articlerowbody {
display: none;
margin: 0 1em 1em 1em;
transition: 1s;
}
.blog {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(219px,1fr));
gap: 1.5rem;
margin: 1.5rem 0;
}
.blog > div:first-child {
/* grid-column: span 2; */
}
.blog > div:last-child {
/* display: none; */
}
.blog.manual > div:last-child {
display: initial;
}
.blog * {
box-sizing: border-box;
}
.blogbox {
position:relative;
height: 350px;
width: 100%;
}
.bloglink > a > img {
position: absolute;
top: 0;
width: 100%;
height: 350px;
}
body.skin--responsive .bloglink > a > img {
height: 350px !important;
}
.blogbackground {
height: 350px;
width: 100%;
position: relative;
display: flex;
flex-direction: column;
padding: 2em;
box-sizing: border-box;
justify-content: center;
}
.blogbackground .articlemeta {
color: white;
}
.smallbox .articlemeta, .blogbackground .articlemeta {
margin: 0;
}
.blogimage img.mw-file-element {
width:100%;
object-fit: cover;
height: 350px;
border-radius: 8px;
filter: brightness(0.75);
}
.blogbackground h3 {
font-size: 1.5rem;
line-height: 1.2;
margin: 0;
padding: 0;
color: white;
}