Skip to content

Instantly share code, notes, and snippets.

@misaka42
Created March 25, 2020 14:09
Show Gist options
  • Save misaka42/52490c4e44b636c9cc5d1721c6e46a2a to your computer and use it in GitHub Desktop.
Save misaka42/52490c4e44b636c9cc5d1721c6e46a2a to your computer and use it in GitHub Desktop.
global.css
*, :after, :before {
-webkit-tap-highlight-color:transparent
}
blockquote, body, dd, div, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, input, legend, li, ol, p, td, textarea, th, ul {
margin: 0;
padding:0
}
table {
border-collapse: collapse;
border-spacing:0
}
fieldset, img {
border:0
}
li {
list-style:none
}
caption, th {
text-align:left
}
q:after, q:before {
content: ""
}
input:password {
ime-mode:disabled
}
:focus {
outline:0
}
body, html {
min-height:100%
}
body {
-webkit-user-select: none;
-webkit-text-size-adjust: none;
-moz-user-select: none;
-ms-user-select: none;
user-select:none
}
a, img {
-webkit-touch-callout:none
}
body, button, input, select, textarea {
font-size: .24rem;
line-height: 1;
color: #333;
font-family:PingFang SC, miui, system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, sans-serif
}
input {
line-height:normal
}
a {
color: #0ae;
text-decoration:none
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
font-weight:400
}
.clear:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height:0
}
.rcc-error-page {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
height: 100%;
text-align:center
}
.rcc-error-page, .rcc-error-page section:first-child {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display:flex
}
.rcc-error-page section:first-child {
-webkit-box-flex: 3;
-webkit-flex: 3;
-ms-flex: 3;
flex: 3;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content:center
}
.rcc-error-page section:nth-child(2), .rcc-error-page section:nth-child(3) {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex:1
}
.rcc-error-page section:nth-child(3) {
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;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
font-size:5vw
}
.rcc-error-page img {
margin-top: 4vh;
height:40vh
}
.rcc-error-page h1 {
font-size:6vw
}
.rcc-error-page h3 {
font-size: 4vw;
color: #999;
padding-top:3vw
}
[data-ant-render-component=dp-haitun-hotzone-react] > [data-type=object] {
position:static !important
}
[data-ant-render-component=dp-haitun-hotzone-react] {
position: absolute !important;
height: .5rem;
width: 100%;
left: 0;
top: -.5rem
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment