html { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } html, body { height: 100%; } body { font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif; line-height: 1.5; color: #666; font-size: 14px; background: #ECECEC; transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1); overflow-x: hidden; } a { transition: color .3s ease; } .main-wrapper { background: #fff; width: 92%; margin: 0 auto; border-radius: 6px; overflow: hidden; padding: 24px 0 0; margin-bottom: 24px; position: relative; } .main-container { padding: 0 8% 120px 4%; margin-left: -1px; background: #fff; min-height: 500px; overflow: hidden; border-left: 1px solid #e9e9e9; position: relative; } .aside-container { padding-bottom: 50px; &.ant-menu-inline .ant-menu-submenu-title h4, &.ant-menu-inline > .ant-menu-item, &.ant-menu-inline .ant-menu-item a { font-size: 14px; } a[disabled] { color: #ccc; } } .aside-container .chinese { font-size: 12px; margin-left: 6px; font-weight: normal; opacity: .67; } .outside-link:after { content: '\E669'; font-family: 'anticon'; margin-left: 5px; font-size: 12px; } .outside-link.internal { display: none; } .ant-site-loading { height: 100vh; width: 100vw; background: #fff; text-align: center; display: table-cell; vertical-align: middle; img { transform-style: preserve-3d; display: block; width: 70px; margin: -50px auto 10px; animation: loadTween 2S cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite; } } #loading-text { font-family: lato; color: #777; font-size: 16px; letter-spacing: 2px; > span { display: inline-block; &:first-child { animation: xLeftMatrixR 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate; } &:last-child { animation: xRightMatrixR 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate; } &.blank { width: 0.4em; } } } .page-wrapper { animation: pageEnter .3s cubic-bezier(0.455, 0.03, 0.515, 0.955); } .loop-yoyo-load(@index) when (@index >= 0) { .yoyo-x-@{index} { animation: ~"Load@{index}" 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate; } .loop-yoyo-load(@index - 1); } .loop-yoyo-load(5); @keyframes loadTween { 0% { transform: rotateY(0deg); } 50% { transform: rotateY(180deg); } 100% { transform: rotateX(-180deg); } } @keyframes xLeftMatrixR { 0% { opacity: 0; transform: translateX(-50px) rotate(-30deg) scale(1.5, 1.5); } 20% { opacity: 0; transform: translateX(-50px) rotate(-30deg) scale(1.5, 1.5); } 80% { opacity: 1; transform: translateX(0px) rotate(0deg) scale(1, 1); } } @keyframes xRightMatrixR { 0% { opacity: 0; transform: translateX(50px) rotate(30deg) scale(1.5, 1.5); } 20% { opacity: 0; transform: translateX(50px) rotate(30deg) scale(1.5, 1.5); } 80% { opacity: 1; transform: translateX(0px) rotate(0deg) scale(1, 1); } } @keyframes Load5 { 0% { opacity: 0; transform: translate(-30px, 30px) rotate(-30deg) scale(1.5, 1.5); } 20% { opacity: 0; transform: translate(-30px, 30px) rotate(-30deg) scale(1.5, 1.5); } 80% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1, 1); } } @keyframes Load4 { 0% { opacity: 0; transform: translate(30px, -30px) rotate(-30deg) scale(1.5, 1.5); } 20% { opacity: 0; transform: translate(30px, -30px) rotate(-30deg) scale(1.5, 1.5); } 80% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1, 1); } } @keyframes Load3 { 0% { opacity: 0; transform: translate(-30px, -30px) rotate(30deg) scale(1.5, 1.5); } 20% { opacity: 0; transform: translate(-30px, -30px) rotate(30deg) scale(1.5, 1.5); } 80% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1, 1); } } @keyframes Load2 { 0% { opacity: 0; transform: translate(-30px, 30px) rotate(-30deg) scale(1.5, 1.5); } 20% { opacity: 0; transform: translate(-30px, 30px) rotate(-30deg) scale(1.5, 1.5); } 80% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1, 1); } } @keyframes Load1 { 0% { opacity: 0; transform: translate(30px, 30px) rotate(30deg) scale(1.5, 1.5); } 20% { opacity: 0; transform: translate(30px, 30px) rotate(30deg) scale(1.5, 1.5); } 80% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1, 1); } } @keyframes Load0 { 0% { opacity: 0; transform: translate(30px, -30px) rotate(-30deg) scale(1.5, 1.5); } 20% { opacity: 0; transform: translate(30px, -30px) rotate(-30deg) scale(1.5, 1.5); } 80% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1, 1); } } @keyframes pageEnter { from { opacity: 0; } }