瀏覽代碼

4/8 上線細部修正

Mike 3 年之前
父節點
當前提交
ff691f9590
共有 2 個文件被更改,包括 30 次插入14 次删除
  1. 1 1
      content/家具規劃師/index.md
  2. 29 13
      themes/hugo-lamp/static/css/chuz.scss

+ 1 - 1
content/家具規劃師/index.md

@@ -11,7 +11,7 @@ tags:
     <div class="mt-4">
         <amp-img src="/img/room_planner2/1.webp"
         width="5344"
-        height="2638"
+        height="3544"
         layout="responsive"
         alt="小寶優居-首購族首選 安心成家 室內設計品牌"></amp-img>
     </div>

+ 29 - 13
themes/hugo-lamp/static/css/chuz.scss

@@ -110,16 +110,6 @@ hr {
 	overflow: visible
 }
 
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
-	margin-top: 0;
-	margin-bottom: .5rem
-}
-
 p {
 	margin-top: 0;
 	margin-bottom: 1rem
@@ -398,7 +388,7 @@ h5,
 h6 {
 	margin-bottom: .5rem;
 	font-weight: 400;
-	line-height: 1.2
+	line-height: 1.2;
 }
 
 h1 {
@@ -918,6 +908,12 @@ table td {
 	vertical-align: top;
 }
 
+.form-row {
+	display: flex;
+	flex-wrap: wrap;
+	margin-right: -5px;
+	margin-left: -5px
+}
 
 @media all {
 	table th,
@@ -930,6 +926,16 @@ table thead th {
 	vertical-align: bottom;
 }
 
+.card {
+  position: relative;
+  display: flex;
+  flex-direction: column;
+  min-width: 0;
+  word-wrap: break-word;
+  background-color: #fff;
+  background-clip: border-box;
+  border: 1px solid rgba(0, 0, 0, 0.125);
+}
 
 @media all {
 	table thead th {
@@ -937,6 +943,10 @@ table thead th {
 	}
 }
 
+.card-body {
+  flex: 1 1 auto;
+  padding: 1rem 1rem;
+}
 
 @media all {
 	table tbody+tbody {
@@ -1514,7 +1524,7 @@ header.fixed {
 
 @media (min-width: 992px) {
   .col-lg {
-    flex: 1 0 0%;
+    flex: 100%;
   }
 
   .row-cols-lg-auto > * {
@@ -1593,7 +1603,7 @@ header.fixed {
     width: 16.6666666667%;
   }
 }
-
+// toggler label and input
 .toggle,
 [id^=drop] {
 	display: none;
@@ -1719,6 +1729,7 @@ li > a:only-child:after { content: ''; }
 	/* Display Dropdown when clicked on Parent Lable */
 	[id^=drop]:checked + ul {
 		display: block;
+		
 	}
 
 	/* Change menu item's width to 100% */
@@ -1732,6 +1743,11 @@ li > a:only-child:after { content: ''; }
  	nav ul ul ul a {
 		background-color: #78AD42;
 	}
+
+	nav ul li ul li .toggle,
+	nav ul ul a {
+		background-color: #212121; 
+	}
   
 	nav ul li ul li .toggle,
 	nav ul ul a,