From 969b7600a86185187cd17d45bd252143db4a6728 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 16 Aug 2023 19:31:48 +0200 Subject: ref: Some typography tweaks --- scss/main.scss | 19 +++++++++++++++++-- templates/album.qtpl | 6 +++--- templates/base.qtpl | 10 +++++----- templates/fs.qtpl | 8 +++++--- templates/media.qtpl | 2 +- templates/settings.qtpl | 14 +++++++------- 6 files changed, 38 insertions(+), 21 deletions(-) diff --git a/scss/main.scss b/scss/main.scss index 89d2096..addae37 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -1,4 +1,4 @@ -$breakpoint: 520px; +$breakpoint: 360px; $tablet: $breakpoint; $body-font-size: 1rem; @@ -18,6 +18,11 @@ $card-content-padding: 0; $table-cell-padding: 0.5em; $table-cell-border-width: 0; +$tag-radius: 0; +$tag-delete-margin: 15px; + +$title-weight: normal; + @import "bulma/sass/base/_all.sass"; @import "bulma/sass/utilities/_all.sass"; @import "bulma/sass/grid/_all.sass"; @@ -28,7 +33,8 @@ $table-cell-border-width: 0; @import "bulma/sass/elements/_all.sass"; body { - font-family: $family-primary + font-family: $family-primary; + padding-bottom: 10px; } .input, .button{ @@ -85,3 +91,12 @@ th { .img { object-fit: cover; } + +// exting size +.text-size-1{ + @extend .is-size-4 !optional; +} + +.text-size-2{ + @extend .is-size-5 !optional; +} diff --git a/templates/album.qtpl b/templates/album.qtpl index ce8111e..9f4c0bd 100644 --- a/templates/album.qtpl +++ b/templates/album.qtpl @@ -20,10 +20,10 @@ func (m *AlbumPage) PreloadAttr() string { {% func (p *AlbumPage) Title() %}Media{% endfunc %} {% func (p *AlbumPage) Content() %} -

{%s p.Name %}

+

{%s p.Name %}

{% for _, a := range p.Albums %} - {%s a.Name %} + {%s a.Name %} {% endfor %}
@@ -41,7 +41,7 @@ func (m *AlbumPage) PreloadAttr() string {
{% endfor %} -
+
next
{% endfunc %} diff --git a/templates/base.qtpl b/templates/base.qtpl index 772167d..b1878ba 100644 --- a/templates/base.qtpl +++ b/templates/base.qtpl @@ -33,16 +33,16 @@ Page prints a page implementing Page interface.
{% endfor %} -
+
next
{% endfunc %} diff --git a/templates/settings.qtpl b/templates/settings.qtpl index 4207439..3d1af81 100644 --- a/templates/settings.qtpl +++ b/templates/settings.qtpl @@ -15,7 +15,7 @@ type SettingsPage struct {
-
-
-
{% for _, user := range p.Users %} -
+
-
+
{%s user.Username %}
-
+
{%s user.Path %}
@@ -57,7 +57,7 @@ type SettingsPage struct {
{% endfor %}
-- cgit v1.2.3