style.css
html{
100%;
height: 100%;
overflow: hidden;
}
body{
100%;
height: 100%;
font-family: 'Open Sans',sans-serif;
margin: 0;
background-color: rgb(230, 189, 189);
}
#login{
position: absolute;
top: 40%;
left:50%;
margin: -150px 0 0 -150px;
300px;
height: 300px;
}
#login h1{
color: #fff;
text-shadow:0 0 10px;
letter-spacing: 1px;
text-align: center;
}
h1{
font-size: 2em;
margin: 0.67em 0;
}
input{
278px;
height: 18px;
margin-bottom: 10px;
outline: none;
padding: 10px;
font-size: 13px;
color: #fff;
text-shadow:1px 1px 1px;
border: 1px solid rgb(230, 189, 189);
border-radius: 4px;
background-color: rgb(177, 106, 104);
}
.but{
300px;
min-height: 20px;
display: block;
background-color: rgb(230, 189, 189);
border: 1px solid #ffffff;
color: #b26b69;
padding: 9px 14px;
font-size: 15px;
line-height: normal;
border-radius: 5px;
margin: 0;
}
#div1{
position:fixed;
left:0px;
right:0px;
800px;
margin-left:auto;
margin-right:auto;top:100px;
}
#div1 h1{
color: #fff;
text-shadow:0 0 10px;
letter-spacing: 1px;
text-align: center;
}
#div1 div{
height:50px;
}
#div1 a{
height:30px;
font-size: 20px;
color: rgb(255, 255, 255);
text-shadow:0 0 10px;
letter-spacing: 1px;
text-align: center;
}
#a {
height:50px;
border:1px solid rgb(230, 189, 189);
}
#a input {
height:30px;
border: 1px solid rgb(230, 189, 189);
background-color: lavenderblush;
}
label{
display: inline-block;
padding: 3px 6px;
text-align: right;
100px;
vertical-align: top;
text-align:right
}
.txt{
color: #fff;
height:30px;
40px;
font-size: 15px;
text-shadow:0 0 9px;
letter-spacing: 1px;
text-align: center;
}
table {
90%;
background: #b26b69;
margin: 10px auto;
border-collapse: collapse;/*border-collapse:collapse合并内外边距(去除表格单元格默认的2个像素内外边距*/
}
th,td {
height: 25px;
line-height: 25px;
text-align: center;
border: 1px solid #000000;
}
th {
background: #b26b69;
font-weight: normal;
}
tr {
background: rgb(230, 189, 189);
}
tr:hover {
background: #fcb99f;
}
td a {
color: rgb(0, 0, 0);
text-decoration: none;
}
td a:hover {
color: rgb(0, 0, 0);
text-decoration: underline;
}