From a5a5a5a8839938cf0ff230d4487da12e8d7d76b9 Mon Sep 17 00:00:00 2001 From: Laegnur Date: Mon, 27 Feb 2023 17:10:20 +0100 Subject: [PATCH] Correccions de estilos. --- site/templates/blogue.php | 2 +- site/templates/css/style.css | 18 ++++++------ site/templates/layout/func.php | 20 ++++++------- site/templates/layout/partial/main_foot.php | 18 ++++++------ site/templates/layout/partial/main_head.php | 32 ++++++++++----------- 5 files changed, 45 insertions(+), 45 deletions(-) diff --git a/site/templates/blogue.php b/site/templates/blogue.php index 1a2761b..82121ef 100644 --- a/site/templates/blogue.php +++ b/site/templates/blogue.php @@ -28,7 +28,7 @@ $contido .= '
get('/noticias/publicacions/')->children("template='publicacion',sort=-fecha_publicacion,limit=10"); $contido .= renderPaxinacion($publicacions, 'superior'); diff --git a/site/templates/css/style.css b/site/templates/css/style.css index 1370fd2..1cc495a 100644 --- a/site/templates/css/style.css +++ b/site/templates/css/style.css @@ -23,10 +23,10 @@ h1, h2, h3, h4, h5, h6 font-family: 'Josefin Sans', serif; } -img +/*img { width: 100%; -} +}*/ dl { @@ -43,6 +43,8 @@ dl dt { width: 10%; + + color: rgb(var(--cor_30)); } dt::after @@ -302,13 +304,13 @@ time span transform: scale(0.85) translateY(-0.8rem) translateX(0.15rem); } -.nav-item +#menu-desplegable .nav-item { border-left: 0.625rem solid rgb(var(--cor_60)); } -.nav-item.active, -.nav-item:hover +#menu-desplegable .nav-item.active, +#menu-desplegable .nav-item:hover { border-left: 0.625rem solid rgb(var(--cor_30)); @@ -415,9 +417,9 @@ a.collapse-head.active:before @media (min-width: 992px) { - .nav-item, - .nav-item.active, - .nav-item:hover + #menu-desplegable .nav-item, + #menu-desplegable .nav-item.active, + #menu-desplegable .nav-item:hover { border-left: 0; } diff --git a/site/templates/layout/func.php b/site/templates/layout/func.php index 6c9cb43..b65c1e8 100644 --- a/site/templates/layout/func.php +++ b/site/templates/layout/func.php @@ -234,18 +234,16 @@ function renderTextoMantemento($titulo, $texto, $imaxe) { $saida = ''; - $saida .= '
' . "\n"; - $saida .= '
' . "\n"; + $saida .= '
' . "\n"; $saida .= '

' . $titulo . '

' . "\n"; $saida .= '
' . "\n"; $saida .= $texto . "\n"; $saida .= '
' . "\n"; $saida .= '
' . "\n"; - $saida .= '
' . "\n"; - $saida .= '' . $imaxe->description . '' . "\n"; + $saida .= '
' . "\n"; + $saida .= '' . $imaxe->description . '' . "\n"; $saida .= '
' . "\n"; $saida .= '
' . "\n"; - $saida .= '
' . "\n"; return $saida; } @@ -422,7 +420,7 @@ function renderTexto($seccion) $saida .= '

' . $seccion->titular . '

' . "\n"; $saida .= '' . "\n"; } - $saida .= '
' . "\n"; + $saida .= '
' . "\n"; $saida .= $seccion->artigo . "\n"; $saida .= '
' . "\n"; @@ -574,7 +572,7 @@ function renderCategoriasEtiquetas($seccion) break; } - $saida .= '
' . "\n"; + $saida .= '
' . "\n"; $saida .= '' . "\n"; @@ -671,9 +669,9 @@ function renderArtigos($publicacion, $locale, $resumen = true) if($publicacion->imaxe) { $thumb = $publicacion->imaxe->size(466, 260); - $saida .= '' . $publicacion->imaxe->description . '' . "\n"; + $saida .= '' . $publicacion->imaxe->description . '' . "\n"; } - $saida .= '
' . "\n"; + $saida .= '
' . "\n"; $saida .= '

' . renderResumen(getTextoLimpo(getSeccions($publicacion->seccions))) . '

' . "\n"; $saida .= '

' . _x("Read more", "Read more") . '

' ."\n"; $saida .= '
' . "\n"; @@ -683,9 +681,9 @@ function renderArtigos($publicacion, $locale, $resumen = true) if($publicacion->imaxe) { $thumb = $publicacion->imaxe->size(466, 260); - $saida .= '' . $publicacion->imaxe->description . '' . "\n"; + $saida .= '' . $publicacion->imaxe->description . '' . "\n"; } - $saida .= '
' . "\n"; + $saida .= '
' . "\n"; $saida .= getSeccions($publicacion->seccions) . "\n"; $saida .= '
' . "\n"; } diff --git a/site/templates/layout/partial/main_foot.php b/site/templates/layout/partial/main_foot.php index 0a339cf..34b3869 100644 --- a/site/templates/layout/partial/main_foot.php +++ b/site/templates/layout/partial/main_foot.php @@ -1,6 +1,6 @@ diff --git a/site/templates/layout/partial/main_head.php b/site/templates/layout/partial/main_head.php index d7d28a0..53e2a98 100644 --- a/site/templates/layout/partial/main_head.php +++ b/site/templates/layout/partial/main_head.php @@ -77,7 +77,7 @@ if($input->get->logout == true) -
-
+
@@ -96,19 +96,19 @@ if($input->get->logout == true)

-