* { padding: 0; margin: 0; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; } img { border: none; max-width: 100%; height: auto; } ul { padding: 0; margin: 0; list-style: none; } ul li { list-style: none; } select, input, textarea, button { box-shadow: none; outline: 0 !important; } /*about-us-header*/ .about-us-header { margin: auto; height: 7rem; width: 100%; margin-bottom: 2rem; } .auh-date { margin: auto; float: left; /* margin-left: 2.5%; margin-right: 5%; */ width: 50%; } .auh-print { margin: auto; float: left; /* margin-right: 2.5%; */ width: 50%; } .data-btn { float: right; padding-right: 2rem; } .print-btn { float: left; padding-left: 2rem; } .auh-btn { background: #00000011; /* border: 1px solid #3f1010; */ border: none; /* width: 100%; */ height: 7rem; white-space: nowrap; text-align: center; color: #fff; font-size: 5rem; /* font-family: 'Poppins', sans-serif; */ text-transform: capitalize; /*定义大小写转换。该属性值为开头大写*/ border-radius: 5px; -webkit-transition: 0.5s ease-in-out; -moz-transition: 0.5s ease-in-out; -ms-transition: 0.5s ease-in-out; -o-transition: 0.5s ease-in-out; transition: 0.5s ease-in-out; } /* .auh-date{ float: left; } .date_print { position: absolute; background-color: black; height: 300px; width: 10rem; top: 20rem; right: 15rem; } */ /* ———————————————— reset ———————————————— */ .auh-tit { float: left; /* width: 50%; */ } .auh-tit h3 { color: rgb(0, 0, 0); font-family: fantasy; font-size: 3rem; font-family: '楷体'; font-weight: 60; line-height: 1.22; } .auh-tit2 { float: left; margin-right: 1px; /* width: 50%; */ } .auh-tit2 h3 { color: rgb(0, 0, 0); font-family: fantasy; font-size: 3rem; font-family: '楷体'; font-weight: 60; line-height: 1.22; } /*print paper*/ .printPaper { display: none; font-family: '隶书'; position: fixed; background-image: url(../images/reset/bg_white1.jpg); width: 940px; height: 530px; border-radius: 10px; box-shadow: 0 0 100px rgb(0 0 0 / 50%); top: 120px; z-index: 9; margin-left: 100px; font-size: larger; } .printPaper h3 { text-align: center; font-weight: 60; line-height: 1.22; } .printPaper input { float: left; } .printPaper label { font-weight: 200; /* font-size: larger; */ } .printPaper h3 { text-align: left; float: left; padding-top: 15px; padding-left: 55px; color: rgb(255 249 231); font-size: 25px; width: 340px; } .pp_close { position: block; margin-right: 10px; float: right; height: 30px; width: 30px; border-radius: 0px; border-color: rgba(0, 0, 0, 0); background-color: rgba(0, 0, 0, 0); font-size: 30px; } .pp_title { background-image: url(../images/reset/border-bg-black-l.png); background-repeat: no-repeat; background-size: 800px 70px; background-position: center; opacity: 0.8; margin: auto; margin-top: 40px; margin-bottom: 30px; padding: 10px; width: 800px; height: 70px; } .pp_title h3 { width: 800px; height: 70px; font-family: '隶书'; color: rgba(0, 0, 0, 0.89); text-align: center; font-size: x-large; margin-top: -10px; margin-left: -70px; padding-top: 15px; padding-left: 155px; } .pp_form { width: 700px; height: 380px; margin: auto; } .pp { margin: auto; margin-bottom: 30px; background-image: url(../images/reset/bg-black1.png); background-repeat: no-repeat; background-size: 260px 40px; background-position-x: 30px; background-position-y: 12px; } .pp_name { width: 80%; height: 50px; text-align: center; } .pp_name input { float: left; margin-top: 8px; width: 200px; height: 40px; font-size: larger; border-radius: 3px; border-color: rgb(98 98 98 / 39%); background-color: #fffcf3; padding-left: 10px; color: #414141; } .pp_sex { width: 80%; height: 50px; } .sex0 { width: auto; height: 50px; font-size: medium; padding: 8px; } .sex0 input { /* display: none; */ appearance: none; -webkit-appearance: none; outline: none; font-family: fontAwesome; } /* fa-ravelry:未选样式 fa-eercast:选中样式 */ .sex0 input[type=radio]::before { float: left; display: block; cursor: pointer; width: 10px; margin-right: 50px; content: '\f2d9'; font-family: fontAwesome; position: relative; display: block; font-size: 30px; color: #161616; } .sex0 input[type=radio]:checked::after { content: '\f2da'; font-family: fontAwesome; position: relative; display: block; font-size: 30px; color: #161616; top: -30px; left: 6px; /* opacity: 0; */ transition: .1s; } .sex_male { float: left; margin-left: 10px; } .sex_female { float: left; margin-left: 30px; } .sex0 h5 { float: left; font-size: 25px; margin-left: -18px; margin-top: 4px; } .pp_grade { width: 90%; height: auto; background-size: 340px 40px; } .grade0 { margin: auto; padding-top: 35px; margin-left: 360px; width: 400px; height: 50px; transform: translate(-50%, -50%) rotateY(180deg); /* font-size: medium; */ } .grade0 input { display: none; } .grade0 label { float: left; display: block; cursor: pointer; width: 35px; } .grade0 label::before { content: '\f005'; font-family: fontAwesome; position: relative; display: block; font-size: 30px; color: #101010; } .grade0 label::after { content: '\f005'; font-family: fontAwesome; position: absolute; display: block; font-size: 30px; color: #ffd000; top: 34px; opacity: 0; transition: .3s; text-shadow: 0 2px 5px rgba(0, 0, 0, .5); } .grade0 label:hover:after, .grade0 label:hover~label::after, .grade0 input:checked~label::after { opacity: 1; } .pp_submit { margin: auto; margin-left: 10%; margin-top: 20px; width: 80%; height: 60px; font-size: 30px; font-family: '隶书'; border: none; background-color: rgba(0, 0, 0, 0); background-image: url(../images/reset/border-bg-black-l.png); background-repeat: no-repeat; background-size: cover; background-position: center; background-size: 100% 60px; opacity: 0.8; } @media(max-width: 500px) { .printPaper { /* float: left; */ left: -20px; top: 30px; background-color: black; position: relative; margin: auto; top: 30px; } .printPaper h3 { text-align: center; font-weight: 60; line-height: 1.22; } .printPaper input { float: left; } .printPaper label { font-weight: 200; /* font-size: larger; */ } .printPaper h3 { text-align: left; float: left; padding-top: 15px; padding-left: 55px; color: rgb(255 249 231); font-size: 25px; width: 340px; } .pp_close { position: block; margin-right: 10px; float: right; height: 30px; width: 30px; border-radius: 0px; border-color: rgba(0, 0, 0, 0); background-color: rgba(0, 0, 0, 0); font-size: 30px; } .pp_title { background-image: url(../images/reset/border-bg-black-l.png); background-repeat: no-repeat; background-size: 400px 90px; background-position: center; opacity: 0.8; margin: auto; margin-top: auto; margin-bottom: auto; margin-top: 40px; margin-bottom: 30px; padding: 10px; width: 400px; height: 90px; } .pp_title h3 { width: 400px; height: 70px; font-family: '隶书'; color: rgba(0, 0, 0, 0.89); text-align: center; font-size: 24px; margin-top: -10px; margin-left: -41px; padding-top: 15px; padding-left: 68px; } .pp_form { width: 700px; height: 380px; margin: auto; } .pp { margin: auto; margin-bottom: 30px; background-image: url(../images/reset/bg-black1.png); background-repeat: no-repeat; background-size: 260px 40px; background-position-x: 30px; background-position-y: 12px; } .pp_name { width: 80%; height: 50px; text-align: center; } .pp_name input { float: left; margin-top: 8px; width: 200px; height: 40px; font-size: larger; border-radius: 3px; border-color: rgb(98 98 98 / 39%); background-color: #fffcf3; padding-left: 10px; color: #414141; } .pp_sex { width: 80%; height: 50px; } .sex0 { width: auto; height: 50px; font-size: medium; padding: 8px; } .sex0 input { /* display: none; */ appearance: none; -webkit-appearance: none; outline: none; font-family: fontAwesome; } /* fa-ravelry:未选样式 fa-eercast:选中样式 */ .sex0 input[type=radio]::before { float: left; display: block; cursor: pointer; width: 10px; margin-right: 50px; content: '\f2d9'; font-family: fontAwesome; position: relative; display: block; font-size: 30px; color: #161616; } .sex0 input[type=radio]:checked::after { content: '\f2da'; font-family: fontAwesome; position: relative; display: block; font-size: 30px; color: #161616; top: -30px; left: 6px; /* opacity: 0; */ transition: .1s; } .sex_male { float: left; margin-left: 10px; } .sex_female { float: left; margin-left: 30px; } .sex0 h5 { float: left; font-size: 25px; margin-left: -18px; margin-top: 4px; } .pp_grade { width: 90%; height: auto; background-size: 340px 40px; } .grade0 { margin: auto; padding-top: 35px; margin-left: 360px; width: 400px; height: 50px; transform: translate(-50%, -50%) rotateY(180deg); /* font-size: medium; */ } .grade0 input { display: none; } .grade0 label { float: left; display: block; cursor: pointer; width: 35px; } .grade0 label::before { content: '\f005'; font-family: fontAwesome; position: relative; display: block; font-size: 30px; color: #101010; } .grade0 label::after { content: '\f005'; font-family: fontAwesome; position: absolute; display: block; font-size: 30px; color: #ffd000; top: 34px; opacity: 0; transition: .3s; text-shadow: 0 2px 5px rgba(0, 0, 0, .5); } .grade0 label:hover:after, .grade0 label:hover~label::after, .grade0 input:checked~label::after { opacity: 1; } .pp_submit { margin: auto; margin-left: 10%; margin-top: 20px; width: 80%; height: 60px; font-size: 30px; font-family: '隶书'; border: none; background-color: rgba(0, 0, 0, 0); background-image: url(../images/reset/border-bg-black-l.png); background-repeat: no-repeat; background-size: cover; background-position: center; background-size: 100% 60px; opacity: 0.8; } }