门户样式统一,防止冲突

This commit is contained in:
Tim 2016-05-30 14:38:57 +08:00
parent 46e4f2c143
commit 9cc749bd57
4 changed files with 5 additions and 28 deletions

View File

@ -15,7 +15,7 @@
<!-- MathJax的配置 -->
<%=render :partial => "math_js" %>
</head>
<body>
<body background="#fff">
<% update_visiti_count @organization %>
<header id="por_header">
<%= render :partial => 'org_custom_header' %>

View File

@ -43,7 +43,7 @@
<li><a href="javascript:void(0);" target="_blank" class=" ">学生英雄榜 </a></li>
<li><a href="javascript:void(0);" target="_blank" class=" ">学生英雄榜 </a></li>
</ul>
<a href="javascript:void(0);" target="_blank" class=" fr por_edit_index">配置 </a>
<a href="javascript:void(0);" target="_blank" class="link-black fr por_edit_index">配置 </a>
<div class="cl"></div>
</div><!--por_nav end-->

View File

@ -1,28 +1,3 @@
/* 门户样式重置 */
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{ margin:0; padding:0;}
body,table,input,textarea,select,button { font-family: "微软雅黑","宋体"; font-size:12px;line-height:1.5; background:#fff;}
div,img,tr,td,table{ border:0;}
table,tr,td{border:0;cellspacing:0; cellpadding:0;}
ol,ul,li{ list-style-type:none}
a:link,a:visited{color:#000;text-decoration:none;}
a:hover,a:active{color:#3b94d6;}
/* 公共 */
.clear:after {content:".";height:0;visibility:hidden;display:block;clear:both;}
.fl{ float:left;}
.fr{ float:right;}
.cl{ clear:both; overflow:hidden;}
.mt5{ margin-top:5px;}
.mt10{ margin-top:10px;}
.mb5{ margin-bottom:5px;}
.mb10{ margin-bottom:10px;}
.ml5{ margin-left:5px;}
.ml10{ margin-left:10px;}
.ml15{ margin-left:15px;}
.mr5{ margin-right:5px;}
.mr10{ margin-right:15px;}
.mr15{ margin-right:10px;}
/* 门户首页 */
#por_header{ width:100%; }
.por_header_top{ width:100%; height:70px; background:#3b94d6; }

View File

@ -270,6 +270,8 @@ a.linkGrey6 {color:#484848 !important;}
a.linkGrey6:hover {color:#ffffff !important;}
a.linkGrey7 {color:#888888;}
a.linkGrey7:hover {color:#269ac9;}
a.link-black {color:#000;}
a.link-black:hover {color:#3b94d6;}
a.bBlue {background-color:#3498db;}
a.bBlue:hover {background-color:#297fb8;}
a.submit_btn {border:1px solid #3498db; padding:3px 10px; border-radius:3px; color:#3498db;}
@ -1139,4 +1141,4 @@ a.st_down{ display: block; width:8px; float:left; height:13px; background:url(..
.likeNum{color: #7f7f7f}
/*弹框*/
.apply_content{ border:1px solid #ddd;line-height: 16px; height:80px;width:420px; background:#fff; margin-bottom:10px;}
.apply_content{ border:1px solid #ddd;line-height: 16px; height:80px;width:420px; background:#fff; margin-bottom:10px;}