yintai-company-home/src/App.css

121 lines
1.5 KiB
CSS

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: inherit;
}
ul, li {
list-style: none;
}
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.page{
height: 100vh;
overflow-x: hidden;
overflow-y: auto;
}
.flex-row{
display: flex;
flex-direction: row;
}
.flex-col{
flex-direction: column;
display: flex;
}
.header-row {
width: 100%;
margin: 0 auto;
padding: 0 60px;
box-sizing: border-box;
}
body {
overflow-x: hidden;
background: #f0f2f4;
font-family: Source Han Sans, Source Han Sans;
}
/* Layout: header + container + footer */
.layout {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.layout-header {
flex-shrink: 0;
}
.container {
flex: 1;
overflow: auto;
}
.layout-footer {
flex-shrink: 0;
}
/* html {
font-size: 16px;
}
@media screen and (max-width: 1920px) {
html {
font-size: 16px;
}
}
@media screen and (max-width: 1440px) {
html {
font-size: 14px;
}
}
@media screen and (max-width: 1024px) {
html {
font-size: 12px;
}
} */