Template:Hero: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
(4 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/ | 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 14: | Line 14: | ||
justify-content: center; /* align horizontal */ | justify-content: center; /* align horizontal */ | ||
align-items: center; /* align vertical */ | align-items: center; /* align vertical */ | ||
width: | width:99%; | ||
} | } | ||
.hero-text{ | .hero-text{ | ||
Line 54: | Line 54: | ||
.hero-title{ | .hero-title{ | ||
font-size:60px; | font-size:60px; | ||
} | |||
} | |||
@media only screen and (max-width: 550px) { | |||
.hero-caption{ | |||
font-size:16px; | |||
} | |||
.hero-title{ | |||
font-size:50px; | |||
} | } | ||
} | } |
Latest revision as of 18:01, 15 April 2023
WELCOME TO WIKIMSK