首页显示样式

This commit is contained in:
huangjingquan 2013-11-21 17:27:14 +08:00
parent b8db0f59d2
commit 0f652b4955
2 changed files with 39 additions and 8 deletions

View File

@ -104,14 +104,11 @@
<div class="body_resize">
<div class="right">
<div class="home">热门项目</div>
<div class="project">
<span style="overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;">
<a href="#" >Trustie1balabalbalabalbalabalbalabalbalabalbalabalbbalabalbalabalbalabalbalabalbalabalbalabal</a>
</span>
<span class="grey">This is a project!balabalabalabala...</span></div>
<div>
<table><tr><td><p class="welcome-index"><a>Trustie1balabalbalabalbalabalbalabalbalabalbalabalbbalabalbalabalbalabalbalabalbalabalbalabal</a></p></td>
<td><p class="welcome-index"><a>This is a project!balabalabalabala...</a></p></td>
</tr></table>
</div>
</div>
<!-- p class="grey">Fusce vehicula dignissim ligula. Vestibulum sit amet neque eu neque suscipit consequat quis vel risus. </p>

View File

@ -11,6 +11,33 @@ h4 {border-bottom: 1px dotted #bbb;}
/*new by huang*/
/**/
.welcome-index{
width: 290px;
white-space: nowrap;
overflow: hidden;
-o-text-overflow: ellisis;
text-overflow: ellipsis;
}
.contextual-borad{
float:right;
white-space: nowrap;
line-height:1.4em;
margin-top:0px;
margin-right:8px;
font-size:0.9em;
}
.borad-text-list{
margin-bottom: 10px;
border-bottom: 1px dashed rgb(204, 204, 204);
width: 680px;
}
.borad-message{
margin-bottom: 10px;
border-bottom: 1px dashed rgb(204, 204, 204);
}
.borad-count{
width: 50px;
background-color: #e5e2e2;
@ -26,8 +53,15 @@ h4 {border-bottom: 1px dotted #bbb;}
.borad-topic-count{
padding-top: 10px;
padding-left: 5px;
border-bottom:solid 1px #848282;
}
.borad-topic-count-message{
padding-left: 5px;
border-bottom:solid 1px #848282;
color: #848282;
}
.borad-description{