made card image switcher

This commit is contained in:
2019-06-11 18:04:46 +02:00
parent 5da3b3c90a
commit a771fd9d74
10 changed files with 132 additions and 50 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -3,9 +3,6 @@ import Vue from 'vue'
import store from 'vuejs/store'
import router from 'vuejs/route'
// import autofocus from 'vue-autofocus-directive';
// Vue.directive('autofocus', autofocus);
import VUserBlock from 'vuejs/components/Block/UserBlock'
import VMainContent from 'vuejs/components/Content/MainContent'
import VSearchBlock from 'vuejs/components/Block/SearchBlock'

View File

@@ -251,13 +251,23 @@ article.node--type-frontpage{
}
section.images{
position: relative;
img:first-of-type{
z-index:5
}
img:not(:first-of-type){
&, *{width: 100%; height:100%;}
figure{
margin:0;
position: absolute;
top:0; left:0;
z-index:1;
// width: 100%; height:100%;
&:first-of-type{
z-index:5
}
img{
// width: 100%; height:100%;
&.blank{
position: absolute;
top:0; left:0;
z-index: 20;
}
}
}
}
}