aboutsummaryrefslogtreecommitdiff
path: root/style/main.scss
blob: 2cf2bed98e5c1c8a516c61132591ea8709e0f31b (plain)
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
---
---

$page-width: 840px;
$logo-width: 150px;
$logo-width-small: 100px;
$page-padding-between: 40px;

@import 'normalize';
@import 'header';
@import 'markdown';
@import 'responsive';
@import 'random-project';
@import 'credly-widget';

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto Mono', monospace;
  margin: 16px;
  color: #212121;
  word-wrap: break-word;
}

.page main, footer {
  padding-left: $logo-width + $page-padding-between;
  max-width: $page-width;
  margin: 0 auto;
}

.page main {
  margin-top: 32px;
  line-height: 20px;
}

footer {
  color: #757575;
  font-style: italic;
  padding-top: 16px;
  padding-bottom: 16px;

  a {
    color: inherit;
    &:hover, &:focus {
      background-color: inherit;
      text-decoration: underline;
    }
  }
}

a {
  text-decoration: none;
  color: #1a0dab;
  outline: none;

  &:hover, &:focus {
    background-color: #ececec;
  }
}

.grow {
  flex-grow: 1;
}