Files

27 lines
1.3 KiB
PHP

<?php
declare(strict_types=1);
get_header();
?>
<style>
.pn-page-wrap{max-width:780px;margin:3rem auto;padding:0 2rem 4rem}
.pn-page-wrap h1{font-family:'Raleway',sans-serif;font-size:2rem;font-weight:700;color:#1B3A5C;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:3px solid #c0392b}
.pn-page-wrap h2,.pn-page-wrap h3{font-family:'Raleway',sans-serif;font-weight:700;color:#1B3A5C;margin:1.75rem 0 .5rem}
.pn-page-wrap h2{font-size:1.15rem}
.pn-page-wrap p{font-size:.95rem;color:#2d3436;line-height:1.75;margin-bottom:.75rem}
.pn-page-wrap a{color:#c0392b}
.pn-page-wrap a:hover{color:#1B3A5C}
.pn-back{display:inline-flex;align-items:center;gap:.4rem;margin-bottom:2rem;font-family:'Raleway',sans-serif;font-size:.82rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#c0392b;text-decoration:none}
.pn-back:hover{color:#1B3A5C}
.pn-back::before{content:'←'}
</style>
<section class="pn-section pn-section--white">
<div class="pn-page-wrap">
<a class="pn-back" href="<?php echo esc_url(home_url('/')); ?>">Volver al CV</a>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div>
</section>
<?php get_footer(); ?>