Files
OldPeopleHome/web/html/css/views_style.css
vickihe 7488fe6bb6 update
2019-09-09 21:07:51 +08:00

148 lines
2.7 KiB
CSS

body {
height: 3000px;
margin: 0px;
background-image: url("images/天空1.jpg");
background-repeat: no-repeat;
background-size: cover;
}
/* LOGO */
.box1 {
text-align: left;
position: absolute;
top: 30px;
left: 10px;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}
.upper {
color: rgb(255, 115, 0);
font-weight: bolder;
font-family: sans-serif;
font-size: 45px;
letter-spacing: -10px;
}
.lower {
color: rgb(255, 183, 124);
font-family: sans-serif;
font-size: 45px;
letter-spacing: -5px;
}
/* 横向菜单栏 */
.menu {
width: auto;
height: 50px;
background-color: rgb(255, 183, 124);
margin-top: 100px;
}
ul {
width: auto;
list-style-type: none;
white-space: nowrap;
padding: 0;
}
.menu li {
float: left;
}
.menu li#self {
margin: 0 0 0 979px;
}
.menu li a {
color: white;
text-decoration-line: none;
display: block;
padding: 14px 40px 15px 70px;
}
.menu li a:hover {
background-color: rgba(248, 148, 66, 0.7);
}
.menu ul li a#firstPage {
background-image: url("icons/首页.png");
background-repeat: no-repeat;
background-size: 12%;
background-position: 35px 16px;
}
.menu ul li a#my {
background-image: url("icons/管理员.png");
background-repeat: no-repeat;
background-size: 12%;
background-position: 35px 16px;
}
/* 资料卡 */
.info {
width: 450px;
height: 350px;
background-color: rgba(255, 255, 255, 0.5);
position: absolute;
top: 170px;
left: 140px;
}
.info h2 {
padding: 0 0 0 20px;
color: rgb(255, 206, 166);
}
.info span {
position: relative;
left: 20px;
padding: 10px 0 10px 0;
/* background-color: yellow; */
}
/* 房间实况 */
.room {
width: 450px;
height: 350px;
background-color: rgba(255, 255, 255, 0.5);
position: absolute;
top: 170px;
left: 660px;
}
.room h2 {
padding: 0 0 0 20px;
color: rgb(255, 206, 166);
}
/* 本周步数 */
.walk {
width: 450px;
height: 350px;
background-color: rgba(255, 255, 255, 0.5);
position: absolute;
top: 580px;
left: 140px;
}
/* 睡眠情况 */
.sleep {
width: 450px;
height: 350px;
background-color: rgba(255, 255, 255, 0.5);
position: absolute;
top: 580px;
left: 640px;
}
/* 心率 */
.heart {
width: 450px;
height: 350px;
background-color: rgba(255, 255, 255, 0.5);
position: absolute;
top: 980px;
left: 140px;
}
/* 行动轨迹 */
.track {
width: 1150px;
height:550px;
background-color: rgba(255, 255, 255, 0.5);
position: absolute;
top: 1380px;
left: 40px;
}