summaryrefslogtreecommitdiffstats
path: root/app/stylesheets/web/education.styl
blob: cf54f19a716105eaf3c62386f9c34140b2b0cb5a (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
.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 screen and (max-width: 780px) {
    flex-flow: column wrap
  }
}

.education__degree {
  min-width: 100%
  align-self: center
  font-size: 1.1em
  margin-bottom: 0
}

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

.education__university {
}

.education__gpa {
  order: 3
  @media screen and (max-width: 780px) {
    order: 2
  }
}

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

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