File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,9 +25,12 @@ const DownloadLinks = styled.div`
2525
2626 @media ${ Device . mobile } {
2727 flex-direction: row;
28+ flex-wrap: wrap;
29+ justify-content: center;
2830
2931 a {
3032 padding: 0;
33+ max-width: 100%;
3134 }
3235
3336 gap: 0.5em;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const SliderLink = styled(AnchorLink)`
4141 font-size: ${ fontSize . small } ;
4242 position: relative;
4343 bottom: 0;
44- color: ${ color . text . secondary } ;
44+ color: ${ color . text . primary } ;
4545 height: 100%;
4646 target: string;
4747` ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const Image = styled.div`
3030` ;
3131
3232const Element = styled . div `
33- opacity: 0.6 ;
33+ opacity: 1 ;
3434` ;
3535
3636interface IFriends {
Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ const BoldText = styled(Text)`
2929` ;
3030
3131const UlSection = styled . ul `
32- color: ${ color . text . secondary } ;
32+ color: ${ color . text . primary } ;
3333 font-size: ${ fontSize . small } ;
34+ font-weight: 700;
3435 margin: ${ margin . small } ;
3536 padding: ${ padding . small } ;
3637` ;
Original file line number Diff line number Diff line change @@ -9,8 +9,14 @@ export type ArticleStyles = {
99} ;
1010
1111const ArticleCoverWrapper = styled . div < ArticleStyles > `
12- .gatsby-image-wrapper {
13- height: ${ ( p ) => ( p . fullSize ? undefined : '16em' ) } ;
12+ width: 100%;
13+ max-width: 700px;
14+ margin-bottom: 2rem;
15+
16+ img {
17+ width: 100%;
18+ height: auto !important;
19+ object-fit: contain !important;
1420 }
1521` ;
1622
@@ -25,7 +31,13 @@ export const ArticleImage: React.FC<ArticleStyles & IResponsiveImage> = ({ image
2531 relativePath: url
2632 url
2733 id
28- gatsbyImageData(layout: CONSTRAINED, placeholder: BLURRED)
34+ gatsbyImageData(
35+ layout: CONSTRAINED
36+ placeholder: BLURRED
37+ width: 1200
38+ quality: 85
39+ formats: [AUTO, WEBP]
40+ )
2941 }
3042 }
3143 }
Original file line number Diff line number Diff line change @@ -25,14 +25,24 @@ import { Script } from 'gatsby';
2525
2626const ContenttWrapper = styled . div `
2727 img {
28- max-width: 100%;
28+ display: block;
29+ max-width: 100% !important;
30+ height: auto !important;
31+ margin: 1.5rem auto !important;
2932 }
3033
31- blockquote{
32- margin: 0;
33- border-left: 3px solid #d8152f;
34- padding-left: 1rem;
34+ figure img {
35+ max-width: 700px;
36+ width: 100%;
3537 }
38+
39+ blockquote {
40+ margin: 1.5rem 0;
41+ padding-left: 1rem;
42+ border-left: 4px solid #d8152f;
43+ font-style: italic;
44+ color: #444;
45+ }
3646` ;
3747
3848const Content = ( props : any ) => {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export const Text = styled.p<IText>`
3636 padding: 0;
3737 font-family: 'Merriweather';
3838 font-size: ${ fontSize . small } ;
39- color: ${ color . text . secondary } ;
39+ color: ${ color . text . primary } ;
4040 line-height: ${ lineHeight . normal } ;
4141 max-width: ${ ( { styles } ) => evalPx ( styles ?. maxWidth ) } ;
4242
Original file line number Diff line number Diff line change @@ -26,13 +26,15 @@ body {
2626}
2727
2828p {
29- line-height : 22px ;
29+ line-height : 1.6 ;
30+ font-weight : 400 ;
31+ text-rendering : optimizeLegibility;
32+ word-break : break-word;
3033}
3134
3235b ,
3336strong {
34- font-weight : inherit;
35- font-weight : bolder;
37+ font-weight : 700 ;
3638}
3739
3840dfn {
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ export const color = {
99 red : '#D8152F' ,
1010 white : '#ffffff' ,
1111 search : '#E5E5E5' ,
12- transparencyGrey : '#e5e5e5d8 ' ,
12+ transparencyGrey : '#eceaead0 ' ,
1313 transparencyRed : '#d8152fd8' ,
1414 } ,
1515 text : {
16- primary : '#333333 ' ,
17- secondary : '#5B5B5B ' ,
16+ primary : '#222222 ' ,
17+ secondary : '#3A3A3A ' ,
1818 light : '#ffffff' ,
1919 dark : '#000000' ,
2020 red : '#D8152F' ,
You can’t perform that action at this time.
0 commit comments