joeni

classes.scss

1
// See https://css-tricks.com/snippets/css/a-guide-to-flexbox/ for interesting information
2
div.flex-container { // I hate that I actually have to put divs in my code just for this...
3
    display: flex;
4
    flex-direction: row;
5
    flex-wrap: wrap;
6
    justify-content: space-between; // Not too sure about this one, experiment if you want to
7
    align-items: stretch;
8
    //align-content: space-around;
9
}
10
11
.flex-items {
12
    color: white;
13
    font-family: ubuntu;
14
    text-decoration: none;
15
    flex-grow: 1;
16
    margin: .2em;
17
    text-decoration-style: none;
18
    padding: 1em;
19
20
    &:hover {
21
        text-decoration: underline solid white;
22
    }
23
}
24
25
a.course-link {
26
    text-decoration: underline dotted $uhasselt-color;
27
    color: $uhasselt-color;
28
    &:hover {
29
        font-weight: bold;
30
        text-transform: uppercase;
31
    }
32
    @media print {
33
        text-decoration: none;
34
        color: black;
35
    }
36
}
37
38
div.flex-item {
39
    padding: 1em;
40
    margin: .2em;
41
    border-width: .4em;
42
    border-style: solid;
43
    border-color: $uhasselt-color;
44
}
45