summaryrefslogtreecommitdiffstats
path: root/assets/scss/web/_education.scss
blob: fb84547691336d82d3b86d53713b07d65a9161b3 (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
.education {
  // add empty space to the end of page (as big as the header)
  margin-bottom: 150px;
}

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

.education__degree {
  min-width: 100%;
  align-self: center;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.education__university,
.education__gpa,
.education__duration,
.education__location {
  min-width: 50%;
  margin: 0;
}

.education__university {
  text-align: left;
  align-self: flex-start;
}

.education__gpa {
  order: 3;
  text-align: left;
  align-self: flex-start;
  @media (max-width: 780px) {
    order: 2;
  }
}

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

.education__location {
  order: 4;
  text-align: right;
  align-self: flex-end;
  @media (max-width: 780px) {
    text-align: left;
    align-self: flex-start;
  }
}