Browse Source

일부 수정

Surplus_Up (2DU) 7 years ago
parent
commit
54b37f5cdc
2 changed files with 5 additions and 5 deletions
  1. 1 1
      set_mark/namu.py
  2. 4 4
      views/main_css/main.css

+ 1 - 1
set_mark/namu.py

@@ -1086,7 +1086,7 @@ def namu(conn, data, title, main_num):
     
     data = re.sub('(?P<in><\/h[0-9]>)(\n)+', '\g<in>', data)
     data = re.sub('\n\n<ul>', '\n<ul>', data)
-    data = re.sub('<\/ul>\n\n', '</ul>\n', data)
+    data = re.sub('<\/ul>\n\n', '</ul>', data)
     data = re.sub('^(\n)+', '', data)
     data = re.sub('(\n)+<hr><ul id="footnote_data">', '<hr><ul id="footnote_data">', data)
     data = re.sub('(?P<in><td(((?!>).)*)>)\n', '\g<in>', data)

+ 4 - 4
views/main_css/main.css

@@ -1,7 +1,7 @@
 textarea { width: 100%; }
 input { width: 100%; }
-hr#last { margin-top: 30px; }
-div#toc { border: 1px solid; padding: 20px; width: fit-content; width: -moz-fit-content; margin-top: 10px; }
+#last { margin-top: 30px; }
+#toc { border: 1px solid; padding: 20px; width: fit-content; width: -moz-fit-content; margin-top: 10px; }
 #toc-name { font-size: 18px; }
 table { border-collapse: collapse; }
 td { border: 1px solid; padding: 5px; }
@@ -11,14 +11,14 @@ a { text-decoration: none; }
 #out_link::before { background: green; color: white; content: "E"; }
 input[type="checkbox"] { width: auto; }
 .popup { position: fixed; bottom: 0; padding: 10px; left: 0; background: lightgray; width: 100%; }
-ul#list { padding: 10px; }
+#list { padding: 10px; }
 #toron { width: 100%; }
 #toron_color { background: khaki; }
 #toron_color_green { background: darkseagreen; }
 #toron_color_blue { background: skyblue; }
 #toron_color_red { background: indianred; }
 #toron_color_grey { background: gainsboro; }
-div#cate { border: 1px solid; padding: 5px; }
+#cate { border: 1px solid; padding: 5px; }
 blockquote { border: 1px solid; padding: 15px; margin: 0; margin-top: 10px; }
 img, iframe { max-width: 100%; }
 pre { border: 1px solid; padding: 10px; white-space: pre-wrap; }