commit 374fcfa1ca782b3c4e24c3f5a425dc5d3fc769be
parent c0caaa02d2647fc15008e82cea2d3ba632a33276
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Tue, 8 Oct 2024 11:42:04 +0200
feat: make code easier to read
Diffstat:
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/css/mobile.css b/css/mobile.css
@@ -1,27 +1,51 @@
@media screen and (max-width: 641px) {
- #nav-filter-title, #nav-filter, #nav-tags-title, #nav-sources-title {
+ /* Navigation section text */
+ #nav-filter-title,
+ #nav-filter,
+ #nav-tags-title,
+ #nav-sources-title
+ {
font-size: 1.1em;
}
- #nav-tags, #nav-sources {
+
+ /* Navigation tags and sources text */
+ #nav-tags,
+ #nav-sources
+ {
font-size: 1.25em;
}
- #search > input[type="search"], #search-button {
+
+ /* Search bar */
+ #search > input[type="search"],
+ #search-button
+ {
width: 100%;
margin-left: 10px; /* only necessary for search-button */
}
-
+
+ /* Entry title text */
.entry-title {
font-size: 1.25em;
}
- .entry-tags, .entry-source, .entry-separator, .entry-author, .entry-datetime, .entry-readtime {
+
+ /* Entry tags and information text */
+ .entry-tags,
+ .entry-source,
+ .entry-separator,
+ .entry-author,
+ .entry-datetime,
+ .entry-readtime
+ {
font-size: 1.1em;
}
+
+ /* Entry content text */
.entry-content {
font-size: 1.075em;
}
- /* makes the toolbar come up on mouse hover */
+ /* always show entry toolbar buttons */
.entry:not(.expanded) .entry-toolbar {
display: block;
border-bottom: 2px solid grey;