Przeglądaj źródła

Fond blanc typo

Tibo 4 lat temu
rodzic
commit
599f949e7e
2 zmienionych plików z 13 dodań i 8 usunięć
  1. 8 6
      src/css/styles_de_paragraphes.scss
  2. 5 2
      src/pages/Index.vue

+ 8 - 6
src/css/styles_de_paragraphes.scss

@@ -19,18 +19,22 @@
 	margin: 0;
 }
 
+.main-title,.main-pre-title{
+	display: inline;
+	padding: 0.2cm 0.2cm;
+	background-color: white;
+	box-shadow: 0.2cm 0px 0px white, 0.2cm 0px 0px white;
+	box-decoration-break: clone;
+}
 .main-title {
 	font-family: "Duke POPSU";
 	font-weight: inherit;
 	font-size: 60pt;
-	line-height: 42pt;
+	line-height: 52pt;
 	margin: 0;
 	padding: 0;
-	background-color: white;
 }
 
-
-
 .main-sub-title {
 	font-family: "Texa";
 	font-weight: 800;
@@ -47,7 +51,6 @@
 	margin-top: 0;
 	padding-top: 0;
 	width: 250px;
-	background-color: white;
 }
 
 .table-of-content {
@@ -208,7 +211,6 @@ blockquote{
     padding: 0.2cm 0.2cm;
 
 		background-color: white;
-
 	  box-shadow: 0.2cm 0px 0px white, 0.2cm 0px 0px white;
 	  box-decoration-break: clone;
 

+ 5 - 2
src/pages/Index.vue

@@ -17,8 +17,11 @@
         {{auteur}}
       </div>
       <div class="v-center grow">
-        <h1 class="main-title center highlight-white" v-html="$static.metadata.title" />
-        <h2 class="main-pre-title center highlight-white" v-html="$static.metadata.subtitle" />
+        <div class="center">
+          <h1 class="main-title center highlight-white" v-html="$static.metadata.title" />
+        </br>
+          <h2 class="main-pre-title center highlight-white" v-html="$static.metadata.subtitle" />
+        </div>
       </div>
       <div class="center">
         <img src="/logo_popsu.png" alt="" style="width:2cm;">