css-zero 0.0.20 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5d4d17fb32c6c3bfd5762fcc8343faee461b303382b2f99a36b8d45ad31eba2
|
4
|
+
data.tar.gz: 8e77a9d7121a81064b67cc28bca86d0b3fe41d7ba8add75e973a84fc83d45cb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb0ed49bdd5bd806f10720b998cefcffbf781cd4507fa67f07e75812eb73d87bdb1df7b4d237aee347d7f732ac6eed97582bbe41b423a19459cbbfae8b4ec800
|
7
|
+
data.tar.gz: 2c85562ca2d1a2f893cd29333d2a3099babc649a48cde4575ae5bf08ae950a3ce62226c9a9bb040f3701d37b2785b4e051290a281a3b49dbf417466475b1768d
|
@@ -17,10 +17,11 @@
|
|
17
17
|
--text-7xl: 4.5rem; /* 72px */
|
18
18
|
--text-8xl: 6rem; /* 96px */
|
19
19
|
--text-9xl: 8rem; /* 128px */
|
20
|
-
|
20
|
+
|
21
|
+
--text-sm-responsive: clamp(0.875rem, 2cqi, 1rem);
|
21
22
|
--text-base-responsive: clamp(1rem, 2.5cqi, 1.5rem);
|
22
23
|
--text-lg-responsive: clamp(1.25rem, 4cqi, 1.875rem);
|
23
|
-
--text-
|
24
|
+
--text-xl-responsive: clamp(1.875rem, 5cqi, 3rem);
|
24
25
|
|
25
26
|
/****************************************************************
|
26
27
|
* Font Weight
|
@@ -31,9 +31,6 @@
|
|
31
31
|
/****************************************************************
|
32
32
|
* Text
|
33
33
|
*****************************************************************/
|
34
|
-
.antialiased { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
|
35
|
-
.subpixel-antialiased { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
|
36
|
-
|
37
34
|
.font-normal { font-weight: var(--font-normal); }
|
38
35
|
.font-medium { font-weight: var(--font-medium); }
|
39
36
|
.font-semibold { font-weight: var(--font-semibold); }
|
@@ -85,10 +82,10 @@
|
|
85
82
|
.text-8xl { font-size: var(--text-8xl); }
|
86
83
|
.text-9xl { font-size: var(--text-9xl); }
|
87
84
|
|
88
|
-
.text-sm
|
89
|
-
.text-base
|
90
|
-
.text-lg
|
91
|
-
.text-xl
|
85
|
+
.text-sm--responsive { font-size: var(--text-sm-responsive); }
|
86
|
+
.text-base--responsive { font-size: var(--text-base-responsive); }
|
87
|
+
.text-lg--responsive { font-size: var(--text-lg-responsive); }
|
88
|
+
.text-xl--responsive { font-size: var(--text-xl-responsive); }
|
92
89
|
|
93
90
|
/****************************************************************
|
94
91
|
* Background
|
data/lib/css_zero/version.rb
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
:where(.prose) {
|
2
|
+
font-size: var(--text-base-responsive);
|
3
|
+
max-inline-size: 65ch;
|
4
|
+
|
5
|
+
/* Antialiased fonts */
|
6
|
+
-moz-osx-font-smoothing: grayscale;
|
7
|
+
-webkit-font-smoothing: antialiased;
|
8
|
+
|
2
9
|
:is(h1, h2, h3, h4, h5, h6) {
|
3
10
|
font-weight: 800;
|
4
11
|
hyphens: auto;
|
@@ -10,7 +17,7 @@
|
|
10
17
|
}
|
11
18
|
|
12
19
|
h1 {
|
13
|
-
font-size:
|
20
|
+
font-size: 2.25em;
|
14
21
|
}
|
15
22
|
|
16
23
|
h2 {
|
@@ -18,7 +25,7 @@
|
|
18
25
|
}
|
19
26
|
|
20
27
|
h3 {
|
21
|
-
font-size: 1.
|
28
|
+
font-size: 1.125em;
|
22
29
|
}
|
23
30
|
|
24
31
|
h4 {
|
@@ -26,11 +33,11 @@
|
|
26
33
|
}
|
27
34
|
|
28
35
|
h5 {
|
29
|
-
font-size: 0.
|
36
|
+
font-size: 0.875em;
|
30
37
|
}
|
31
38
|
|
32
39
|
h6 {
|
33
|
-
font-size: 0.
|
40
|
+
font-size: 0.75em;
|
34
41
|
}
|
35
42
|
|
36
43
|
:is(ul, ol, menu) {
|
@@ -124,6 +131,7 @@
|
|
124
131
|
}
|
125
132
|
|
126
133
|
a {
|
134
|
+
font-weight: 500;
|
127
135
|
text-decoration: underline;
|
128
136
|
text-decoration-skip-ink: auto;
|
129
137
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: css-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lázaro Nixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: lazaronixon@hotmail.com
|