Commit b23e038 1 parent b5ab5e8 commit b23e038 Copy full SHA for b23e038
File tree 5 files changed +30
-18
lines changed
5 files changed +30
-18
lines changed Original file line number Diff line number Diff line change 68
68
69
69
h3 {
70
70
border-bottom : 0.1rem solid # ccc ;
71
- margin : 1 rem 0 ;
71
+ margin : 0.7 rem auto ;
72
72
}
73
73
74
74
h2 ,
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ export default class Education extends Component {
23
23
const academyCourses = education . academyCourses . map ( ( entry , i ) => {
24
24
const info = isVerbose
25
25
? entry . info . map ( ( info , i ) => (
26
- < >
27
- < span > { info } </ span >
28
- </ >
29
- ) )
26
+ < >
27
+ < span > { info } </ span >
28
+ </ >
29
+ ) )
30
30
: null ;
31
31
32
32
const date = isVerbose ? (
@@ -40,7 +40,7 @@ export default class Education extends Component {
40
40
< li className = 'academy-course' key = { i } >
41
41
< span > { entry . title } </ span >
42
42
43
- < span className = 'separator-highlight' > @ </ span >
43
+ < span className = 'separator-highlight' > @ </ span >
44
44
< span >
45
45
{ entry . school } – { entry . location }
46
46
</ span >
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ h2#education {
4
4
.flex-container {
5
5
display : flex;
6
6
flex-wrap : wrap;
7
- gap : 1.5 rem ;
7
+ gap : 1 rem ;
8
8
}
9
9
.education section {
10
- flex : 1 0 auto;
10
+ flex : 1 1 auto;
11
11
}
12
12
.education section : last-child {
13
- flex-basis : 25 % ;
13
+ flex-basis : 33 % ;
14
14
}
Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ export default class Experience extends Component {
42
42
43
43
return (
44
44
< div className = 'xp' key = { i } >
45
- < h3 >
45
+ < h3 className = 'grid-container' >
46
46
< div className = 'job-data' >
47
47
< FontAwesomeIcon icon = { faLaptopCode } fixedWidth />
48
48
< span dangerouslySetInnerHTML = { { __html : positions } } />
49
- < span className = 'separator-highlight' > @ </ span >
49
+ < span className = 'separator-highlight' > @ </ span >
50
50
< span className = 'org' > { entry . company } </ span >
51
51
</ div >
52
52
< div className = 'period' >
Original file line number Diff line number Diff line change 18
18
grid-gap : 1rem ;
19
19
}
20
20
21
+ .xp .period {
22
+ text-align : right;
23
+ }
24
+
25
+ @media (max-width : 895px ) {
26
+ .xp .grid-container {
27
+ grid-template-columns : none;
28
+ grid-auto-flow : row;
29
+ grid-gap : 0.1rem ;
30
+ }
31
+ .xp .period {
32
+ text-align : left;
33
+ margin-left : 0 ;
34
+ }
35
+ }
36
+
21
37
.xp article {
22
38
margin : 0.5rem auto;
23
39
}
30
46
.separator-highlight {
31
47
color : var (--primary-blue );
32
48
font-weight : bold;
33
- margin : 0 0.3 rem ;
49
+ margin : 0 0.1 rem ;
34
50
}
35
51
.xp .job-data ,
36
52
.xp .period {
37
53
display : inline-block;
38
- }
39
-
40
- .xp .period {
41
- float : right;
42
- text-align : right;
43
- margin-left : 0.2rem ;
54
+ text-indent : -1.5rem ;
55
+ padding-left : 1.5rem ;
44
56
}
45
57
46
58
.volunteer .xp .period {
You can’t perform that action at this time.
0 commit comments