File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ <h1>Workflow</h1>
2020 < main >
2121 < div class ="firstrow ">
2222 < article >
23- < img src ="Readme.png " alt ="Readme file example " />
23+ < img src ="Readme.png " alt ="Readme file example " id =" readmeimg " />
2424 < h2 > README files</ h2 >
2525 < p >
2626 A README file explains a project to other developers and
Original file line number Diff line number Diff line change @@ -14,19 +14,21 @@ body {
1414 color : var (--ink );
1515 font : var (--font );
1616 display : block;
17- margin : 10px ;
17+ margin : 0 auto;
18+ background-color : rgb (213 , 230 , 224 );
19+ max-width : 1200px ;
1820}
1921h1 {
22+ font-size : 90px ;
2023 text-align : center;
24+ color : rgb (47 , 16 , 77 );
2125 padding : var (--space );
2226}
2327h2 , p {
2428 margin : var (--space );
2529}
26- main {
27- max-width : 900px ;
28- margin : 0 auto calc (var (--space ) * 4 ) auto;
29- }
30+
31+
3032
3133a {
3234 display : block;
3537 border : var (--line );
3638 max-width : fit-content;
3739 border-radius : 5px ;
40+ background-color : rgb (221 , 149 , 191 );
41+ color : black;
42+ text-decoration : none;
3843}
3944img ,
4045svg {
@@ -56,13 +61,31 @@ article {
5661 padding-bottom : var (--space );
5762 text-align : left;
5863 gap : 20px ;
64+ background-color : rgb (233 , 210 , 243 );
5965}
6066.firstrow {
6167 display : grid;
6268 grid-template-columns : 1fr ;
69+ padding : 0 0 20px ;
70+
6371}
6472.secondrow {
6573 display : grid;
6674 grid-template-columns : 1fr 1fr ;
6775 gap : 20px ;
76+ }
77+ # readmeimg {
78+ display : block;
79+ margin : 0 auto;
80+ width : 500px ;
81+ }
82+ @media (max-width : 800px ){
83+ .firstrow , .secondrow {
84+ display : grid;
85+ grid-template-columns : 1fr ;
86+ gap : 20px ;
87+ }
88+ # readmeimg {
89+ width : 100% ;
90+ }
6891}
You can’t perform that action at this time.
0 commit comments