~cadence/Frames

ref: e2f05926dcd9d82b1207431e4874afa482196755 Frames/sass/includes/base.sass -rw-r--r-- 1.3 KiB
e2f05926Cadence Ember Improve font stack for macOS 1 year, 10 months ago
                                                                                
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
@use "themes" as *

body
  padding: 20px
  margin: 0
  box-sizing: border-box
  font-family: Menlo, Inconsolata, Consolas, Monaco, monospace
  font-size: 18px
  line-height: 1.45
  min-height: 100vh
  @include theme("background-color", "background")
  @include theme("color", "text")

footer
  font-size: 15px
  margin: 40px 0

a
  @include theme("color", "text-link")

code
  @include theme("background", "background-highlight")
  padding: 2px 4px
  border-radius: 4px

input, button
  font-size: 16px
  font-family: inherit
  padding: 6px
  margin: 0px
  @include theme("background", "background-field")
  @include theme("color", "text-field")

input, textarea
  border-radius: 3px

input
  border: 1px solid
  @include theme("border-color", "edge-field")
  width: auto
  min-width: auto
  flex: 1
  margin-left: 20px

textarea
  width: 100%
  height: 100px
  resize: vertical
  padding: 8px
  font-size: 16px
  @include theme("color", "text-field")
  @include theme("background", "background-field")
  border: 1px solid
  @include theme("border-color", "edge-field")

fieldset
  border: 1px solid
  @include theme("border-color", "edge-fieldset")
  padding: 0px 24px 24px

summary
  cursor: pointer

label
  display: flex
  align-items: baseline
  justify-content: space-between
  margin: 16px 0

ul
  @include theme("color", "text-dim")