Kaynağa Gözat

css footnote counter et blockquote centrer

Ouidade 4 yıl önce
ebeveyn
işleme
850f5be970
1 değiştirilmiş dosya ile 8 ekleme ve 4 silme
  1. 8 4
      src/css/styles_de_paragraphes.scss

+ 8 - 4
src/css/styles_de_paragraphes.scss

@@ -230,6 +230,8 @@ p img{
 }
 
 blockquote{
+
+//	align-items: center;
 	position: absolute;
 	background-image: url("/motifs/croix.png");
 	background-size: 0.4cm;
@@ -242,18 +244,20 @@ blockquote{
 	padding: 2cm;
 	break-before: always;
 	break-after: always;
+	// display: flex;
 	& p{
+
+		position: relative;
 		display: inline;
 		font-size: 28pt;
     padding: 0cm 0.1cm;
-
-
 		background-color: white;
 	  box-shadow: 0.1cm 0px 0px white, 0.1cm 0px 0px white;
 	  box-decoration-break: clone;
-
 		line-height: calc(100% + 0.2cm);
-
+		// align-self: center;
+		top: 10%;
+		// transform: translateY(-50%);
 	}
 
 }