فهرست منبع

文章打印css

visuddhinanda 5 سال پیش
والد
کامیت
3dd422c111
2فایلهای تغییر یافته به همراه23 افزوده شده و 9 حذف شده
  1. 7 9
      app/article/index.php
  2. 16 0
      app/article/print.css

+ 7 - 9
app/article/index.php

@@ -39,8 +39,6 @@ require_once "../pcdl/html_head.php";
 	?>
 	</script>
 	<style>
-
-
 	#search_result{
 		position: absolute;
 		background: wheat;
@@ -59,12 +57,12 @@ require_once "../pcdl/html_head.php";
 
 	#head_bar{
 		display: flex;
-    justify-content: space-between;
-    height: 5em;
-    background-color: var(--tool-bg-color1);
-    border-bottom: 1px solid var(--tool-line-color);
-	padding:10px;
-	margin-top: 50px;
+		justify-content: space-between;
+		height: 5em;
+		background-color: var(--tool-bg-color1);
+		border-bottom: 1px solid var(--tool-line-color);
+		padding:10px;
+		margin-top: 50px;
 	}
 
 	.main_view{
@@ -199,7 +197,7 @@ require_once "../pcdl/html_head.php";
 
 </style>
 
-
+<link type="text/css" rel="stylesheet" href="print.css" media="print" />
 
 
 <?php

+ 16 - 0
app/article/print.css

@@ -0,0 +1,16 @@
+header {
+	display: none;
+}
+#head_bar {
+	display: none;
+}
+#right_pannal {
+	display: none;
+}
+.other_tran_div {
+	display: none;
+}
+
+note .ref {
+	display: none;
+}