Răsfoiți Sursa

手机模式没有横向对读

visuddhinanda 4 ani în urmă
părinte
comite
bdc6b672b8
2 a modificat fișierele cu 11 adăugiri și 0 ștergeri
  1. 2 0
      app/pcdl/html_head.php
  2. 9 0
      app/term/term_mobile.css

+ 2 - 0
app/pcdl/html_head.php

@@ -83,6 +83,8 @@ if (isset($_GET["language"])) {
 	<script src="../term/note.js"></script>
 	<script src="../term/term_popup.js"></script>
 	<link type="text/css" rel="stylesheet" href="../term/term.css" />
+	<link type="text/css" rel="stylesheet" href="../term/term_mobile.css" media="screen and (max-width:800px)">
+
 	<?php
 	if (isset($_GET["display"]) && $_GET["display"] == "para") {
 		echo '<link type="text/css" rel="stylesheet" href="../term/term_para.css"/>';

+ 9 - 0
app/term/term_mobile.css

@@ -0,0 +1,9 @@
+/*段落模式 横向*/
+.horizontal .para_div {
+	flex-direction: column;
+}
+/*句子模式 横向*/
+
+.horizontal .note_shell > note > .note_body {
+	flex-direction: column;
+}