robin/maivi

a tiny cute lua web framework

git clone https://git.robinwobin.dev/robin/maivi

robindocs: wip897859d

push-srxvuswpkqxx
1.5 KiB72 linesraw
1@layer base {
2  :root {
3    --font-sans-serif--system: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
4    --font-serif--system: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
5    --font-mono--system: Menlo, Consolas, Monaco, Adwaita Mono, Liberation Mono, Lucida Console, monospace;
6    --font-sans-serif: 'Maple Mono', var(--font-sans-serif--system);
7    --font-mono: 'Maple Mono', var(--font-mono--system);
8  }
9
10  html,
11  body {
12    color: var(--text);
13    font-family: var(--font-sans-serif);
14    font-size: 16px;
15  }
16
17  #root-bg {
18    width: 0;
19    height: 0;
20
21    &::before {
22      content: '';
23      position: fixed;
24      inset: 0;
25      pointer-events: none;
26      z-index: 0;
27      isolation: isolate;
28
29      background-color: var(--base);
30    }
31  }
32
33  #root {
34    z-index: 1;
35    isolation: isolate;
36  }
37
38  #page {
39    overflow-y: scroll;
40  }
41
42  a {
43    color: var(--accent);
44    text-decoration: none;
45
46    &:visited {
47      color: var(--accent);
48    }
49
50    &:hover {
51      text-decoration: underline wavy;
52    }
53  }
54
55  pre,
56  code {
57    font-family: var(--font-code), ui-monospace, monospace;
58    font-variant-ligatures: none;
59  }
60
61  img,
62  picture,
63  svg,
64  video,
65  canvas {
66    user-select: none;
67  }
68
69  ::selection {
70    background-color: var(--surface1);
71  }
72}