diff options
Diffstat (limited to 'src/_general.scss')
-rw-r--r-- | src/_general.scss | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/src/_general.scss b/src/_general.scss deleted file mode 100644 index 54df879..0000000 --- a/src/_general.scss +++ /dev/null | |||
@@ -1,87 +0,0 @@ | |||
1 | @use 'iro-sass/src/index' as iro; | ||
2 | @use 'functions' as fn; | ||
3 | |||
4 | html, | ||
5 | body { | ||
6 | height: 100%; | ||
7 | } | ||
8 | |||
9 | body { | ||
10 | @include fn.set-font(--standard, (--size: fn.dim(--font-size --md))); | ||
11 | |||
12 | margin: 0; | ||
13 | padding: 0; | ||
14 | background-color: fn.color(--bg); | ||
15 | color: fn.color(--fg); | ||
16 | } | ||
17 | |||
18 | h1, | ||
19 | h2, | ||
20 | h3, | ||
21 | h4, | ||
22 | h5, | ||
23 | h6 { | ||
24 | margin: 0; | ||
25 | font-size: fn.dim(--font-size --md); | ||
26 | font-weight: normal; | ||
27 | } | ||
28 | |||
29 | p { | ||
30 | margin-top: fn.dim(--paragraph --margin-top); | ||
31 | margin-bottom: 0; | ||
32 | |||
33 | &:empty { | ||
34 | display: none; | ||
35 | } | ||
36 | } | ||
37 | |||
38 | ul, | ||
39 | ol { | ||
40 | margin: fn.dim(--paragraph --margin-top) 0 0; | ||
41 | padding-left: fn.dim(--list --indent); | ||
42 | } | ||
43 | |||
44 | :focus { | ||
45 | outline: 0; | ||
46 | } | ||
47 | |||
48 | :link, | ||
49 | :visited { | ||
50 | color: currentColor; | ||
51 | text-decoration: none; | ||
52 | } | ||
53 | |||
54 | |||
55 | button, | ||
56 | input, | ||
57 | textarea { | ||
58 | box-sizing: content-box; | ||
59 | margin: 0; | ||
60 | padding: 0; | ||
61 | border: 0; | ||
62 | background: none; | ||
63 | color: currentColor; | ||
64 | font-family: inherit; | ||
65 | font-size: 1em; | ||
66 | font-style: inherit; | ||
67 | font-weight: inherit; | ||
68 | line-height: inherit; | ||
69 | text-align: inherit; | ||
70 | text-transform: inherit; | ||
71 | appearance: none; | ||
72 | |||
73 | &::-moz-focus-inner { | ||
74 | border: 0; | ||
75 | } | ||
76 | } | ||
77 | |||
78 | ::selection { | ||
79 | background: fn.color(--selection --bg); | ||
80 | color: fn.color(--selection --fg); | ||
81 | } | ||
82 | |||
83 | img { | ||
84 | &::selection { | ||
85 | background: fn.color(--selection --bg-img); | ||
86 | } | ||
87 | } | ||