hc-materials
Version:
基于react的通用组件库
85 lines (84 loc) • 1.9 kB
CSS
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.hc-exception {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 100%;
}
.hc-exception-imgBlock {
-webkit-box-flex: 0;
-webkit-flex: 0 0 62.5%;
-ms-flex: 0 0 62.5%;
flex: 0 0 62.5%;
width: 62.5%;
padding-right: 152px;
zoom: 1;
}
.hc-exception-imgBlock::before,
.hc-exception-imgBlock::after {
content: '';
display: table;
}
.hc-exception-imgBlock::after {
clear: both;
}
.hc-exception-imgEle {
height: 360px;
width: 100%;
max-width: 430px;
float: right;
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: 100% 100%;
}
.hc-exception-content {
-webkit-box-flex: 1;
-webkit-flex: auto;
-ms-flex: auto;
flex: auto;
}
.hc-exception-content h1 {
color: #434e59;
font-size: 72px;
font-weight: 600;
line-height: 72px;
margin-bottom: 24px;
}
.hc-exception-content .hc-exception-desc {
color: rgba(0, 0, 0, 0.45);
font-size: 20px;
line-height: 28px;
margin-bottom: 16px;
}
.hc-exception-content .hc-exception-actions button:not(:last-child) {
margin-right: 8px;
}
@media screen and (max-width: 1200px) {
hc-exception-imgBlock {
padding-right: 88px;
}
}
@media screen and (max-width: 576px) {
hc-exception {
display: block;
text-align: center;
}
hc-exception-imgBlock {
padding-right: 0;
margin: 0 auto 24px;
}
}
@media screen and (max-width: 480px) {
hc-exception-imgBlock {
margin-bottom: -24px;
overflow: hidden;
}
}