---
# System prepended metadata

title: Hackfoldr Theme for HackMD Book mode
tags: [theme]

---

---
title: Hackfoldr Theme for HackMD Book mode
author: Yukai Huang
description: use `{%hackmd @yukai/hackfoldr-book-mode-theme %}` to include this theme
image: https://i.imgur.com/VqTF1wq.png
tags: theme
---

<style>
@media (min-width: 759px) {
    .summary .toolbar {
        padding-top: 6px;
        top: 0px;
        height: 51px;
    }

    .summary #summary {
        padding-top: 0;
    }
}


#summary ul li a {
    border-bottom: solid 1px #dcdcdc;
    margin-top: -2px;
    border-radius: 0;
}

#summary ul li.active a, #summary ul li a:hover, #summary ul li a:active {
    color: #555;
    text-decoration: none;
    background-color: #eeeeee;
}

#summary ul li a .label {
    position: absolute;
    right: 1em;
    padding: 5px 8px;
}

#summary h1 {
    border-bottom: none;
}

#summary h2 {
    -webkit-box-shadow: 0.2em 0 0 inset;
    box-shadow: 0.2em 0 0 inset;
    background-color: rgba(0,0,0,.1);
    color: rgba(0,0,0,.8);
    margin: 0;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
}

</style>