Lyout fixes

This commit is contained in:
roberto 2025-06-01 14:25:55 +02:00
parent 0a964b1237
commit 23085a3f84
5 changed files with 12 additions and 8 deletions

View file

@ -21,7 +21,6 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col s12 m9 l9"> <div class="col s12 m9 l9">
<section>
<div class="list-group"> <div class="list-group">
{{ $paginator := .Paginate ((where .Pages "Type" "blogspot").ByParam "lastmod").Reverse}} {{ $paginator := .Paginate ((where .Pages "Type" "blogspot").ByParam "lastmod").Reverse}}
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
@ -31,7 +30,6 @@
{{ partial "partials/pagination.html" (dict "page" . "format" "default" "align" "center") }} {{ partial "partials/pagination.html" (dict "page" . "format" "default" "align" "center") }}
</section>
</div> </div>
{{ partial "partials/widgets/spotsidebar.html" . }} {{ partial "partials/widgets/spotsidebar.html" . }}
</div> </div>

View file

@ -1,5 +1,5 @@
<div class="row blog-article-item-list"> <div class="row blog-article-item-list">
<h4 class="blog-article-title"><a href="{{ .article.Permalink }}">{{.article.Title}}</a></h4> <h3 class="blog-article-title"><a href="{{ .article.Permalink }}">{{.article.Title}}</a></h3>
<div class="col s12 m4 l4 blog-article-image"> <div class="col s12 m4 l4 blog-article-image">
{{ if isset .article.Params "images"}} {{ if isset .article.Params "images"}}
{{ if (fileExists (printf "assets/%s" (index .article.Params.images 0))) -}} {{ if (fileExists (printf "assets/%s" (index .article.Params.images 0))) -}}

View file

@ -73,6 +73,7 @@ footer .menu {
.blog-article-title { .blog-article-title {
margin-bottom: 20px; margin-bottom: 20px;
text-align: center;
} }
.blog-article-image { .blog-article-image {

View file

@ -27,8 +27,8 @@
{{ hugo.Generator }} {{ hugo.Generator }}
<link href="{{ "css/main.css?8" | relURL }}" rel="stylesheet"> <link href="{{ "css/main.css?1" | relURL }}" rel="stylesheet">
<link href="{{ "css/custom.css?8" | relURL }}" rel="stylesheet"> <link href="{{ "css/custom.css?1" | relURL }}" rel="stylesheet">
<!-- Favicon and Apple touch icons--> <!-- Favicon and Apple touch icons-->
<link rel="shortcut icon" href="{{ "img/favicon.ico" | relURL }}" type="image/x-icon"> <link rel="shortcut icon" href="{{ "img/favicon.ico" | relURL }}" type="image/x-icon">

View file

@ -380,7 +380,7 @@ header .col {
} }
.list-group .row { .list-group .row {
margin-bottom: 20px; margin-bottom: 40px;
} }
.list-group .row h4 { .list-group .row h4 {
@ -716,13 +716,18 @@ link {
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
body { body {
padding-top: 60px; padding-top: 80px;
} }
#responsive-button { #responsive-button {
display: block; display: block;
} }
#topnav {
padding-top: 10px;
padding-bottom: 10px;
}
#topmenu { #topmenu {
position:relative; position:relative;
} }
@ -733,7 +738,7 @@ link {
z-index:3; z-index:3;
height:auto; height:auto;
display:none; display:none;
top: 45px; top: 55px;
right: -30px; right: -30px;
flex-direction: column; flex-direction: column;
border-bottom-left-radius: 10px; border-bottom-left-radius: 10px;