mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-10 21:21:12 -06:00
Mobile design optimisations
This commit is contained in:
@@ -77,7 +77,7 @@ nav.TOC{
|
||||
|
||||
nav.TOC span{
|
||||
margin-top:0;
|
||||
font-size:0.8rem;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
nav.TOC a, nav.TOC a:visited{
|
||||
@@ -286,6 +286,10 @@ figcaption.caption {
|
||||
.chapterToc a, .sectionToc a, .subsectionToc a, .likechapterToc a {
|
||||
padding-left: 17px;
|
||||
}
|
||||
|
||||
.home-title {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
div.center {
|
||||
|
||||
@@ -217,8 +217,8 @@ class ModifyBuild
|
||||
|
||||
home_html = %Q{<span class="chapterToc home-link"><a href="/">Home</a></span>}
|
||||
appendix_html = %Q{
|
||||
<span class="chapterToc"><a href="https://breadco.de/kofi">Donate</a></span>
|
||||
<span class="chapterToc"><a href="https://breadco.de/hardcover-book">Hardcover Book</a></span>
|
||||
<span class="chapterToc"><a href="https://breadco.de/kofi">⭐️ Donate</a></span>
|
||||
<span class="chapterToc"><a href="https://breadco.de/hardcover-book">📚 Hardcover Book</a></span>
|
||||
}
|
||||
menu.inner_html = "#{home_html} #{menu.inner_html} #{appendix_html}"
|
||||
doc.to_html
|
||||
@@ -389,7 +389,7 @@ class ModifyBuild
|
||||
|
||||
def build_cover_page_content
|
||||
%Q{
|
||||
<h2 class="chapterHead">
|
||||
<h2 class="chapterHead home-title">
|
||||
🍞 The Sourdough Framework
|
||||
</h2>
|
||||
<p class="noindent">
|
||||
|
||||
Reference in New Issue
Block a user