MediaWiki: Common.css: Difference between revisions
From WA Military Digital Library
WAMDLAdmin (talk | contribs) No edit summary |
No edit summary |
||
(5 intermediate revisions by one other user not shown) | |||
Line 46: | Line 46: | ||
body { | body { | ||
background-color:#666666; | background-color:#666666; | ||
background-image: url(.. | background-image: url(http://www.wamdl.com.au/WAMDL/images/9/94/KangarooPawBackground30.jpg); | ||
background-attachment: fixed; | background-attachment: fixed; | ||
background-size: 110% 110%; | background-size: 110% 110%; |
Latest revision as of 17:45, 14 January 2024
/* CSS placed here will be applied to all skins */ /* make the Infoboxes look pretty. */ .infobox { background-color: #f7f7f7; border: 2px solid #bbbbbb; float: right; margin: 0 0 1em 1em; padding: 1em; width: 250px; } .infobox-title { font-size: 1.5em; font-weight: Bold; text-align: center; } .infobox-image { /* border: 2px solid #bbbbbb; */ text-align: center; } .infobox th { text-align: left; vertical-align: top; width: 100px; } .infobox td { vertical-align: top; } /* To make images responsive */ .homagebanner img { max-width:100%; height: auto; width: auto; } /* Change logo size */ .navbar-brand img { height:45px; margin-top:-12px; } /* Change Background Colour */ body { background-color:#666666; background-image: url(http://www.wamdl.com.au/WAMDL/images/9/94/KangarooPawBackground30.jpg); background-attachment: fixed; background-size: 110% 110%; background-repeat: no-repeat; } h1 { color:#000000; } #content { clear:both; background-color:#f7f7f7; opacity: 0.98; margin-bottom:1em; padding-top:.5em; padding-bottom:1em; } .not-editable .mw-search-createlink { display: none; } table.wikitable { margin:1em 1em 1em 0; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; } table.wikitable th { border:1px #AAA solid; padding:0.2em; } table.wikitable td { border:1px #AAA solid; padding:0.2em; } table.wikitable th { background:#F2F2F2; text-align:center; } table.wikitable caption { margin-left:inherit; margin-right:inherit; } /* Show / Hide Button on text .show-hide-text { display: flex; flex-wrap: wrap; } .show-hide-text a { order: 2; } .show-hide-text p { position: relative; overflow: hidden; max-height: 60px; } .show-hide-text p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .show-less { display: none; } .show-less:target { display: block; } .show-less:target ~ p { display: block; max-height: 100%; } .show-less:target + a { display: none; } */