aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/skeleton.css
blob: bd68c93b70f97891b64ebea083285be8b8209f80 (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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
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%;
  overflow-y: scroll;
}

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;
  }
}

ul.sideNavigation {
  border: 1px solid #3334;
  border-radius: 8px;
  margin: 16px;
  padding: 0;
  background: #f8e9ff5e;
  list-style: none;
  > li a {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    justify-content: start;
    padding: 16px;
    gap: 16px;
    color: inherit;
    text-decoration: none;
  }
  > li:not(:last-child) {
    border-bottom: 1px solid #3334;
  }
}

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;
}