Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
SuperHamster (talk | contribs) (onlymobile / nomobile) |
|||
Line 23: | Line 23: | ||
} |
} |
||
} |
} |
||
+ | |||
+ | /* Allow to have a full width image (banner) */ |
||
+ | .full-width-image { |
||
+ | position: relative; |
||
+ | overflow: hidden; |
||
+ | max-width: 1800px; |
||
+ | height: auto; |
||
+ | margin-bottom: .6em; |
||
+ | } |
||
+ | |||
+ | .full-width-image img { |
||
+ | max-width: 100%; |
||
+ | height: auto; |
||
+ | width: auto; |
||
+ | } |
||
+ | |||
+ | /* CSS for 2023 Toronto pages coming up*/ |
Revision as of 19:02, 12 March 2023
@import url(//wikimediadc.org/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css);
div#content a[href ^="https://craignewmarkphilanthropies.org/"].external {
background:none !important;
padding: 0px !important;
}
/* Toggle mobile and non-mobile content based on resolution */
@media (min-width: 851px) {
.onlymobile {
display: none;
}
.nomobile {
display: block;
}
}
@media (max-width: 850px) {
.onlymobile {
display: block;
}
.nomobile {
display: none;
}
}
/* Allow to have a full width image (banner) */
.full-width-image {
position: relative;
overflow: hidden;
max-width: 1800px;
height: auto;
margin-bottom: .6em;
}
.full-width-image img {
max-width: 100%;
height: auto;
width: auto;
}
/* CSS for 2023 Toronto pages coming up*/