summaryrefslogtreecommitdiff
path: root/css/resume.css
blob: daeeaa67c08b2bf52e637c760bbda03ef7a32e26 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
@import url("fonts.css");

body {
    font-family: Alegreya, serif;
    background-color: #FFF;
    color: #333;
    max-width: 40em;
    margin: 1em auto;
    padding: 0 1em;
    border: 1px solid #000;
    box-shadow: -1rem 1rem 0 0 rgba(0, 0, 0, 0.1);
}

a, a:visited {
    color: #1455FB;
    text-decoration: none;
}

h1, h2, h3, b {
    color: #000;
}

h2 {
    margin-bottom: 0;
}

h3 {
    margin-bottom: 0.5em;
}

ul {
    margin-top: 0;
}

#blurb {
    font-style: normal;
}

#contact {
    list-style: none;
}

#pdf {
    font-size: 0.5em;
}

.title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    list-style-type: circle;
    margin-bottom: 0;
    margin-top: 0;
}

.print {
    display: none;
}

/* h2::after {
    content: "";
    width: 100px;
    border-top: 2px solid #333;
} */

@media screen and (max-width: 700px) {
    /* todo: fix lumping of contact section on the se/seii size */
    body {
        max-width: 80vw;
        font-size: 0.5em;
    }
}

@page {
    size: auto;
    margin: 2mm;
}

.text::after {
    content: ": " attr(href);
}

.print {
    display: block;
}

@media print {
    body {
        background-color: #FFF;
        color: #000;
        /* border: none;
        box-shadow: none; */
        font-size: 0.80em;
    }
    a, a:visited, hr {
        color: #000;
    }
    .text::after {
        content: ": " attr(href);
    }
    .print {
        display: block;
    }
    #pdf {
        display: none;
    }

    /* fit resume on one page when printing in firefox */
    @-moz-document url-prefix() {
        h1 {
            margin-bottom: 0.1em;
        }
        h2 {
            margin-top: 0.5em;
        }
    }
}