summaryrefslogtreecommitdiffstats
path: root/assets/scss/web/_work.scss
blob: 958859e68b8cc73407139459504afd789b663f44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.work {
}

.work__header {
}

.work__experience {
}

.work__experience {
  &:after {
    display: flex;
    content: "";
    border-bottom: 1px solid;
    margin: auto;
    max-width: 30%;
  }
  &:last-of-type:after {
    // remove the extra horizontal line after the last work__experience
    display: none;
  }
}

.job-position {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  @media screen and (max-width: 780px) {
    flex-flow: column wrap;
  }
}

.job-position__company,
.job-position__title,
.job-position__duration,
.job-position__location {
  min-width: 50%;
}

.job-position__company {
  order: 0;
  margin-bottom: 0;
  font-size: 1.4em;
}

.job-position__title {
  order: 2;
  @media screen and (max-width: 780px) {
    order: 1;
  }
}

.job-position__duration {
  order: 1;
  text-align: right;
  align-self: flex-end;
  @media screen and (max-width: 780px) {
    order: 2;
    text-align: left;
    align-self: flex-start;
  }
}

.job-position__location {
  order: 3;
  text-align: right;
  align-self: flex-end;
  @media screen and (max-width: 780px) {
    text-align: left;
    align-self: flex-start;
  }
}

.note {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

.tasks {
  margin-top: 0.4em;
}