Compare commits

...

4 Commits

Author SHA1 Message Date
jorge 406448faff edited typo in if call 2024-03-10 19:11:20 +01:00
jorge a9fe35c4eb spaced entry content h6 2024-03-10 18:28:46 +01:00
jorge 164196db21 styled cards in home page 2024-03-10 13:34:02 +01:00
jorge 8c7ed17aa0 styled tittles with button in home page 2024-03-10 13:22:11 +01:00
10 changed files with 352 additions and 882 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -73,6 +73,38 @@
border-bottom: 0.6rem solid $color__black;
}
}
/* used in
* ./template-parts/section-agenda.php
* ./template-parts/section-last-convos.php
* */
section.agenda,
section.last-convos {
h2 a::after {
display: inline-block;
font-size: 0.4em;
color: white;
background-color: black;
padding: 0.4em;
float: right;
}
}
[lang="ca"] section.agenda h2 a::after {
content: "Verure totes les activitas";
}
[lang*="es"] section.agenda h2 a::after {
content: "Ver todas las actividades";
}
[lang="ca"] section.last-convos h2 a::after {
content: "Verure totes les convocatories";
}
[lang*="es"] section.last-convos h2 a::after {
content: "Ver todas las convocatorias";
}
/* entry content */
.entry-content h6 {
padding: 0.5em 0;
}
}
@media screen and (min-width: 48em) {
h1,.h1 {

View File

@ -30,16 +30,21 @@
display: flex;
flex-direction: column;
.entry-title,h6 {
border-bottom: 1px solid $color__black;
margin: 0;
padding: 0.5rem 0;
border-bottom: 1px solid $color__black;
}
p {
padding: 0.5rem 0;
margin:0;
}
.excerpt {
border-top: 1px solid $color__black;
border-bottom: 1px solid $color__black;
margin-bottom: 0.5em;
}
.more-link {
margin-top: 2rem;
margin-top: 1rem;
}
}

View File

@ -9,7 +9,7 @@
.site {
display: grid;
//grid-template-columns: 1fr minmax(0,35em) minmax(0,35em) 1fr;
grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
grid-template-columns: 0.25fr 1.25fr 1.25fr 0.25fr;
grid-auto-rows: min-content auto min-content min-content;
grid-template-areas:
"header"
@ -180,7 +180,7 @@
}
.site-header {
display: grid;
grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
grid-template-columns: 0.25fr 1.25fr 1.25fr 0.25fr;
grid-template-areas:
"main "
"secondary ";

553
style.css

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -95,7 +95,7 @@
</div>
<?php endif; ?>
<?php if( get_field('xxp_associat_osm_link') ): ?>
<?php if( get_field('xxp_associat_osm_map') ): ?>
<div class="xarxaprod-associat-osm-link">
<h6 class="">Mapa:</h6>
<figure><?php the_field('xxp_associat_osm_map'); ?></figure>

View File

@ -11,7 +11,7 @@
<section id="agenda" class="agenda ">
<header>
<h2> <?php echo esc_html__('Agenda', 'xarxaprod'); ?></h2>
<h2><a href="<?php echo site_url() . '/agenda' ;?>"><?php echo esc_html__('Agenda', 'xarxaprod'); ?></a></h2>
</header>
<main class="xarxaprod-agenda">

View File

@ -18,7 +18,7 @@
//plugin is activated do
?>
<header>
<h2> <?php echo esc_html__('Últimes convocatòries', 'xarxaprod'); ?></h2>
<h2> <a href="<?php echo site_url() . '/convocatories' ;?>"><?php echo esc_html__('Últimes convocatòries', 'xarxaprod'); ?></a></h2>
</header>
<main class="xarxaprod-last-convos xarxaprod-ultimes-convocatories">