Mise à jour design (figure)

Gestion des balises <figure /> et <figcaption /> avec affichage adapté,
prise en charge dans les thèmes "default" et "flat design"
This commit is contained in:
Marien Fressinaud
2013-08-18 19:41:02 +02:00
parent 2c764af215
commit a2dc177a0c
4 changed files with 28 additions and 0 deletions

View File

@@ -361,6 +361,9 @@
display: block;
margin: 10px auto;
}
.content figure img.big {
margin: 0;
}
.content hr {
margin: 30px 0;
height: 1px;

View File

@@ -41,6 +41,17 @@ h1, h2, h3 {
}
/* IMG */
figure {
margin: 5px 0 10px;
text-align: center;
}
figcaption {
display: inline-block;
padding: 3px 20px;
color: #999;
font-style: italic;
border-bottom: 1px solid #ccc;
}
img {
height: auto;
max-width: 100%;

View File

@@ -347,6 +347,9 @@ body {
display: block;
margin: 10px auto;
}
.content figure img.big {
margin: 0;
}
.content hr {
margin: 30px 0;
height: 1px;

View File

@@ -41,6 +41,17 @@ h1, h2, h3 {
}
/* IMG */
figure {
margin: 5px 0 10px;
text-align: center;
}
figcaption {
display: inline-block;
padding: 3px 20px;
color: #999;
font-style: italic;
border-bottom: 1px solid #ccc;
}
img {
height: auto;
max-width: 100%;