Template:Drawer: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<html>
<style>
.drawer-title {
background-color: #4c4c4c;
color: #fbf0a4;
padding: 6px 12px 6px 12px;
font-size: 125%;
}
.drawer-title a {
color: #fbf0a4;
float: right;
font-size: 1rem;
}
.drawer-title p {
margin-bottom: 8px;
}
.drawer-content {
padding: 6px 12px 6px 12px;
border: 1px solid #eeeeee;
margin-bottom: 6px;
}
#drawer-1 {
display: none;
}
</style>
</html>
<div class="drawer-title">
<div class="drawer-title">
{{{title}}} <html><a onclick="drawerExpand('drawer-1')" class="drawer-button">Expand</a></html>
{{{title}}} <html><a onclick="drawerExpand('drawer-1')" class="drawer-button">Expand</a></html>
</div>
</div>
<div class="drawer-content" id="drawer-1">
<div class="drawer-content" id="drawer-1" style="display: none;">
{{{content}}}
{{{content}}}
</div>
</div>