Hide title on mobile

This commit is contained in:
2025-01-22 09:42:34 +11:00
parent 8610ac2529
commit 32601ae9a9
4 changed files with 6 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<tbody>
<tr>
<td class="smaller text">
Theme adapted from <strong>programming pages</strong> theme v{{ layout.theme_version }} (<a href="{{ layout.theme_url }}" title="a jekyll theme for publishing code documentation to GitHub pages">{{ layout.theme_url }}</a>)
Theme adapted from <a href="{{ layout.theme_url }}" title="a jekyll theme for publishing code documentation to GitHub pages">programming pages</a>
</td>
</tr>
</tbody>

View File

@@ -3,5 +3,5 @@
<a class="borderless item" href="{{ site.baseurl }}/">{% include icon.liquid id='home' %} Home</a>
<div class="borderless header item">
<span class="larger text">{{ site.title }}</span>
<span class="larger text custom-mobile-hide">{{ site.title }}</span>
</div>

View File

@@ -18,6 +18,7 @@ layout: compress
<style>svg.icon{width:1em;height:1em}</style>
<link rel="preload" as="style" href="{{ site.baseurl }}/assets/site.css" onload="this.onload=null;this.rel='stylesheet';">
<noscript><link rel="stylesheet" href="{{ site.baseurl }}/assets/site.css"></noscript>
<noscript><link rel="stylesheet" href="{{ site.baseurl }}/assets/custom.css"></noscript>
<script>{% include scripts/loadcss/loadcss-2.0.1.min.js %}</script>
<!-- site information -->

3
assets/custom.css Normal file
View File

@@ -0,0 +1,3 @@
.custom-mobile-hide {
display: none !important;
}