瀏覽代碼

resp region top

ouidade 1 月之前
父節點
當前提交
e22e7bcece
共有 2 個文件被更改,包括 8 次插入1 次删除
  1. 5 0
      web/themes/custom/eql/dist/assets/css/bundle.css
  2. 3 1
      web/themes/custom/eql/scss/pages/_ressource.scss

+ 5 - 0
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -2264,6 +2264,11 @@ a {
   text-transform: uppercase;
   font-weight: 800;
 }
+@media (max-width: 1099px) {
+  .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-type-de-ressource {
+    margin-top: 2rem;
+  }
+}
 .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodetitle {
   font-size: 2rem;
   font-weight: 600;

+ 3 - 1
web/themes/custom/eql/scss/pages/_ressource.scss

@@ -83,10 +83,12 @@
                 }
 
                 .block-entity-fieldnodefield-type-de-ressource{
-                    // margin-top: 2rem;
                     color: $blue-light;
                     text-transform: uppercase;
                     font-weight: 800;
+                    @media (max-width: 1099px) {
+                    margin-top: 2rem;
+                    }
                 }
                 .block-entity-fieldnodetitle{
                     font-size: 2rem;