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;
foreach($articles as $article){
$article['sub'] = ($i % 2 == 0) ? '_sub' : '';
$article['sub2'] = ($i % 2 == 0) ? '1' : '';
$links = $article['links'];
$article['links'] = '';
foreach($links as $link){

View File

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

View File

@ -744,7 +744,7 @@ i.fa.fa-quote-right {
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;
top:0;
background:#F44336;
@ -755,29 +755,29 @@ i.fa.fa-quote-right {
right:-7.5%;
}
.agileits_w3layouts_events_grid_social1 {
.agileits_w3layouts_events_grid_social_sub {
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;
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;
}
.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;
}
.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;
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;
}
@ -2312,7 +2312,7 @@ h2.typoh2 {
right:0;
}
.agileits_w3layouts_events_grid_social1 {
.agileits_w3layouts_events_grid_social_sub {
left:0!important;
}