Browse Source

détail css sur iconebloc

svn/attic/html5up_editorial/118729
chankalan@choc0.net 5 years ago
parent
commit
fa224e9863
  1. 16
      css/theme.scss
  2. 2
      paquet.xml

16
css/theme.scss

@ -88,13 +88,17 @@ article.feature.bloc {
width:calc(50% - 3em);
float:left;
clear:both;
padding: 2em 0 0 3.5em;
padding:2.4em 0 0 3.3em;
margin:0 3em 3em 0;
min-height: 120px;
&:nth-child(2n) {
margin-right:0;
clear:none;
}
.icon {
.icon {
display: inline-block;
min-width: 50px;
text-align: center;
&:after {
display: block;
position: absolute;
@ -112,11 +116,11 @@ article.feature.bloc {
color: _palette(accent);
font-size: 2.75rem;
position: relative;
top: .3em;
top: 0.05em;
}
}
.content {
margin: -5em 0 0 7em;
margin: -6.7em 0 0 7.5em;
p { margin:0; }
}
}
@ -166,6 +170,8 @@ article.feature.bloc {
article.feature.bloc {
width: calc(50% - 1.5em);
margin:0 2em 2em 0;
padding:1.4 0 0 2em;
min-height: 90px;
.icon {
&:after {
height: 5em;
@ -177,7 +183,7 @@ article.feature.bloc {
}
}
.content {
margin: -5em 0 0 5em;
margin: -5em 0 0 6em;
}
}
}

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="html5up_editorial"
categorie="squelette"
version="1.0.9"
version="1.0.10"
etat="test"
compatibilite="[3.1.0;3.2.*]"
logo="prive/themes/spip/images/html5up_editorial-64.png"

Loading…
Cancel
Save