Ver Fonte

添加屏幕自适应代码

visuddhinanda há 2 anos atrás
pai
commit
640b6fd704
1 ficheiros alterados com 15 adições e 0 exclusões
  1. 15 0
      resources/mustache/html/main.html

+ 15 - 0
resources/mustache/html/main.html

@@ -11,6 +11,21 @@
         a {
         a {
             text-decoration: none;
             text-decoration: none;
         }
         }
+        .paragraph {
+            margin-bottom: 1em;
+        }
+
+        .row {
+            display: flex;
+        }
+        @media screen and (max-width: 960px){
+            .row {
+                flex-direction: column;
+            }
+        }
+        .col {
+            flex: 5;
+        }
     </style>
     </style>
 </head>
 </head>
 <body>
 <body>