aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/skeleton.css
blob: a7b7009a37fab06ba9233794da63f7bb121a28d7 (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
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
html,
body {
  background: #fdf5ff;
  color: #0f070f;
  margin: 0;
  padding: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12pt;
  display: grid;
  grid-template-rows: max-content 1fr;
  justify-items: center;
  min-height: 100vh;
  width: 100%;
}

header {
  background: #3b005e;
  color: white;
  position: sticky;
  top: 0;
  padding: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

#siteTitle {
  font-weight: bold;
}

nav {
  width: min(800px, 100%);
  height: 32px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  align-items: center;

  > * {
    margin: 0 8px;
  }

  > :last-child {
    display: grid;
    grid-template-columns: 1fr max-content;
    align-items: center;
    justify-self: end;
    gap: 8px;
  }

  ul {
    list-style: none;
    display: inline;
    padding: 0;
    > li {
      display: inline;
      > .navlink {
        border-radius: 4px;
        background: #fff3;
        padding: 4px 8px;
        color: white;
        text-decoration: none;
        &.disabled {
          opacity: 0.6;
        }
      }
    }
  }
  img.avatar {
    width: 32px;
    aspect-ratio: 1;
  }
}

main {
  width: min(1300px, 100%);
  display: grid;
  grid-template-columns: 1fr min(700px, 100%) 1fr;
  height: 100%;
  #leftPane,
  #rightPane {
    position: sticky;
    top: 56px;
    height: max-content;
  }
  @media (width < 1300px) {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
}

h1 {
  margin: 32px 16px;
  padding: 0;
}

hr {
  border: none;
  border-top: 1px solid #5554;
  margin: 0px 16px;
}

.placeholder {
  font-style: italic;
  color: #555;
  text-align: center;
}