Line 91: | Line 91: | ||
} | } | ||
+ | /*Style 'show menu' label button and hide it by default*/ | ||
+ | #windowcontent .show-menu { | ||
+ | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
+ | text-decoration: none; | ||
+ | color: #fff; | ||
+ | background: #19c589; | ||
+ | text-align: center; | ||
+ | padding: 10px 0; | ||
+ | display: none; | ||
+ | } | ||
+ | /*Hide checkbox*/ | ||
+ | input[type=checkbox]{ | ||
+ | display: none; | ||
+ | } | ||
+ | /*Show menu when invisible checkbox is checked*/ | ||
+ | input[type=checkbox]:checked ~ #menu{ | ||
+ | display: block; | ||
+ | } | ||
Revision as of 22:03, 1 November 2017