Browse Source

liste des articles ou rubriques sur une seule colonne sur petits écrans (merci Jimmy)

svn/attic/html5up_massively/117919
chankalan@choc0.net 3 years ago
parent
commit
fe193f11f6
  1. 34
      css/spip.css
  2. 2
      paquet.xml

34
css/spip.css

@ -90,6 +90,40 @@ img { height: auto; max-width:100%; }
#main > div > .posts > article:nth-child(-n + 2) {
border-top-width: 0;
}
@media screen and (max-width: 736px) {
#main > div > .posts > * {
width: 100%;
}
#main > div > .posts > * {
padding: 2rem;
width: 100%;
}
#main > div > .posts > article:nth-child(2n - 1) {
border-left-width: 2px;
}
#main > div > .posts > article:nth-child(-n + 2) {
border-top-width: 2px;
}
#main > div > .posts > article:nth-child(n) {
border-left-width: 0;
}
#main > div > .posts > article:nth-child(-n + 1) {
border-top-width: 0;
}
#main > div > .posts > article .image {
max-width: 25rem;
margin-left: auto;
margin-right: auto;
}
}
.introduction { margin: 0 0 2rem 0; }

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="html5up_massively"
categorie="squelette"
version="0.6.4"
version="0.6.5"
schema="0.1.4"
etat="test"
compatibilite="[3.2.0;3.2.*]"

Loading…
Cancel
Save