Hid TOC on desktops & tablets, read more

* I switched the markdown engine to markdown-it.
* I used a plugin from the new engine called markdown-it-container to generate a div tag around the TOC
* Configured the plugin to generate the classname mobileOnly
* Recreated semantic's mobile only option using CSS.
This commit is contained in:
2017-03-22 20:07:55 +11:00
parent 74f41ac28e
commit 06bb8b8ed0
5 changed files with 36 additions and 5 deletions
+7
View File
@@ -58,3 +58,10 @@ footer {
.ascend:after{
content: "\25BC";
}
/* device only features */
@media screen and (min-width: 480px) {
.mobileOnly {
display: none;
}
}