| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| @import '~antd/lib/style/themes/default.less'; |
| |
| .exception { |
| display: flex; |
| align-items: center; |
| height: 100%; |
| |
| .imgBlock { |
| flex: 0 0 62.5%; |
| width: 62.5%; |
| padding-right: 152px; |
| zoom: 1; |
| &:before, |
| &:after { |
| content: ' '; |
| display: table; |
| } |
| &:after { |
| clear: both; |
| visibility: hidden; |
| font-size: 0; |
| height: 0; |
| } |
| } |
| |
| .imgEle { |
| height: 360px; |
| width: 100%; |
| max-width: 430px; |
| float: right; |
| background-repeat: no-repeat; |
| background-position: 50% 50%; |
| background-size: contain; |
| } |
| |
| .content { |
| flex: auto; |
| |
| h1 { |
| color: #434e59; |
| font-size: 72px; |
| font-weight: 600; |
| line-height: 72px; |
| margin-bottom: 24px; |
| } |
| |
| .desc { |
| color: @text-color-secondary; |
| font-size: 20px; |
| line-height: 28px; |
| margin-bottom: 16px; |
| } |
| |
| .actions { |
| button:not(:last-child) { |
| margin-right: 8px; |
| } |
| } |
| } |
| } |
| |
| @media screen and (max-width: @screen-xl) { |
| .exception { |
| .imgBlock { |
| padding-right: 88px; |
| } |
| } |
| } |
| |
| @media screen and (max-width: @screen-sm) { |
| .exception { |
| display: block; |
| text-align: center; |
| .imgBlock { |
| padding-right: 0; |
| margin: 0 auto 24px; |
| } |
| } |
| } |
| |
| @media screen and (max-width: @screen-xs) { |
| .exception { |
| .imgBlock { |
| margin-bottom: -24px; |
| overflow: hidden; |
| } |
| } |
| } |