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