From 738aa089ae3459516f354eeabf165d65178c1747 Mon Sep 17 00:00:00 2001 From: breadthe Date: Tue, 30 Jan 2024 22:32:18 -1000 Subject: [PATCH] Tweak tag sizes & styling --- helpers.php | 14 +++++++------- source/_layouts/tag.blade.php | 2 +- source/_tags/apex-charts.md | 2 +- source/_tags/dev-tools.md | 2 +- source/_tags/side-project.md | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/helpers.php b/helpers.php index 95e52c4..0285d00 100644 --- a/helpers.php +++ b/helpers.php @@ -7,21 +7,21 @@ // font pixel size for tag cloud function tagSize (?int $count): int { if ($count <= 2) { - return 10; - } elseif ($count <= 5) { return 12; + } elseif ($count <= 5) { + return 13; } elseif ($count <= 10) { return 14; } elseif ($count <= 15) { - return 16; + return 15; } elseif ($count <= 20) { - return 18; + return 16; } elseif ($count <= 25) { - return 20; + return 18; } elseif ($count <= 30) { - return 22; + return 20; } elseif ($count > 30) { - return 24; + return 22; } else { return 16; } diff --git a/source/_layouts/tag.blade.php b/source/_layouts/tag.blade.php index 75eb660..e951d15 100644 --- a/source/_layouts/tag.blade.php +++ b/source/_layouts/tag.blade.php @@ -8,7 +8,7 @@ @endpush @section('hero') - + @endsection @section('body') diff --git a/source/_tags/apex-charts.md b/source/_tags/apex-charts.md index 084362e..b987990 100644 --- a/source/_tags/apex-charts.md +++ b/source/_tags/apex-charts.md @@ -1,6 +1,6 @@ --- extends: _layouts.tag -title: ApexCharts +title: Apex-Charts description: Data visualization and charting with ApexCharts. --- diff --git a/source/_tags/dev-tools.md b/source/_tags/dev-tools.md index 993ac13..7a3e635 100644 --- a/source/_tags/dev-tools.md +++ b/source/_tags/dev-tools.md @@ -1,6 +1,6 @@ --- extends: _layouts.tag -title: DevTools +title: Dev-Tools description: Developer tools. --- diff --git a/source/_tags/side-project.md b/source/_tags/side-project.md index 0cd3a75..a890542 100644 --- a/source/_tags/side-project.md +++ b/source/_tags/side-project.md @@ -1,6 +1,6 @@ --- extends: _layouts.tag -title: Side Project +title: Side-Project description: Discussions on the many fun side projects I've worked on over the years. ---