Skip to content

Commit 0e1e25e

Browse files
committed
UI fixes for mobile
1 parent 8fa90cb commit 0e1e25e

File tree

6 files changed

+30
-29
lines changed

6 files changed

+30
-29
lines changed

content/about/about.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors:
66
- ItsZariep
77
- David Castro
88
showDate: false
9-
url: "/about/"
9+
url: "/about/about"
1010
---
1111

1212
Cereus Linux is a Void Linux–based distribution specifically designed to provide a more user-friendly experience on the Linux desktop. It aims to combine the technical advantages of its base system with a more approachable and curated user environment.

layouts/_shortcodes/updates.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--BANNER-->
2-
<link rel="stylesheet" href="/css/updates.css">
2+
<link rel="stylesheet" href="{{ "css/updates.css" | relURL }}">
33

44
<section class="header-upt">
55
<div class="weltext">

layouts/partials/bottompane.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

layouts/partials/toppane.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@
2323
<li><a href="{{ "/" | relURL }}">Home</a></li>
2424
<li><a href="{{ "/wiki" | relURL }}">Wiki</a></li>
2525
<li><a href="{{ "/blog" | relURL }}">Blog</a></li>
26-
<li><a href="{{ "/about" | relURL }}">About</a></li>
26+
<li><a href="{{ "/about/about" | relURL }}">About</a></li>
2727

28-
<li class="tp-dropdown">
29-
<input type="checkbox" id="extras-toggle" class="dropdown-checkbox">
30-
<label for="extras-toggle">Extras</label>
31-
<ul class="tp-dropdown-elements">
32-
<li>
33-
<a href="https://codeberg.org/cereus-linux/artwork" target="_blank">Artwork</a>
34-
</li>
35-
<li>
36-
<a href="{{ "/extras/mirrors/" | relURL }}">Mirrors</a>
37-
</li>
38-
</ul>
39-
</li>
28+
<li class="tp-dropdown">
29+
<input type="checkbox" id="extras-toggle" class="dropdown-checkbox">
30+
<label for="extras-toggle">Extras</label>
31+
<ul class="tp-dropdown-elements">
32+
<li>
33+
<a href="https://codeberg.org/cereus-linux/artwork" target="_blank">Artwork</a>
34+
</li>
35+
<li>
36+
<a href="{{ "/extras/mirrors/" | relURL }}">Mirrors</a>
37+
</li>
38+
</ul>
39+
</li>
4040

4141

4242
<li><a href="{{ "/updates" | relURL }}">Updates</a></li>

static/css/custom.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ input[type="text"] {
219219

220220
@media only screen and (max-width: 768px) and (max-aspect-ratio: 1/1)
221221
{
222+
.dropdown-checkbox:checked + label + .tp-dropdown-elements {
223+
display: block;
224+
}
222225
#left-container .search-input {
223226
display:block;
224227
}
@@ -232,4 +235,15 @@ input[type="text"] {
232235
display: flex;
233236
flex-direction: row-reverse;
234237
}
238+
239+
.glance-condensed {
240+
display: inline-flex;
241+
gap: 1rem;
242+
flex-direction: column;
243+
font-size: 2rem;
244+
}
245+
.glance-condensed img {
246+
width: 2rem;
247+
height: auto;
248+
}
235249
}

themes/Tessera

Submodule Tessera updated from 46868f8 to 4683258

0 commit comments

Comments
 (0)