Browse Source

修改样式

See999 5 years ago
parent
commit
d2f5ab8bbf
1 changed files with 14 additions and 14 deletions
  1. 14 14
      src/styles/media.scss

+ 14 - 14
src/styles/media.scss View File

@@ -1,4 +1,4 @@
1
-@media only screen and (max-width: 500px) {
1
+@media only screen and (max-width: 767px) {
2 2
   html {
3 3
     font-size: 30px;
4 4
   }
@@ -10,17 +10,17 @@
10 10
 // }
11 11
 
12 12
 /* Medium devices (landscape tablets, 768px and up) */
13
-@media only screen and (min-width: 768px) {
14
-  html {
15
-    font-size: 50px;
16
-  }
17
-}
18
-
19
-// @media screen and (orientation: portrait) and (max-width: 640px) {
20
-// .mainBox {
21
-//   -webkit-transform: rotate(-90deg);
22
-//   -moz-transform: rotate(-90deg);
23
-//   -ms-transform: rotate(-90deg);
24
-//   transform: rotate(-90deg);
25
-// }
13
+// @media only screen and (min-width: 800px) {
14
+//   html {
15
+//     font-size: 50px;
16
+//   }
26 17
 // }
18
+
19
+@media screen and (orientation: portrait) and (max-width: 640px) {
20
+  // .mainBox {
21
+  //   -webkit-transform: rotate(-90deg);
22
+  //   -moz-transform: rotate(-90deg);
23
+  //   -ms-transform: rotate(-90deg);
24
+  //   transform: rotate(-90deg);
25
+  // }
26
+}