summaryrefslogtreecommitdiff
path: root/index.html
blob: e4982d3ba1ea00f71642c6835d1ede60c5a577fb (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
<!DOCTYPE html>
<html lang="en">
<head>
  <title>scattered thoughts</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="icon" type="image/jpg" href="https://toki.la/assets/light.png" />
  <link rel="stylesheet" href="https://toki.la/css/style.css">
  <style>
    main {
      background: white;
      width: fit-content;
      padding: 10px;
      text-align: center;
      border: 4px solid black;
      h1 {
        margin: 0;
      }
      margin-top: 2em;
      position: absolute;
      top: 40vw;
      left: 20vw;
      @media (max-width: 300px) {
        position: static;
        margin: 20em auto;
      }
    }

    body {
      background-image: url("Hildegard_von_Bingen.jpg");
      background-repeat: no-repeat;
      background-size: cover;
      background-position: 0 30%;
      @media (max-aspect-ratio: 31/32) {
        background-position: top;
      }
      @media (max-aspect-ratio: 69/101) {
        background-size: cover;
        background-size: auto 100vh;
      }
    }
  </style>
</head>

<body>
  <main>
    <h1>scattered thoughts</h1>
    <nav>
      <a href="/wiki/mathematics">mathematics</a>
      <a href="/wiki/linguistics">linguistics</a>
      <a href="/wiki/computation">computation</a>
    </nav>
  </main>
</body>
</html>