소스 검색

Mise à jour design (figure)

Gestion des balises <figure /> et <figcaption /> avec affichage adapté,
prise en charge dans les thèmes "default" et "flat design"
Marien Fressinaud 12 년 전
부모
커밋
a2dc177a0c
4개의 변경된 파일28개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      public/themes/default/freshrss.css
  2. 11 0
      public/themes/default/global.css
  3. 3 0
      public/themes/flat-design/freshrss.css
  4. 11 0
      public/themes/flat-design/global.css

+ 3 - 0
public/themes/default/freshrss.css

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

+ 11 - 0
public/themes/default/global.css

@@ -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%;

+ 3 - 0
public/themes/flat-design/freshrss.css

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

+ 11 - 0
public/themes/flat-design/global.css

@@ -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%;