summaryrefslogtreecommitdiffstats
path: root/src/_general.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-07 17:07:30 +0100
committerVolpeon <git@volpeon.ink>2022-02-07 17:07:30 +0100
commit2b9c02e09b66b73eb12951263aa8aa0da55653b8 (patch)
tree75449cd3c0c50aa482a7376fa1a97715385ec89a /src/_general.scss
parentFurther improved font handling (diff)
downloadiro-design-2b9c02e09b66b73eb12951263aa8aa0da55653b8.tar.gz
iro-design-2b9c02e09b66b73eb12951263aa8aa0da55653b8.tar.bz2
iro-design-2b9c02e09b66b73eb12951263aa8aa0da55653b8.zip
Update
Diffstat (limited to 'src/_general.scss')
-rw-r--r--src/_general.scss87
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
4html,
5body {
6 height: 100%;
7}
8
9body {
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
18h1,
19h2,
20h3,
21h4,
22h5,
23h6 {
24 margin: 0;
25 font-size: fn.dim(--font-size --md);
26 font-weight: normal;
27}
28
29p {
30 margin-top: fn.dim(--paragraph --margin-top);
31 margin-bottom: 0;
32
33 &:empty {
34 display: none;
35 }
36}
37
38ul,
39ol {
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
55button,
56input,
57textarea {
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
83img {
84 &::selection {
85 background: fn.color(--selection --bg-img);
86 }
87}