Template:Hero: Difference between revisions

From WikiMSK

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
<style>
<style>
.hero{
.hero{
background-image: url("https://wikimsk.org/w/img_auth.php/e/ea/Reading_manikin.jpg");
background-image: url("https://wikimsk.org/w/img_auth.php/a/ac/Reading_man.jpg");
height: 350px;
height: 350px;
background-position: center;
background-position: center;
Line 56: Line 56:
}
}
}
}
.home-search-bar {
@media only screen and (max-width: 550px) {
    text-align: center;
.hero-caption{
    background-color: #ebecec;
font-size:16px;
    padding: 1.5rem;
    margin-bottom:2em;
    width:99%;
}
}
.home-search-bar [type="text"], .home-search-bar [type="submit"]{
.hero-title{
  height:40px;
font-size:50px;
}
.home-search-bar [type="text"]{
  width:70%;
}
}
.home-search-bar [type="submit"]{
  background-color:#3498db;
  color:white;
}
}
</style>
</style>
Line 80: Line 71:
<div class="hero-caption">The New Zealand Musculoskeletal Medicine Wiki</div>
<div class="hero-caption">The New Zealand Musculoskeletal Medicine Wiki</div>
</div>
</div>
</div>
<div class="home-search-bar">
<inputbox>
type=search2
width=30
buttonlabel=Search
break=no
</inputbox>
{{Mainpage stats}}
</div>
</div>
<noinclude>[[Category:Main Page Templates]]</noinclude>
<noinclude>[[Category:Main Page Templates]]</noinclude>

Latest revision as of 18:01, 15 April 2023

WELCOME TO WIKIMSK
The New Zealand Musculoskeletal Medicine Wiki