Browse Source

调整需求反馈位置

luyanan 7 years ago
parent
commit
e651900126
2 changed files with 6 additions and 0 deletions
  1. 5 0
      css/genindex.css
  2. 1 0
      js/common.js

+ 5 - 0
css/genindex.css

549
549
550
/*--------------新版资源--------------*/
550
/*--------------新版资源--------------*/
551
.showMain.showMain2{text-indent:0;}
551
.showMain.showMain2{text-indent:0;}
552
#articleContent ul,#articleContent ol{padding-left: 20px;}
553
#articleContent ul{list-style-type:disc;}
554
#articleContent ol{list-style-type:decimal;}
555
#articleContent ul>li,#articleContent ol>li{padding-left:0px;}
556
#articleContent ul>li>p,#articleContent ol>li>p{margin: 0;}
552
.showMain.showMain2>ul>li{margin:10px 0;display:none;}
557
.showMain.showMain2>ul>li{margin:10px 0;display:none;}
553
.showMain .showTit{position:relative;padding-left:10px;}
558
.showMain .showTit{position:relative;padding-left:10px;}
554
.showMain .showTit:before{position:absolute;top:50%;margin-top:-10px;left:0;display:inline-block;content:"";width:4px;height:18px;background:#ff9900;}
559
.showMain .showTit:before{position:absolute;top:50%;margin-top:-10px;left:0;display:inline-block;content:"";width:4px;height:18px;background:#ff9900;}

+ 1 - 0
js/common.js

4
4
5
	var footerHeight = $("footer").outerHeight(true);
5
	var footerHeight = $("footer").outerHeight(true);
6
	$('#container').css("padding-bottom", footerHeight + "px");
6
	$('#container').css("padding-bottom", footerHeight + "px");
7
	$(".footer_tools").css("bottom", (footerHeight+10) + "px");
7
	//窗口大小变更事件
8
	//窗口大小变更事件
8
	$(window).resize(function() {
9
	$(window).resize(function() {
9
		footerHeight = $("footer").outerHeight(true);
10
		footerHeight = $("footer").outerHeight(true);