body { height: 1450px; 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; } /* 操作界面 */ .box2 { width: auto; height: auto; margin: 0 0 0 190px; } .box2 table tr td { padding: 40px 50px 50px 0; } .box2 table tr td a { background-image: url("icons/老人2.png"); background-repeat: no-repeat; padding: 100px 90px 20px 100px; background-position: 70px 35px; background-size: 40%; margin: 0 0 0 5px; } .box2 table tr td a:hover { background-image: url("icons/老人2light.png"); } .box2 table tr td.last { padding: 40px 0 50px 0; } .box2 table tr td span { color: rgba(255, 239, 213); font-size: 14px; padding: 0; margin: 0 0 0 90px; } /* 纵向导航栏 */ .guide { width: 190px; height: 1400px; background-color: rgba(255, 183, 124, 0.3); position: absolute; top: 150px; } .guide li { margin: 50px 0 0 0; } .guide li#delete { margin: 60px 0; } .guide li a { text-decoration-line: none; color: white; padding: 16px 76px 20px 50px; } .guide li a:hover { background-color: rgba(248, 148, 66, 0.7); }