Template:AvoinGLAM/style.css: Difference between revisions
Content deleted Content added
Susannaanas (talk | contribs) No edit summary |
fix some inflexible dimensions |
||
Line 397: | Line 397: | ||
} |
} |
||
.blogimage a img { |
|||
width:100%; |
width:100%; |
||
object-fit: cover; |
object-fit: cover; |
||
Line 466: | Line 466: | ||
.banner { |
.banner { |
||
position:relative; |
position:relative; |
||
max-height: 450px; |
|||
min-height: 200px; |
|||
overflow-y: clip; |
overflow-y: clip; |
||
width: 100%; |
width: 100%; |
||
Line 472: | Line 473: | ||
} |
} |
||
.bannerbackground { |
.bannerbackground { |
||
height: |
height: 100%; |
||
width: 100%; |
|||
position:relative; |
position:relative; |
||
display: flex; |
display: flex; |
||
Line 881: | Line 883: | ||
line-height: 1.4; |
line-height: 1.4; |
||
} |
} |
||
.activity .mainimage a img { |
|||
height: 200px !important; |
height: 200px !important; |
||
} |
} |
||
Line 980: | Line 982: | ||
} |
} |
||
.mainimage a img { |
|||
width:100%; |
width:100%; |
||
object-fit: cover; |
object-fit: cover; |
||
height:450px; |
max-height:450px; |
||
} |
} |
||
.mainimage.top a img { |
|||
object-position: top; |
object-position: top; |
||
} |
} |
||
.mainimage.bottom a img { |
|||
object-position: bottom; |
object-position: bottom; |
||
} |
} |
||
.mainimage.contain a img { |
|||
object-fit: contain; |
object-fit: contain; |
||
} |
} |
||
Line 1,002: | Line 1,004: | ||
} |
} |
||
.gallery |
.gallery a img { |
||
height: unset; |
height: unset; |
||
} |
} |
||
Line 1,008: | Line 1,010: | ||
/*table properties */ |
/*table properties */ |
||
.wikitable |
.wikitable a img { |
||
height: unset; |
height: unset; |
||
width: unset; |
width: unset; |
Revision as of 19:40, 13 June 2024
a, a:visited, a.external:visited, a:link, a.external:link, a.extiw:visited {
color:#0E65C0;
}
ol {
margin: 0.3em 0 0 1.6em;
}
.type {
padding: 0 0.6em;
border-radius: 1em;
background: #333;
color:white;
}
.col {
width: 15%;
}
.col1 {
background: #f6b264;
}
.col2 {
background: #bb5e2d;
}
.col3 {
background: #b6d0c0;
}
.col4 {
background: #25a3ac;
}
.col5 {
background: #045a70;
}
.col6 {
background: #e98036;
}
.col7 {
background: #f0d4aa;
}
.col8 {
background: #4eacb7;
}
.day {
font-size: 2em;
}
.day2 {
padding: 0.4em 0;
font-size: 0.8em;
}
.day3 {
padding: 0.4em 0;
font-size: 0.8em;
}
.logcontent {
display: flex;
flex-direction: row;
gap: 1em;
align-items: flex-start;
}
.datebox {
background: #c8d0d9;
color: white;
border-radius: 6px;
text-align: center;
line-height: 1;
font-family: "Montserrat";
flex: 0 0 70px;
font-weight: 600;
}
.stripe {
height:1em;
display: flex;
}
.someicons {
display: flex;
gap: 0.4em;
flex-flow: wrap;
}
.smallbox .someicons img {
border-radius: unset;
width: unset;
height: unset;
object-fit: none;
}
.boximg {
position: relative;
}
.boximg.top img {
object-position: top;
}
.boximg.bottom img {
object-position: bottom;
}
.boximg.contain img {
object-fit: contain;
}
.boximg.contain {
padding: 0.5em;
}
.third .boximg img {
height:200px;
}
.hi {
padding: 0 0.6em;
border-radius: 1em;
background: #eee;
position: absolute;
top: 1em;
left: 1em;
}
.greenhi {
background: #89fc3b;
}
.yellowhi {
background: #f7e454;
}
.bluehi {
background: #06adff;
}
.logitem .editbutton img {
vertical-align: baseline;
opacity: 0.2;
}
.logitem .editbutton a:hover img {
opacity: 1;
}
.logrow {
display: flex;
flex-direction: row;
flex-wrap: wrap;
column-gap: 0.5em;
}
.logitem {
margin-top: 1em;
}
.logdesc {
margin-top: 0.5em;
}
.logitem img {
vertical-align: -2px;
}
.tablerow {
display: table-row;
}
.tablecell, .tableimg {
display: table-cell;
vertical-align: top;
padding: 1rem 1rem 0 0;
}
.tablecell h3 {
margin: 0;
padding: 0;
}
.tableimg img {
width: 150px;
height: 150px;
border-radius: 8px;
object-fit: cover;
}
.subtitle {
color: #666;
font-size: 1rem;
font-weight: bold;
font-family: "Montserrat", sans-serif;
}
.width60 {
width: 60%;
}
.single > div:first-child, .single > div:last-child {
display:none;
}
.standalone {
margin: 1em 0;
}
.blocks {
display: flex;
flex-direction: column;
gap: 0.5rem;
align-items: flex-start;
}
.blocks p {
margin: 0;
}
.block {
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.smallbox h3 a, .smallbox h3 a:visited, .smallbox h3 a.external, .smallbox h3 a.external:visited {
color: black;
}
.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:#666;
}
.articlerowbuttons {
display: flex;
gap: 0.4em;
}
.articlerowbody {
display: none;
margin: 0 1em 1em 1em;
transition: 1s;
}
.createarticle {
position: relative;
border-radius: 8px;
}
.createarticle img {
opacity:0.5;
filter: grayscale(1);
}
.createarticle:hover img {
opacity:1;
filter: grayscale(0);
}
.createarticle:after {
content: "+";
left: 12px;
top: -4px;
position: absolute;
font-size: 1.7rem;
color:white;
}
.createarticle:hover:after {
display:none;
}
.logos {
display: flex;
margin-bottom: 1em;
gap: 2em;
align-items: center;
}
.blog {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
gap: 1.5rem;
margin: 1.5rem 0;
}
.blog > div:first-child {
/* grid-column: span 2; */
}
.blog > div:last-child {
display: none;
}
.blogbox {
position:relative;
height: 350px;
width: 100%;
}
.bloglink > a > img {
position: absolute;
top: 0;
width: 100%;
height: 350px;
}
.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 a img {
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;
}
.wideimage img {
width: 100%;
height: 100%;
}
.tallimage img {
height: 100vh;
width: auto;
}
.articlemeta {
font-weight: bold;
margin: 2em 0 1em;
font-family: 'Montserrat',sans-serif;
line-height: normal;
}
.eventinfo {
padding: 14px 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
font-weight: bold;
font-family: 'Montserrat',sans-serif;
}
.eventinfo .btn {
margin-top: 0;
}
.some {
display: flex;
gap: 0.5em;
align-items: center;
}
.somebox {
display: flex;
gap: 0.5em;
flex-wrap: wrap;
}
.small {
font-size: small;
}
.new a:link, .new a:visited {
color: #13456b;
}
.banner {
position:relative;
max-height: 450px;
min-height: 200px;
overflow-y: clip;
width: 100%;
background-color: black;
}
.bannerbackground {
height: 100%;
width: 100%;
position:relative;
display: flex;
flex-direction: row;
padding: 3rem 4rem;
box-sizing: border-box;
gap: 1em;
}
.bannertexts {
line-height: 1;
font-family: "Montserrat", sans-serif;
display: flex;
flex-direction: column;
flex: auto 1 1;
justify-content: center;
gap: 1rem;
}
.bannerbody {
font-size: 2rem;
line-height: 1.3;
}
.banner.elementbanner .bannerbody {
font-size: 1rem;
}
.bannertitle {
font-weight: bold;
font-size: 4rem;
}
.banner.elementbanner .bannertitle {
font-size: 2.6rem;
}
.bannertime {
font-size: 1rem;
background: black;
color: white;
border-radius: 1em;
padding: 0.1em 1em;
width: max-content;
}
.bannersubtitle {
font-weight: bold;
}
div.bannersubtitle a:link, div.bannersubtitle a:visited, div.bannersubtitle a:hover, div.bannersubtitle a:active {
color: white;
}
.bannerimage {
height: 100%;
}
.bannerimage > img {
width: 100%;
height: 100%;
object-fit: contain;
}
.bannerlink > a > img {
position: absolute;
top: 0;
width: 100%;
height: 400px;
}
.bg-yellow {
background: #F0BC00;
}
.emptylink, .emptylink a img {
position:absolute;
width:100%;
height:100%;
top:0;
left: 0;
z-index: 1;
}
@media only screen and (max-width: 600px) {
.bannerbackground {
display: flex;
flex-direction: column;
padding: 2rem;
}
.bannertitle {
font-size: 2rem;
}
.bannertexts {
width: 100%;
}
.bannerbody {
font-size: 1rem;
padding-top: 0.5em;
}
.bannerimage {
width: 100%;
height: 70%;
}
}
kbd {
font-family: sans-serif;
}
u {
text-decoration: none;
background: gold;
}
a u {
background: none;
}
h1, h2, .mw-heading2, h3, h4, h5 {
font-family: "Montserrat", sans-serif;
font-weight: bold;
}
h1, h3, h4, h5 {
border-bottom: none;
}
.mw-heading2 {
border-bottom: 1px solid #eaecf0;
}
h1:first-letter, h2:first-letter, h3:first-letter, h4:first-letter, h5:first-letter {
text-transform: capitalize;
}
h1 {
font-size: 2rem;
margin-top: 0;
padding-top: 0;
}
h1 .mw-editsection { display: none; }
h2 {
font-size: 1.7rem;
}
h3 {
font-size: 1.4rem;
}
h4 {
font-size: 1.1rem;
}
.alert {
background: #f1f4f6;
margin: 1em 0;
padding: 1em;
text-align: center;
border-radius: 8px;
display: flex;
align-items: center;
gap: 2em;
}
@media only screen and (max-width: 600px) {
.alert {
flex-direction: column;
}
}
.bi {
display: flex;
gap: 1.5em;
align-items: center;
}
.hidelist > div:first-child, .hidelist > div:last-child {
display:none;
}
.round {
border-radius: 12em;
background: brown;
display: flex;
align-items: center;
}
.boxes {
display:flex;
flex-wrap: wrap;
column-gap: 1.5rem;
row-gap: 1.5rem;
margin:2rem 0;
}
.grid {
display:grid;
gap: 1.5rem;
margin:1.5rem 0;
grid-template-columns: repeat(auto-fit,minmax(150px, 219px));
}
.grid.listeria > div:last-child {
display: none;
}
.grid * {
box-sizing: border-box;
}
.box {
border-radius: 8px;
padding: 1.5rem;
}
.bluebox h2, .bluebox h3, .bluebox h4 {
color: white;
}
.bluebox a.external, .bluebox a, .bluebox a.extiw, .btn a.external {
background: none;
padding: 0;
}
.bluebox a.external, .bluebox a, .bluebox a.extiw {
color:white;
}
.bluebox a.extiw, .bluebox a {
text-decoration:underline;
}
.box .mw-heading2, .box h3 {
margin-top: unset;
padding-top: 0;
line-height: 1.3;
}
.mw-heading2 h2 {
font-size: 1.7rem;
}
/*
.box br {
content:"";
}
.box br:after {
content: " • ";
}
*/
.bluebox {
background: #0E65C0;
}
.whitebox {
background: #F1F4F6;
}
.alertbox {
background: #f8eb79;
}
.contact {
padding: 0.3em 0.6em;
margin: 0.4em;
background: white;
border-radius: 0.5em;
flex: 1 1 250px;
min-width: 200px;
max-width: 350px;
}
.contact .contacttitle {
font-weight: bold;
}
.contact .contactrow {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.divider {
border-bottom: white 1px solid;
color: #8dadcd;
font-size: 0.9em;
text-align: center;
margin: 0.5em;
}
.section img {
margin-right: 1em;
}
.quarter {
flex: 1 1 26%;
min-width: 250px;
}
.smallbox.third {
min-width: 200px;
max-width: 300px;
padding: 0px;
flex: 1 1 240px;
}
.half {
flex: 1 1 40%;
min-width: 250px;
}
.full {
flex: 1 1 100%;
flex-direction: row;
display: flex;
gap: 1em;
}
.frame {
display: flex;
flex-wrap: wrap;
}
/*headerstyles */
.header {
position:absolute;
font-family: "Montserrat", sans-serif;
top: 0;
width: 100%;
}
.activitybackground {
height: 400px;
width: 100%;
position:relative;
}
.activitytitle {
font-weight: bold;
font-size: 1.5em;
}
.activitydate {
font-weight: bold;
}
.activityspecs {
text-transform: uppercase;
font-weight: bold;
}
.headertitle {
position: absolute;
top:0;
color: white;
font-size: 2rem;
font-weight: bold;
padding: 1.5rem;
width: 100%;
box-sizing: border-box;
background: linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,.17) 50%,transparent);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.activity {
position: absolute;
width: 50%;
top: 0;
}
.mainbox {
left: 0;
}
.activitydata {
position: absolute;
bottom: 0;
color: white;
padding: 1.5em;
width: 100%;
box-sizing: border-box;
background: linear-gradient(0deg,rgba(0,0,0,.4),rgba(0,0,0,.17)50%,transparent);
}
.two {
left: unset;
right: 0;
}
/* Header styles for mobile screens */
@media only screen and (max-width: 800px) {
.headertitle {
font-size: 4vw;
}
}
@media only screen and (max-width: 600px) {
.activity {
position: relative;
width: 100%;
line-height: 1.4;
}
.activity .mainimage a img {
height: 200px !important;
}
.articlerowinfo {
flex-direction: column;
align-items: start;
}
.full {
flex-direction: column;
}
}
.regions {
color: #7F888F;
line-height: 1.3em;
}
.regions a:link, .regions a:visited {
color: #253c4e;
}
.labellist {
line-height: 1.3em;
color: #666;
}
.smallbox {
padding: 0;
flex: 1 1 200px;
min-width: 150px;
max-width: 300px;
}
.smallbox img {
border-radius: 8px;
width: 100%;
height: 150px;
object-fit: cover;
}
.content a > img .mw-file-element image-lazy-loaded {
height: 150px !important;
}
.smallbox .logo {
border-radius:8px;
}
.smallbox .logo img {
object-fit:contain;
padding: 0.8em;
box-sizing: border-box;
}
.smallbox .boxrow {
line-height: 1.3;
/* display: flex;*/
gap: 0.5em;
}
.smallbox .boxrow img, .articlerowtitles img {
border-radius: unset;
width: 15px;
height: unset;
object-fit: unset;
}
.flag img {
border: 0.1px solid #ccc;
}
.rowlogo > img {
margin: 2px 5px 2px 0;
width: 20px!important;
}
.smallbox h3 {
line-height: 1.2em;
font-size: 1.3em;
margin-top: 0.6em;
margin-bottom: 0;
}
.subpages {
display:none;
}
.bluebox p, .bluebox ul {
color:white;
font-size:1rem;
list-style: disc;
}
.denselist ul {
margin: 0;
padding: 0;
list-style: none;
}
.mainimage a img {
width:100%;
object-fit: cover;
max-height:450px;
}
.mainimage.top a img {
object-position: top;
}
.mainimage.bottom a img {
object-position: bottom;
}
.mainimage.contain a img {
object-fit: contain;
}
.person img {
object-position: 50% 30%;
}
.gallery a img {
height: unset;
}
/*table properties */
.wikitable a img {
height: unset;
width: unset;
}
th a:visited, th a:link, th a.external:visited, th a.external:link {
color: white;
text-decoration: underline;
}
table.variable {
width: 100%;
}
.variable th {
width: auto;
}
.btn {
padding: 0.7rem 1.3rem;
border-radius: 2rem;
margin-top: 1rem;
font-weight: bold;
display: inline-block;
font-family: 'Montserrat',sans-serif;
white-space: nowrap;
}
.tight {
padding: 0.2rem 0.6rem;
border-radius: 2rem;
margin: 0.3em 0.1em;
font-size: 0.9em;
}
.bluebox .btn, .whitebtn {
color: #0E65C0;
background: white;
}
.whitebox .btn, .bluebtn, .negbtn:hover {
color: white;
background: #0E65C0;
}
.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 #0E65C0;
outline-offset: -2px;
color: #0E65C0;
}
.bluebox .btn:hover a, .whitebtn:hover a {
color:white;
}
.bluebox .btn a, .whitebtn a {
color:#0E65C0;
text-decoration:none;
}
.whitebox .btn:hover a, .bluebtn:hover a, .bluebtn:hover a:link, .bluebtn:hover a:visited, .bluebtn a:hover, .negbtn a {
color:#0E65C0;
}
.whitebox .btn a, .bluebtn a, .bluebtn a:link, .bluebtn a:visited, .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: #0E65C0;
width: 2rem;
height: 2rem;
display: flex;
justify-content: center;
align-items: center;
}
.pagenumber:hover, .pagenumber .neg {
background: #0E65C0;
color: white;
}
.pagenumber .neg:hover {
background:none;
outline: 2px solid white;
outline-offset: -2px;
}
.pagenumber:hover a {
color: white;
}
.pagenumber .neg:hover a {
color: #0E65C0;
}
th {
width:8.3%;
}
.wikitable > * > tr > th {
background-color:#0E65C0;
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;
}
.timeline td {
vertical-align: bottom;
line-height: 1.3em;
}
.inventorydata {
display: flex;
gap: 2em;
margin: 1em 0 2em;
}
.inventorydata div {
flex: 1 1 50%;
}
.menu {
margin: 0 0 1rem 0;
font-family: "Montserrat", sans-serif;
}
.menu ul {
display: flex;
list-style: none;
margin: 0;
}
.menu ul li {
font-weight: bold;
padding: 1rem 0;
margin-right: 1.5rem;
margin-bottom: 0;
color:black;
transition: 0.3s;
}
@media only screen and (max-width: 1000px) {
.menu ul li {
padding: 0.2rem 0px;
margin-right: 0;
}
.menu ul {
flex-direction: column;
}
.menu {
margin: 1rem 0;
}
}
.menu ul li:hover {
font-weight: bold;
box-shadow: inset 0 -2px 0 #0E65C0;
}
.menu ul li:hover a, .menu .sub ul li:hover a {
color:#0E65C0;
}
.menu ul li a {
text-decoration: none;
color:black;
}
.menu ul li a:hover, .menu .sub ul li a:hover {
color:#0E65C0;
}
.menu a.mw-selflink {
color:#0E65C0;
}
.linkfocus {
font-weight: bold;
font-size: 1.1em;
}
.linkfocus a:visited, a, a:hover, a:link {
color: #0E65C0;
}
.sub {
border-top: 1px solid #a7b5be;
box-shadow: inset 0px 10px 10px -13px rgba(0, 0, 0, .4);
}