Template:Menu side: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
(36 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="menu-side"> | <div class="menu-side infobox side"> | ||
<div class="menu-side-header">{{{1}}}</div> | <div class="menu-side-header">{{{1}}}</div> | ||
<div class="menu-side-content">{{{2}}}</div> | <div class="menu-side-content">{{{2}}}</div> | ||
</div> | </div> | ||
<noinclude>[[Category:Menu Templates]]</noinclude> | |||
<html><style>.menu-side { | |||
<html> | |||
<style> | |||
.menu-side { | |||
background: #f8f9fa; | background: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
clear: both; | clear: both; | ||
text-align: center; | text-align: center; | ||
width: 332px; | width: 332px; | ||
} | } | ||
@media only screen and (max-width: 700px) { | |||
.menu-side { | |||
Width:100%; | |||
} | |||
} | |||
.menu-side-header { | .menu-side-header { | ||
background: #3498db; | background: #3498db; | ||
color: white; | color: white; | ||
font-weight: bold; | font-weight: bold; | ||
font-size:1rem; | |||
} | } | ||
.menu-side-content { | .menu-side-content { | ||
Line 33: | Line 36: | ||
list-style: none; | list-style: none; | ||
margin-left: 0!important; | margin-left: 0!important; | ||
} | line-height: 1.5rem; | ||
</style> | }</style> | ||
</html> | </html> |
Latest revision as of 17:19, 1 May 2022