|
| 1 | +importstyled,{keyframes}from'styled-components' |
| 2 | + |
| 3 | +import{Img}from'../..' |
| 4 | +import{theme}from'../../../utils' |
| 5 | + |
| 6 | +exportconstContainer=styled.div` |
| 7 | + display: flex; |
| 8 | + justify-content: space-between; |
| 9 | + align-items: center; |
| 10 | + flex-direction: column; |
| 11 | + height: 100vh; |
| 12 | + background:${theme('banner.bg')}; |
| 13 | + background-image: url('https://www.transparenttextures.com/patterns/transparent-square-tiles.png'); |
| 14 | + border-top: 4px solid; |
| 15 | + border-top-color:${theme('preview.topLine')}; |
| 16 | +` |
| 17 | + |
| 18 | +exportconstCPSMdLogoWrapper=styled.div` |
| 19 | + align-self: center; |
| 20 | + margin-right: -5px; |
| 21 | + margin-top: 5px; |
| 22 | +` |
| 23 | +exportconstCPSMdLogo=styled(Img)` |
| 24 | + width: 200px; |
| 25 | +` |
| 26 | +exportconstIconsWrapper=styled.div` |
| 27 | + display: flex; |
| 28 | + justify-content: center; |
| 29 | +` |
| 30 | + |
| 31 | +exportconstTextWrapper=styled.div` |
| 32 | + display: flex; |
| 33 | + flex-direction: column; |
| 34 | + align-items: center; |
| 35 | + margin-top: 15px; |
| 36 | +` |
| 37 | +exportconstHintTitle=styled.div` |
| 38 | + color:${theme('thread.articleTitle')}; |
| 39 | + font-size: 1.2rem; |
| 40 | +` |
| 41 | +exportconstHintDesc=styled.div` |
| 42 | + color:${theme('thread.articleDigest')}; |
| 43 | + margin-top: 4px; |
| 44 | +` |
| 45 | + |
| 46 | +// fill: ${theme('font')}; |
| 47 | +exportconstCPSLogoIcon=styled(Img)` |
| 48 | + width: 53px; |
| 49 | + height: 53px; |
| 50 | + margin-top: -5px; |
| 51 | +` |
| 52 | + |
| 53 | +constrotate360=keyframes` |
| 54 | + from { |
| 55 | + transform: rotate(0deg); |
| 56 | + } |
| 57 | +
|
| 58 | + to { |
| 59 | + transform: rotate(360deg); |
| 60 | + } |
| 61 | +` |
| 62 | + |
| 63 | +exportconstLinkIcon=styled(Img)` |
| 64 | + fill: #6e967f; |
| 65 | + width: 23px; |
| 66 | + height: 23px; |
| 67 | + margin-left: 25px; |
| 68 | + margin-right: 25px; |
| 69 | + margin-top: 16px; |
| 70 | + animation:${rotate360} 2s linear infinite; |
| 71 | +` |
| 72 | + |
| 73 | +exportconstGithubLogoIcon=styled(Img)` |
| 74 | + fill:${theme('sidebar.bg')}; |
| 75 | + width: 50px; |
| 76 | + height: 50px; |
| 77 | +` |
| 78 | + |
| 79 | +exportconstHintWrapper=styled.div` |
| 80 | + display: flex; |
| 81 | + flex-direction: column; |
| 82 | + margin-top: -15%; |
| 83 | + color:${theme('banner.title')}; |
| 84 | +` |
| 85 | + |
| 86 | +exportconstFooterWrapper=styled.div` |
| 87 | + color:${theme('thread.articleDigest')}; |
| 88 | + margin-bottom: 10px; |
| 89 | +` |
| 90 | + |
| 91 | +exportconstIssueLink=styled.a` |
| 92 | + text-decoration: underline; |
| 93 | + font-weight: bolder; |
| 94 | + transition: color 0.3s; |
| 95 | + color:${theme('thread.articleDigest')}; |
| 96 | +
|
| 97 | + &:hover { |
| 98 | + color:${theme('banner.title')}; |
| 99 | + cursor: pointer; |
| 100 | + } |
| 101 | +` |