summaryrefslogtreecommitdiff
path: root/src/routes/styles.scss
blob: 0fe7ab6cb7c2659c0f29819ce70049943950508d (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
@import "@fontsource-variable/inter";

body {
  font-family:
    'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.2em;
  color: #150129;
}

h1 {
  width: 100%;
  font-size-adjust: 0.7;
  margin-bottom: 2px;
}

page {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  height: 0;
  padding: 0 0 calc(100% * 495 / 2048) 0;
}

.permalink {
  color: #150129;
}

.subheader {
  font-size: 0.9em;
  margin-top: 0px;
}


@media (prefers-color-scheme: dark) {
    /* If the operating system is using dark mode, then apply this CSS */
    body {
      background: #292b33;
      color: #f5f5f5
    }
    a:link:not(.permalink),a:visited:not(.permalink) {
	color: #b9cffb;
    }
}

a:link:not(.permalink),a:visited:not(.permalink) { color: #2160ad; }