style page

This commit is contained in:
2025-10-30 08:27:51 +00:00
parent c86d134df9
commit 05ac1a5655
3 changed files with 11 additions and 2 deletions

View File

@ -22,6 +22,10 @@
font-display: swap;
}
body {
min-height: 100vh;
}
/* PORTADA -> ENLACES */
.margin-50 {
margin: 50px 0 !important;
@ -377,6 +381,11 @@ button[type="reset"] {
box-shadow: none;
}
.section-footer {
position: sticky;
top: 100vh;
}
.section-footer .text-footer a,
.section-footer .text-footer p {
font-size: 0.9rem;

View File

@ -1,6 +1,5 @@
<head>
<meta charset="{{ site.charset }}" />
<link rel="stylesheet" href="{{ site.theme.link }}/style.css" type="text/css" media="screen" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="author" href="{{ site.theme.link }}/humans.txt" />
<link rel="profile" href="http://gmpg.org/xfn/11" />

View File

@ -1,10 +1,11 @@
{% extends 'layouts/base.twig' %}
{% block content %}
<h1 class="my-5 position-relative fs-3 fw-bold sp-module-title">{{ post.title }}</h1>
<div class="content-wrapper">
<article class="post-type-{{ post.type }}" id="post-{{ post.id }}">
<section class="article-content">
<h1 class="article-h1">{{ post.title }}</h1>
<div class="article-body">{{ post.content }}</div>
</section>
</article>