Files
pflores.linkedcorp.net/frontend/cvfolio-theme/index.php
T

27 lines
1.3 KiB
PHP

<?php
declare(strict_types=1);
get_header();
?>
<style>
.cv-page-wrap{max-width:780px;margin:3rem auto;padding:0 2rem 4rem}
.cv-page-wrap h1{font-family:'Manrope',sans-serif;font-size:2rem;font-weight:700;color:#d4a574;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:2px solid rgba(212,165,116,.4)}
.cv-page-wrap h2,.cv-page-wrap h3{font-family:'Manrope',sans-serif;font-weight:700;color:#d4a574;margin:1.75rem 0 .5rem}
.cv-page-wrap h2{font-size:1.1rem}
.cv-page-wrap p{font-size:.93rem;color:#c8c8d0;line-height:1.75;margin-bottom:.75rem}
.cv-page-wrap a{color:#d4a574}
.cv-page-wrap a:hover{color:#fff}
.cv-back{display:inline-flex;align-items:center;gap:.4rem;margin-bottom:2rem;font-family:'Manrope',sans-serif;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#d4a574;text-decoration:none}
.cv-back:hover{color:#fff}
.cv-back::before{content:'←'}
</style>
<section class="content-wrap" style="min-height:60vh">
<div class="cv-page-wrap">
<a class="cv-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(); ?>