body,//myStyle 文件夹
div,
dl,
dt,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
legend,
input,
textarea,
button,
p,
blockquote,
th,
td {
margin: 0;
padding: 0;
}
* {
margin: 0;
padding: 0;
}
li {
list-style-type: none;
}
a {
text-decoration: none;
}
/* 图片居中显示 */
img,
input,
button {
border: none;
vertical-align: middle;
}
/* 单行省略 */
.row {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* 2行省略 */
.row2 {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
/* 3行省略 */
.row3 {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
/* 4行省略 */
.row4 {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
}
/* 3行省略 */
.row5 {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
}
/* 3行省略 */
.row6 {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
}
/* 7行省略 */
.row7 {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 7;
-webkit-box-orient: vertical;
}
.font15 {
font-size: 0.9375rem !important;
}
.font18 {
font-size: 1.125rem !important;
}
.font20 {
font-size: 1.25rem !important;
}
.font25 {
font-size: 1.5625rem !important;
}
/* 转大写 */
.tupCass {
text-transform: uppercase;
}
.min1200 {
min-width: 1200px;
}
details {
width: 25px !important;
height: 20px !important;
margin-right: 20px;
}
details summary {
position: relative;
cursor: pointer;
list-style: none;
width: 100%;
height: 100%;
}
summary span {
display: block;
width: 100%;
height: 5px;
background-color: #FFFFFF;
transition: 0.3s;
position: absolute;
}
summary span:first-child {
top: 0;
}
summary span:nth-child(2) {
top: calc(50% - 2.5px);
}
summary span:last-child {
bottom: 0;
}
details[open] span:nth-child(2) {
display: none;
}
details[open] span:first-child {
top: calc(50% - 2.5px);
transform: rotate(-45deg);
transform-origin: center;
}
details[open] span:last-child {
bottom: calc(50% - 2.5px);
transform: rotate(45deg);
transform-origin: center;
}
header {
position: relative;
}
datalist[open]+nav {
overflow: auto;
}
body,html{
width: 100vw;
height: 100vh;
background-color: #272822;
}
.sidbar{
width: 100%;
height: 100%;
background: #ffc324;
position: fixed;
top: 0;
display: flex;
justify-content: center;
padding-top: 100px;
transition: all .5s;
left: 100%;
/* left: 0; */
}
.sidbar-avtive{
left: 0;
}
.open{
position: fixed;
right: 15px;
top: 15px;
}
.active{
color: #007AFF;
}
.menu li{
/* width: 500px; */
height: 100px;
overflow: hidden;
border: 1px solid #000000;
position: relative;
color: #000000;
display: flex;
font-weight: bold;
font-size: 7.25rem;
align-items: center;
justify-content: center;
border-radius: 5px;
/* margin-bottom: 8px; */
transition: all .3s;
line-height: 80px;
}
.menu li span{
margin-top: 300px;
/* transform: translateY(-150px); */
}
.curts{
background-color: #FFFFFF;
color: #000000;
cursor: pointer;
}
/* .menu >.curts,
.menu >li:hover{
color: #FFFFFF;
font-size: 6.875rem;
cursor: pointer;
} */