Trama en el footer

This commit is contained in:
Rezola Museum 2018-02-24 19:36:39 +01:00
parent b8ee670d03
commit 71eb9973f1
4 changed files with 8 additions and 4 deletions

BIN
assets/pattern.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

View File

@ -86,7 +86,7 @@ div.row {margin-right:0 !important; margin-left:0 !important;}
margin-bottom:0;
border-bottom:1px solid rgba(255,153,51,255);
}
.progress { margin-bottom:0;}
.progress { margin-bottom:0; border-radius:0 !important;}
.an-progress-bar {background-color:rgba(255,153,51.255); background-color:#ff9933; }
footer { background:#231f20;padding:30px 0;}
@ -137,8 +137,11 @@ li.anor-list-items ul li {float:left;margin:2px;}
.lan_link { cursor:pointer; text-align:center; font-weight:bold; color:#000 !important;}
.navbar-language > li .lan_link:hover { background:none;}
.navbar-language > li:hover {background:#fff;}
.menu-item a:hover {background:transparent !important;color:#fff !important; font-weight:bold;}
div.clear { clear:both; height:2em;}
img.alignleft { float:left; margin:0.5em 1em 0.5em 0;}
/*img.alignleft::before { clear:both; height:2em; content : "Nothing";}*/
.homepage-content-item:hover {opacity:0.8;}

View File

@ -49,6 +49,7 @@
</div>
</header>
<!-- front-page -->
<div class="meta-container" style="width:100%;background-image:url('http://anorgatarrak.eus/wp-content/themes/anorgatarrak/assets/pattern.png');">
<div class="container" style="padding:30px 0;" ng-hide>
<div class="row">
<?php
@ -60,9 +61,9 @@ $args = array (
foreach ($pages as $page) :
?>
<?php //print_r($page); ?>
<div class="col-md-4">
<div class="col-md-4" style="margin-bottom:2em;">
<a href="<?php echo get_permalink($page->ID);?>">
<div class="row" style="margin:0px 2px 20px; background-size:cover;height:200px;background-image:url('<?php echo get_the_post_thumbnail_url($page->ID); ?>');">
<div class="row homepage-content-item" style="margin:0px 2px 20px; background-size:cover;height:200px;background-image:url('<?php echo get_the_post_thumbnail_url($page->ID); ?>');">
<div class="col-md-12" style="background-color:rgba(0,0,0,0.8);">
<h2><?php echo $page->post_title; ?></h2>
</div>
@ -73,5 +74,6 @@ $args = array (
<?php endforeach; ?>
</div> <!-- row -->
</div><!-- container -->
</div><!-- metacontainer -->
<?php //endif; ?>
<?php get_footer(); ?>

View File

@ -1,7 +1,6 @@
<div class="content">
<div class="row">
<div class="post-header" style="background-image:url('{{post.featured_image_thumbnail_url}}');background-size:cover;background-repeat;no-repeat;background-position:center;width:100%;background-attachment:fixed;height:50vh;">
<!--<div class="post-header" style="background-image:url('{{post.featured_image_thumbnail_url}}');background-size:cover;width:100%;height:90vh;background-attachment:fixed;">-->
<div class="row">
<div class="col-md-offset-1 col-md-5"><h1>{{post.title.rendered}}</h1></div>
</div>