removed second decider for left/right in medien

This commit is contained in:
Ulf Gebhardt 2017-11-21 08:20:30 +01:00
parent 62c43522c7
commit 91c1d16d58
3 changed files with 9 additions and 10 deletions

View File

@ -70,7 +70,6 @@ class default_medien implements SYSTEM\PAGE\Page {
$i = 1; $i = 1;
foreach($articles as $article){ foreach($articles as $article){
$article['sub'] = ($i % 2 == 0) ? '_sub' : ''; $article['sub'] = ($i % 2 == 0) ? '_sub' : '';
$article['sub2'] = ($i % 2 == 0) ? '1' : '';
$links = $article['links']; $links = $article['links'];
$article['links'] = ''; $article['links'] = '';
foreach($links as $link){ foreach($links as $link){

View File

@ -5,7 +5,7 @@
<h4><a href="${link}">${title}</a></h4> <h4><a href="${link}">${title}</a></h4>
<p>${text}</p> <p>${text}</p>
</div> </div>
<div class="agileits_w3layouts_events_grid_social${sub2}"> <div class="agileits_w3layouts_events_grid_social${sub}">
<ul class="agileinfo_social_icons"> <ul class="agileinfo_social_icons">
${links} ${links}
</ul> </ul>

View File

@ -744,7 +744,7 @@ i.fa.fa-quote-right {
background:#65b126; background:#65b126;
} }
.agileits_w3layouts_events_grid_social,.agileits_w3layouts_events_grid_social1 { .agileits_w3layouts_events_grid_social,.agileits_w3layouts_events_grid_social_sub {
position:absolute; position:absolute;
top:0; top:0;
background:#F44336; background:#F44336;
@ -755,29 +755,29 @@ i.fa.fa-quote-right {
right:-7.5%; right:-7.5%;
} }
.agileits_w3layouts_events_grid_social1 { .agileits_w3layouts_events_grid_social_sub {
left:-7.5%!important; left:-7.5%!important;
} }
.agileits_w3layouts_events_grid_social ul,.agileits_w3layouts_events_grid_social1 ul { .agileits_w3layouts_events_grid_social ul,.agileits_w3layouts_events_grid_social_sub ul {
padding:0; padding:0;
margin:0; margin:0;
} }
.agileits_w3layouts_events_grid_social ul li,.agileits_w3layouts_events_grid_social1 ul li { .agileits_w3layouts_events_grid_social ul li,.agileits_w3layouts_events_grid_social_sub ul li {
display:block; display:block;
} }
.agileits_w3layouts_events_grid_social ul li:nth-child(2),.agileits_w3layouts_events_grid_social1 ul li:nth-child(2) { .agileits_w3layouts_events_grid_social ul li:nth-child(2),.agileits_w3layouts_events_grid_social_sub ul li:nth-child(2) {
margin:1em 0; margin:1em 0;
} }
.agileits_w3layouts_events_grid_social ul li a,.agileits_w3layouts_events_grid_social1 ul li a { .agileits_w3layouts_events_grid_social ul li a,.agileits_w3layouts_events_grid_social_sub ul li a {
color:#FFF; color:#FFF;
font-size:1em; font-size:1em;
} }
.agileits_w3layouts_events_grid_social ul li a:hover,.agileits_w3layouts_events_grid_social1 ul li a:hover { .agileits_w3layouts_events_grid_social ul li a:hover,.agileits_w3layouts_events_grid_social_sub ul li a:hover {
color:#212121; color:#212121;
} }
@ -2312,7 +2312,7 @@ h2.typoh2 {
right:0; right:0;
} }
.agileits_w3layouts_events_grid_social1 { .agileits_w3layouts_events_grid_social_sub {
left:0!important; left:0!important;
} }