Bladeren bron

디자인 수정

잉여개발기 (SPDV) 5 jaren geleden
bovenliggende
commit
76ed61ec40
3 gewijzigde bestanden met toevoegingen van 4 en 6 verwijderingen
  1. 1 1
      route/tool/func.py
  2. 2 2
      views/main_css/css/main.css
  3. 1 3
      views/main_css/js/load_skin_set.js

+ 1 - 1
route/tool/func.py

@@ -515,7 +515,7 @@ def next_fix(link, num, page, end = 50):
 
 
 def other2(data):
 def other2(data):
     global req_list
     global req_list
-    main_css_ver = '51'
+    main_css_ver = '52'
     data += ['' for _ in range(0, 3 - len(data))]
     data += ['' for _ in range(0, 3 - len(data))]
 
 
     if req_list == '':
     if req_list == '':

+ 2 - 2
views/main_css/css/main.css

@@ -18,7 +18,7 @@ input[type="checkbox"], input[type="radio"] { width: auto; }
 #toron_color_red { background: #fecabf; }
 #toron_color_red { background: #fecabf; }
 #toron_color_grey { background: gainsboro; }
 #toron_color_grey { background: gainsboro; }
 #toron_color_not { display: none; }
 #toron_color_not { display: none; }
-#cate { border: 1px solid; padding: 5px; }
+#cate { border: 1px solid; padding: 5px; margin-top: 20px; }
 blockquote { border: 1px solid; padding: 15px; margin: 0; margin-top: 10px; display: inline-block; }
 blockquote { border: 1px solid; padding: 15px; margin: 0; margin-top: 10px; display: inline-block; }
 img, iframe { max-width: 100%; }
 img, iframe { max-width: 100%; }
 pre { border: 1px solid; padding: 10px; white-space: pre-wrap; }
 pre { border: 1px solid; padding: 10px; white-space: pre-wrap; }
@@ -49,4 +49,4 @@ blockquote { background-image: url(/views/main_css/file/quote.png); background-p
 .content { height: 500px; }
 .content { height: 500px; }
 .topic_content { height: 200px; }
 .topic_content { height: 200px; }
 .spead_footnote { background-color: #efefef; color: #555; border: 1px solid #cecece; }
 .spead_footnote { background-color: #efefef; color: #555; border: 1px solid #cecece; }
-#footnote_data { border-top: 1px solid gainsboro; padding-top: 10px; }
+#footnote_data { border-top: 1px solid gainsboro; padding-top: 10px; }

+ 1 - 3
views/main_css/js/load_skin_set.js

@@ -93,10 +93,8 @@ function main_css_skin_load() {
             var backup_category = get_category.innerHTML;
             var backup_category = get_category.innerHTML;
             var in_data = document.getElementById('in_data_0').innerHTML;
             var in_data = document.getElementById('in_data_0').innerHTML;
             get_category.innerHTML = '';
             get_category.innerHTML = '';
-
-            backup_category = backup_category.replace('<hr>', '') + '<hr>';
-
             document.getElementById('in_data_0').innerHTML = backup_category + in_data;
             document.getElementById('in_data_0').innerHTML = backup_category + in_data;
+            head_data.innerHTML += '<style>#cate { margin-top: 0px; margin-bottom: 20px; }</style>';
         }
         }
     }
     }
 }
 }