Commit 2381606f authored by 任建锋's avatar 任建锋

优化样式

parent 3f85eebb
......@@ -57,10 +57,13 @@
.defaultIcon{
width: 100%;
height: 100%;
font-size: 30px;
font-size: 40px;
font-weight: bold;
line-height: 65px;
text-align: center;
background: linear-gradient(21deg, #00b881 1%, #26d6ca);
color: #fffafa;
border-radius: 10px;
}
img{
......@@ -89,7 +92,7 @@
// border-top: 2px solid #344857;
border-top: 1px solid #ddd;
padding-top: 3px;
margin-top: 3px;
margin-top: 7px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */
......
......@@ -19,14 +19,14 @@ function Index() {
<div className="welcome-top">
<span>欢迎您!
<span className="welcome-uname">王天宇</span>
<a>退出登录</a>
<a className="login-btn">退出登录</a>
</span>
</div>
<div className="nav">
<div className="nav-title">
<img src={logo} alt=""/>
</div>
<div className="nav-weather"><iframe width="500" height="40" frameborder="0" scrolling="no" hspace="0" src="https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"></iframe></div>
<div className="nav-weather"><iframe width="360" height="40" frameborder="0" scrolling="no" hspace="0" src="https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"></iframe></div>
</div>
<div className="tool-nav">
<ToolType/>
......@@ -38,7 +38,9 @@ function Index() {
pop
}
<div className="index-footer">
杭州兑吧网络科技游戏公司版权所有
兑吧研发中心·杭州兑吧网络科技游戏公司版权所有
<br/>
浙ICP备14017299号-1
</div>
</div>
</PopContext.Provider>
......
......@@ -13,14 +13,22 @@ body {
background-color: #444;
color: #fff;
text-align: right;
padding: 4px 10px;
padding: 7px 10px;
font-size: 13px;
.welcome-uname{
padding: 0px 4px;
font-weight: bold;
}
.login-btn{
cursor: pointer;
text-decoration: underline;
}
}
.index-footer{
text-align: center;
color: #b3b3b3;
line-height: 26px;
margin-top: 12px;
}
.nav-weather{
float: right;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment