京东,欢迎登陆
依据《网络安全法》,为保障您的账户安全和正常使用,请尽快完成手机号验证! 新版《京东隐私政策》已上线,将更有利于保护您的个人隐私。
/*================通用================*/
*{
margin: 0;
padding: 0;
position: relative;
}
button{
border: 0;
}
button:focus{
outline: 0;
}
/*================顶部================*/
#top{
/*background-color: salmon;*/
height: 120px;
}
/*=====顶部的顶部=====*/
#top #banner{
/*background-color: chartreuse;*/
height: 80px;
}
#top #banner a{
position: absolute;
right: 180px;
bottom: 10px;
font-size: 12px;
color: rgb(138,138,138);
/*去掉下划线*/
text-decoration: none;
/*设置图标*/
/*background:图片地址 是否平铺 x y 颜色
*/
background: url(../img/q-icon.png) no-repeat 0px center;
padding-left: 20px;
}
#top #banner a:hover{
color: red;
text-decoration: underline;
}
#top #banner #img1{
margin-left: 188px;
/*垂直居中*/
position: absolute;
top: 50%;
margin-top: -30px;
line-height: 60px;
}
#top #banner #img2{
position: absolute;
left: 370px;
/*垂直居中*/
top: 50%;
margin-top: -8px;
line-height: 40px;
}
/*=====顶部的底部=====*/
#top #message{
background-color: rgb(255,246,236);
height: 40px;
width: 100%;
}
#top #message p{
font-size: 11px;
color: rgb(138,138,138);
/*float: left;*/
/*垂直方向居中*/
height: 40px;
line-height: 40px;
/*水平方向居中*/
width: 792px;
margin-left: auto;
margin-right: auto;
padding-left: 25px;
background: url(../img/warning.png) no-repeat 0px center;
}
#top #message a{
color: black;
text-decoration: none;
}
#top #message a:hover{
text-decoration: underline;
}
/*================内容================*/
#content{
background-color: rgb(84,161,220);
height: 475px;
}
/*=====内容的背景=====*/
#content img1{
margin-left: 100px;
position: absolute;
top: 50%;
margin-top: -237px;
}
/*====登录框=====*/
#content #login{
background-color: white;
height: 400px;
width: 350px;
position: absolute;
right: 190px;
top: 15px;
}
/*登录框的顶部*/
#content #login #div1{
height: 100px;
/*background-color: aqua;*/
}
#content #login #div1 #text{
height: 40px;
background-color: rgb(255,246,236);
}
#content #login #div1 #text p{
font-size: 11px;
text-align: center;
color: rgb(138,138,138);
height: 40px;
line-height: 40px;
}
#content #login #div1 #text p #img2{
position: absolute;
top: 50%;
margin-top: -12px;
line-height: 25px;
}
#content #login #div1 #button{
height: 60px;
/*background-color: orange;*/
color: rgb(220,220,220);
font-weight: 100;
font-family: "微软雅黑";
}
#content #login #div1 #button button{
height: 100%;
width: 170px;
border: 0;
font-size: 20px;
color: rgb(80,80,80);
background-color: rgba(255,255,255,0);
}
#content #login #div1 #button button:focus{
color: red;
outline: none;
}
#content #login #div1 #button btn2{
float: right;
}
/*登录框的中部*/
#content #login #div2{
height: 250px;
/*background-color: coral;*/
border-top: 1px solid rgb(220,220,220,0.6);
border-bottom: 1px solid rgb(220,220,220,0.6);
}
#content #login #div2 #username,#passwords{
/*background: blue;*/
width: 300px;
height: 40px;
/*水平居中*/
margin-left: auto;
margin-right: auto;
border: 1px solid rgb(200,200,200);
}
/*用户名和密码*/
#content #login #div2 #username{
margin-top: 30px;
}
#content #login #div2 #username #bb11,#bb12{
height: 40px;
width: 40px;
border-right: 1px solid rgb(200,200,200);
}
#content #login #div2 #username #bb11 img,#bb12 img{
width: 100%;
height: 100%;
}
#content #login #div2 #passwords{
margin-top: 20px;
}
#content #login #div2 input{
height: 100%;
width: 250px;
border: 0;
float: right;
padding-left: 10px;
font-size: 13px;
}
#content #login #div2 input:focus{
outline: none;
}
/*忘记密码*/
#content #login #div2 #forget{
position: absolute;
right: 25px;
margin-top: 20px;
font-size: 13px;
color: rgb(138,138,138);
text-decoration: none;
}
#content #login #div2 #forget:focus{
color: red;
text-decoration: underline;
}
#content #login #div2 #bb2{
width: 300px;
height: 35px;
/*水平居中*/
position: absolute;
bottom: 30px;
left: 25px;
border: 0;
background-color: rgb(217,34,46);
color: white;
font-size: 20px;
}
#content #login #div2 #bb2:focus{
outline: none;
}
/*在点击按钮的时候添加边框效果*/
#content #login #div2 #bb2:active{
/*outline: skyblue solid;*/
/*border: 2px solid skyblue;
border-radius: 4px;*/
border-radius: 4px;
box-shadow: 0 0 0 3px skyblue;
}
/*登录框的底部*/
#content #login #div3{
height: 50px;
line-height: 50px;
font-size: 8px;
color: rgb(200,200,200);
}
#content #login #div3 a{
font-size: 12px;
color: rgb(130,130,130);
text-decoration: none;
}
#content #login #div3 a:hover{
color: red;
text-decoration: underline;
}
#content #login #div3 #zhuce{
background: url(../img/right.png) no-repeat 0 center;
padding-left: 25px;
position: absolute;
right: 25px;
}
#content #login #div3 #qq{
background: url(../img/qq.png) no-repeat 0 center;
margin-left: 25px;
margin-right: 15px;
padding-left: 25px;
}
#content #login #div3 #weixn{
background: url(../img/weixin.png) no-repeat 0 center;
margin-left: 5px;
padding-left: 25px;
}
/*================底部================*/
#bottom{
/*background-color: crimson;*/
height: 105px;
text-align: center;
color: rgb(130,130,130);
}
/*=====第一部分=====*/
#bottom #a{
height: 50px;
/*background-color: bisque;*/
line-height: 50px;
font-size: 12px;
}
#bottom #a a{
margin-left: 10px;
margin-right: 15px;
color: rgb(130,130,130);
text-decoration: none;
}
#bottom #a a:hover{
text-decoration: underline;
color: red;
}
/*=====第二部分=====*/
#bottom p{
text-align: center;
}