]> _ Git - fluidbook-html5.git/commitdiff
wip #3733 @2
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 1 Sep 2020 17:25:44 +0000 (19:25 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 1 Sep 2020 17:25:44 +0000 (19:25 +0200)
style/articles.less
style/articles/business-immo.less [new file with mode: 0644]

index ba3088460e445532a0cc8dfd5843cbf319e15864..32fd2487c55b80a465725425cc90518fa83e8fb3 100644 (file)
@@ -67,6 +67,11 @@ article {
     @media @medium {
       font-size: unit(14*@articles-mobile-ratio, px);
     }
+
+    &:not(:first-child) {
+      margin-top: 30px;
+      width: auto !important;
+    }
   }
 
   h2 {
@@ -90,6 +95,14 @@ article {
       }
 
     }
+
+    &.bigfont {
+      font-weight: 600;
+      font-size: 30px;
+      @media @medium {
+        font-size: unit(30*@articles-mobile-ratio, px);
+      }
+    }
   }
 
   h1 {
@@ -104,23 +117,34 @@ article {
     }
   }
 
+  aside{
+    background-color: #eee;
+    padding: 10px 30px;
+    margin-top: 30px;
+  }
+
   figure {
     margin: 30px 0;
+  }
 
-    img {
-      display: block;
-      width: 100%;
-      height: auto;
-    }
+  img {
+    display: block;
+    width: 100%;
+    height: auto;
+  }
 
-    figcaption {
-      color: #fff;
-      font-size: 16px;
-      padding: 15px;
+  figure + figcaption {
+    margin-top: -30px;
+  }
 
-      @media @medium {
-        font-size: unit(16*@articles-mobile-ratio, px);
-      }
+  figcaption {
+    background-color: #000;
+    color: #fff;
+    font-size: 16px;
+    padding: 15px;
+
+    @media @medium {
+      font-size: unit(16*@articles-mobile-ratio, px);
     }
   }
 
@@ -156,6 +180,31 @@ article {
       font-size: unit(16*@articles-mobile-ratio, px);
     }
   }
+
+  .articleBody > a {
+    display: block;
+  }
+
+  .articleBody a {
+    text-decoration: underline;
+  }
+
+  .youtube {
+    position: relative;
+    padding-bottom: 56.25%;
+    padding-top: 30px;
+    height: 0;
+    overflow: hidden;
+
+    iframe, object, embed {
+      position: absolute;
+      top: 0;
+      left: 0;
+      width: 100%;
+      height: 100%;
+    }
+  }
 }
 
+
 @import "articles/@{articles-styles}.less";
\ No newline at end of file
diff --git a/style/articles/business-immo.less b/style/articles/business-immo.less
new file mode 100644 (file)
index 0000000..79066a1
--- /dev/null
@@ -0,0 +1,28 @@
+@import "book-variables";
+@import "variables";
+
+@red: #df001a;
+
+* {
+  box-sizing: border-box;
+  margin: 0;
+  padding: 0;
+}
+
+article {
+  .articleBody a {
+    &:hover {
+      color: @red !important;
+    }
+  }
+
+  h2{
+    color:@red;
+  }
+
+}
+
+
+.mview.visible[data-menu="article"] .footer {
+  background-color: @red;
+}
\ No newline at end of file