Jelajahi Sumber

tutorial section css improvements for mobile

Aggror 5 tahun lalu
induk
melakukan
16b46b9a79
1 mengubah file dengan 11 tambahan dan 3 penghapusan
  1. 11 3
      en/template/styles/main.css

+ 11 - 3
en/template/styles/main.css

@@ -200,6 +200,12 @@ td img {
     width: initial;
     width: initial;
 }
 }
 
 
+@media only screen and (max-width: 768px) {
+    .container {
+        padding-top: 20px;
+    }
+}
+
 .toc .nav>li>a {
 .toc .nav>li>a {
     margin-left: 5px;
     margin-left: 5px;
 }
 }
@@ -709,7 +715,6 @@ h5 {
         min-height: auto;
         min-height: auto;
     }
     }
     .stride-documentation-image {
     .stride-documentation-image {
-        width: 30%;
         min-width: 0;
         min-width: 0;
         padding-right: 15px;
         padding-right: 15px;
     }
     }
@@ -1409,20 +1414,23 @@ h4.returns {
     padding: 10px;
     padding: 10px;
 }
 }
 
 
+
 /* adjust anchor */
 /* adjust anchor */
+
 :target:before {
 :target:before {
     content: "";
     content: "";
     display: block;
     display: block;
     height: 120px;
     height: 120px;
     margin: -120px 0 0;
     margin: -120px 0 0;
 }
 }
+
 @media only screen and (max-width: 768px) {
 @media only screen and (max-width: 768px) {
-    :target:before {
+     :target:before {
         height: 75px;
         height: 75px;
         margin: -75px 0 0;
         margin: -75px 0 0;
     }
     }
 }
 }
 
 
-.lang-btn-drpdown-show{
+.lang-btn-drpdown-show {
     height: auto !important;
     height: auto !important;
 }
 }