This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +26
-12
lines changed Expand file tree Collapse file tree 7 files changed +26
-12
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ const GlobalStyle = createGlobalStyle`
139139 }
140140
141141 #nprogress .spinner {
142- top: 10px !important;
142+ top: 8px !important;
143143 }
144144
145145 // masonry cards styles
Original file line number Diff line number Diff line change 99 ClassicWrapper ,
1010 HolyGrailWrapper ,
1111 BeianLink ,
12+ PowerByWrapper ,
13+ PowerByLink ,
1214} from '../styles/desktop_view/bottom_info'
1315
1416type TProps = {
@@ -24,6 +26,12 @@ const BottomInfo: FC<TProps> = ({ metric, layout }) => {
2426 < BeianLink href = "http://beian.miit.gov.cn" >
2527 蜀ICP备17043722号-4
2628 </ BeianLink >
29+ < PowerByWrapper >
30+ Powered by
31+ < PowerByLink href = "http://github.com/groupher" >
32+ Groupher
33+ </ PowerByLink >
34+ </ PowerByWrapper >
2735 </ InnerWrapper >
2836 </ RawWrapper >
2937 )
@@ -37,6 +45,10 @@ const BottomInfo: FC<TProps> = ({ metric, layout }) => {
3745 < BeianLink href = "http://beian.miit.gov.cn" >
3846 蜀ICP备17043722号-4
3947 </ BeianLink >
48+ < PowerByWrapper >
49+ Powered by
50+ < PowerByLink href = "http://github.com/groupher" > Groupher</ PowerByLink >
51+ </ PowerByWrapper >
4052 </ InnerWrapper >
4153 </ Wrapper >
4254 )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const General: FC<TProps> = ({ title }) => {
1515 return (
1616 < Wrapper noBottomBorder >
1717 < Logo />
18- < BlinkCursor duration = { 2 } />
18+ < BlinkCursor duration = { 2 } top = { 1 } />
1919 < CommunityTitle > { title } </ CommunityTitle >
2020 </ Wrapper >
2121 )
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ const Wrapper = styled.div<{ metric: TMetric }>`
1919`
2020export const RawWrapper = styled ( Wrapper ) ``
2121export const ClassicWrapper = styled ( Wrapper ) `
22- padding-left: 24px;
22+ padding-left: 22px;
23+ padding-right: 60px;
2324 ${ css . media . laptopM `
2425 padding-left: 18px;
2526 ` }
@@ -31,14 +32,11 @@ export const HolyGrailWrapper = styled(Wrapper)`
3132 padding-left: 18px;
3233 ` }
3334`
34-
3535export const InnerWrapper = styled . div `
36- ${ css . flexColumn ( 'justify-start' ) } ;
37- color: ${ theme ( 'thread.articleDigest' ) } ;
36+ ${ css . flex ( 'justify-between' ) } ;
3837 width: 100%;
3938 margin-right: 20px;
4039`
41-
4240export const BeianLink = styled . a `
4341 color: ${ theme ( 'footer.text' ) } ;
4442 text-decoration: none;
@@ -49,7 +47,11 @@ export const BeianLink = styled.a`
4947 color: ${ theme ( 'footer.hover' ) } ;
5048 }
5149`
52- export const CompanyLink = styled ( BeianLink ) `
53- font-size: 12px;
54- margin-bottom: 2px;
50+ export const PowerByWrapper = styled . div `
51+ color: ${ theme ( 'footer.text' ) } ;
52+ ${ css . flex ( 'align-center' ) } ;
53+ `
54+ export const PowerByLink = styled ( BeianLink ) `
55+ margin-right: 4px;
56+ margin-left: 6px;
5557`
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export const InfoBar = styled(DefaultInfoBar)``
1616export const Logo = styled ( DefaultLogo ) `
1717 ${ css . size ( 16 ) } ;
1818 margin-right: 5px;
19- margin-top: -4px ;
19+ margin-top: -1px ;
2020`
2121export const ArticleTitle = styled ( DefaultSiteTitle ) `
2222 color: ${ theme ( 'footer.title' ) } ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export const InfoBar = styled.div`
2424`
2525export const Logo = styled ( CommunityFaceLogo ) `
2626 ${ css . size ( 18 ) } ;
27- margin-top: -4px ;
27+ margin-top: -1 ;
2828 margin-left: 2px;
2929 cursor: pointer;
3030`
You can’t perform that action at this time.
0 commit comments