File tree 3 files changed +17
-28
lines changed
3 files changed +17
-28
lines changed Original file line number Diff line number Diff line change 1
1
import { projectsDetails } from "./descriptions/projectsDetails" ;
2
- import ProjectCard from "./ProjectCard" ;
2
+ import ProjectCard from "./ProjectCard"
3
3
4
4
export default function AllProjects ( ) {
5
5
return (
6
- < div
7
- className = "container flex-full-centered"
8
- style = { { marginBottom : "var(--ifm-spacing-3xl)" } }
9
- >
10
- < ul className = "row --no-gutters" >
11
- { projectsDetails . map ( ( project , index ) => {
12
- return (
13
- < li
14
- className = "projects-list"
15
- key = { index }
16
-
17
- >
18
- < div className = "col" style = { { paddingLeft : "0" } } >
19
- < ProjectCard project = { project } />
20
- </ div >
21
- </ li >
22
- ) ;
6
+ < div className = "container flex-full-centered" style = { { marginBottom : "var(--ifm-spacing-3xl)" } } >
7
+ < ul className = "row" >
8
+ { projectsDetails . map ( ( project , index ) => {
9
+ return (
10
+ < li className = "projects-list" key = { index } >
11
+ < div className = "col" >
12
+ < ProjectCard project = { project } />
13
+ </ div >
14
+ </ li >
15
+ )
23
16
} ) }
24
17
</ ul >
25
18
</ div >
26
- ) ;
19
+ )
27
20
}
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ div .project_title {
16
16
}
17
17
18
18
.project_description {
19
- padding : var (--ifm-spacing-sm ) var (--ifm-spacing-xl );
19
+ padding : var (--ifm-spacing-md ) var (--ifm-spacing-xl );
20
+ text-align : center;
20
21
}
21
22
22
23
.project_description p {
@@ -50,7 +51,7 @@ div .project_title {
50
51
51
52
.col_project_text p {
52
53
background-color : white;
53
- text-align : center ;
54
+ text-align : justify ;
54
55
}
55
56
56
57
.project_picture_jupyter {
@@ -95,7 +96,7 @@ div .project_title {
95
96
}
96
97
97
98
.header_text p {
98
- text-align : justify ;
99
+ text-align : center ;
99
100
}
100
101
101
102
.project_text {
Original file line number Diff line number Diff line change 94
94
padding-left : 0 ;
95
95
}
96
96
97
- ul .row {
98
- padding-left : 0 ;
99
- }
100
-
101
97
.container {
102
98
max-width : none;
103
99
padding : 0 ;
@@ -220,7 +216,7 @@ ul.row {
220
216
221
217
li {
222
218
font-size : 14px ;
223
- margin-left : 14 px ;
219
+ margin-left : 24 px ;
224
220
}
225
221
226
222
.blue-banner-container {
@@ -641,7 +637,6 @@ a.menu__link:active {
641
637
.cards-list {
642
638
list-style-type : none;
643
639
padding : none;
644
- margin-left : 0 ;
645
640
}
646
641
647
642
.projects-list {
You can’t perform that action at this time.
0 commit comments