@jaisocx/css-clean-start-2 1.1.4 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,6 +43,7 @@ to override the few styles, already set in the theme_base.
43
43
  margin: var(--jsx--css-clean-start-2--all-tags--margin);
44
44
 
45
45
  font-family: var(--jsx--css-clean-start-2--all-tags--font-family);
46
+ font-size: var(--jsx--css-clean-start-2--all-tags--font-size);
46
47
  line-height: var(--jsx--css-clean-start-2--all-tags--line-height);
47
48
 
48
49
  }
@@ -114,8 +115,7 @@ html.jsx body {
114
115
 
115
116
 
116
117
  html.jsx body main {
117
- /* display: var(--jsx--css-clean-start-2--block-tags--display);
118
- box-sizing: var(--jsx--css-clean-start-2--all-tags--box-sizing); */
118
+
119
119
  margin: var(--jsx--css-clean-start-2--site--margin);
120
120
  padding: var(--jsx--css-clean-start-2--site--padding);
121
121
 
@@ -205,11 +205,12 @@
205
205
 
206
206
  --jsx--css-clean-start-2--all-tags--margin: 0 0 0 0;
207
207
  --jsx--css-clean-start-2--h--margin: 0 0 0 0;
208
+ --jsx--css-clean-start-2--ul--margin-left: 2rem;
208
209
  --jsx--css-clean-start-2--p--margin: 0.9rem 0 0.9rem 0;
209
210
 
210
211
  --jsx--css-clean-start-2--all-tags--color: black;
211
212
 
212
- --jsx--css-clean-start-2--all-tags--font-family: "Franklin Gothic Medium", Verdana, sans-serif;
213
+ --jsx--css-clean-start-2--all-tags--font-family: LibreFranklin, Tahoma, Verdana;
213
214
  --jsx--css-clean-start-2--pre--font-family: "Courier New", Courier, monospace;
214
215
 
215
216
  --jsx--css-clean-start-2--all-tags--font-size: 0.85rem;
@@ -8658,11 +8659,18 @@ html.jsx body main {
8658
8659
  list-style: decimal inside;
8659
8660
  }
8660
8661
 
8662
+ .jsx ul ul,
8663
+ .jsx ul ol,
8664
+ .jsx ol ul,
8665
+ .jsx ol ol {
8666
+ margin-left: var(--jsx--css-clean-start-2--ul--margin-left);
8667
+ }
8668
+
8661
8669
 
8662
8670
 
8663
8671
  .jsx ul li,
8664
8672
  .jsx ol li {
8665
- display: list-item;
8673
+ display: list-item;
8666
8674
  }
8667
8675
 
8668
8676
 
@@ -8677,6 +8685,7 @@ html.jsx body main {
8677
8685
 
8678
8686
  list-style-type: none;
8679
8687
  display: var(--jsx--css-clean-start-2--block-tags--display, block);
8688
+ margin-left: var(--jsx--css-clean-start-2--all-tags--margin);
8680
8689
 
8681
8690
  }
8682
8691
 
@@ -206,11 +206,12 @@
206
206
 
207
207
  --jsx--css-clean-start-2--all-tags--margin: 0 0 0 0;
208
208
  --jsx--css-clean-start-2--h--margin: 0 0 0 0;
209
+ --jsx--css-clean-start-2--ul--margin-left: 2rem;
209
210
  --jsx--css-clean-start-2--p--margin: 0.9rem 0 0.9rem 0;
210
211
 
211
212
  --jsx--css-clean-start-2--all-tags--color: black;
212
213
 
213
- --jsx--css-clean-start-2--all-tags--font-family: "Franklin Gothic Medium", Verdana, sans-serif;
214
+ --jsx--css-clean-start-2--all-tags--font-family: LibreFranklin, Tahoma, Verdana;
214
215
  --jsx--css-clean-start-2--pre--font-family: "Courier New", Courier, monospace;
215
216
 
216
217
  --jsx--css-clean-start-2--all-tags--font-size: 0.85rem;
@@ -4605,11 +4606,18 @@ html.jsx body main {
4605
4606
  list-style: decimal inside;
4606
4607
  }
4607
4608
 
4609
+ .jsx ul ul,
4610
+ .jsx ul ol,
4611
+ .jsx ol ul,
4612
+ .jsx ol ol {
4613
+ margin-left: var(--jsx--css-clean-start-2--ul--margin-left);
4614
+ }
4615
+
4608
4616
 
4609
4617
 
4610
4618
  .jsx ul li,
4611
4619
  .jsx ol li {
4612
- display: list-item;
4620
+ display: list-item;
4613
4621
  }
4614
4622
 
4615
4623
 
@@ -4624,6 +4632,7 @@ html.jsx body main {
4624
4632
 
4625
4633
  list-style-type: none;
4626
4634
  display: var(--jsx--css-clean-start-2--block-tags--display, block);
4635
+ margin-left: var(--jsx--css-clean-start-2--all-tags--margin);
4627
4636
 
4628
4637
  }
4629
4638
 
@@ -85,7 +85,7 @@
85
85
 
86
86
  --jsx--css-clean-start-2--all-tags--color: black;
87
87
 
88
- --jsx--css-clean-start-2--all-tags--font-family: "Franklin Gothic Medium", Verdana, sans-serif;
88
+ --jsx--css-clean-start-2--all-tags--font-family: LibreFranklin, Tahoma, Verdana;
89
89
  --jsx--css-clean-start-2--pre--font-family: "Courier New", Courier, monospace;
90
90
 
91
91
  --jsx--css-clean-start-2--all-tags--font-size: 0.85rem;
package/README.md CHANGED
@@ -30,9 +30,9 @@ several .css files will be loaded with size of very few KB.
30
30
 
31
31
 
32
32
 
33
- ## The latest .tgz archive (v.1.1.0 17th of August 2025)
33
+ ## The latest .tgz archive (v.1.1.5 25th of August 2025)
34
34
 
35
- [https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart_2/jaisocx-css-clean-start-2-1.1.0.tgz](https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart_2/jaisocx-css-clean-start-2-1.1.0.tgz)
35
+ [https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart_2/jaisocx-css-clean-start-2-1.1.5.tgz](https://sandbox.brightday.email/sites_tools/css_tools/CssCleanStart_2/jaisocx-css-clean-start-2-1.1.5.tgz)
36
36
 
37
37
 
38
38
 
@@ -0,0 +1,264 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="jsx example">
3
+ <head>
4
+
5
+ <title>CssCleanStart 2</title>
6
+
7
+ <base href="./">
8
+
9
+ <meta charset="utf-8" />
10
+ <meta content="width=device-width, initial-scale=1.0" name="viewport" />
11
+
12
+
13
+
14
+ <!--# FAVICON -->
15
+ <!-- <link
16
+ rel="icon"
17
+ type="image/x-icon"
18
+ href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Jaisocx.ico"
19
+ href-fallback="favicon/Icon_Jaisocx.ico"
20
+ onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
21
+ /> -->
22
+
23
+ <link
24
+ rel="icon"
25
+ type="image/x-icon"
26
+ href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Sandbox_Brightday.ico"
27
+ href-fallback="favicon/Icon_Sandbox_Brightday.ico"
28
+ onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
29
+ />
30
+
31
+
32
+
33
+ <!--# FONTS PRELOAD WITHOUT JAVASCRIPT CALL -->
34
+ <link
35
+ fetchpriority="high"
36
+ rel="preload"
37
+ as="font"
38
+ type="font/ttf"
39
+ href="https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-SemiBold.ttf"
40
+ />
41
+
42
+ <link
43
+ fetchpriority="high"
44
+ rel="preload"
45
+ as="font"
46
+ type="font/ttf"
47
+ href="https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-Regular.ttf"
48
+ />
49
+
50
+ <!--# CSS FOR FONTS -->
51
+ <link
52
+ rel="stylesheet"
53
+ type="text/css"
54
+ charset="utf-8"
55
+ href="https://sandbox.brightday.email/cdn/www/fonts_css/font_LibreFranklin_cdn.css"
56
+ />
57
+
58
+
59
+
60
+ <!--# CSS CLEAN START 2: html & css WHEN STARTING A SITE FROM SCRATCH -->
61
+
62
+ <!--# importing @jaisocx/css-clean-start-2 IN DEV MODE, TO RESEARCH THE .css STYLES IN BROWSER'S DEV TOOLS IN NETWORKS TAB -->
63
+ <!-- <link
64
+ rel="stylesheet"
65
+ type="text/css"
66
+ charset="utf-8"
67
+ href="MediaAndStyles/CssCleanStart_2_main_relative.css"
68
+ /> -->
69
+
70
+ <!--# THE SAME importing @jaisocx/css-clean-start-2 IN PROD MODE, PACKED BY @jaisocx/css-importer TOOL -->
71
+ <link
72
+ rel="stylesheet"
73
+ type="text/css"
74
+ charset="utf-8"
75
+ href="MediaAndStyles/CssCleanStart_2_main_resolved_minimal.css"
76
+ />
77
+
78
+
79
+
80
+ <style>
81
+
82
+ .jsx.example {
83
+ --jsx--css-clean-start-2--site--margin: 0 auto 0 auto;
84
+ --jsx--css-clean-start-2--site--padding: 2rem;
85
+
86
+ --jsx--css-clean-start-2--h--margin: 1.4rem 0 0.2rem 0;
87
+
88
+ --jsx--css-clean-start-2--h1--color: #6c6c6c;
89
+ --jsx--css-clean-start-2--h2--color: #5c7c5c;
90
+ --jsx--css-clean-start-2--h3--color: #5e9e5e;
91
+
92
+ --jsx--css-clean-start-2--h1--font-size: 1.75rem;
93
+ --jsx--css-clean-start-2--h1--line-height: 1.99rem;
94
+
95
+ --jsx--css-clean-start-2--h2--font-size: 1.3rem;
96
+ --jsx--css-clean-start-2--h2--line-height: 1.49rem;
97
+
98
+ --jsx--css-clean-start-2--h3--font-size: 1rem;
99
+ --jsx--css-clean-start-2--h3--line-height: 1.4rem;
100
+ }
101
+
102
+ </style>
103
+
104
+
105
+
106
+ <head>
107
+
108
+ <body>
109
+
110
+ <main>
111
+
112
+ <h1>Css Clean Start 2</h1>
113
+ <h2>@jaisocx/css-clean-start-2</h2>
114
+ <h3>css_clean_start_2.example</h3>
115
+ <description>
116
+ Css sites resetting default styles with main.css of few hundereds css code lines,
117
+ and the very nice infrastructure for responsive sites bugfixing and fine-tuning
118
+ </description>
119
+
120
+
121
+
122
+ <h2>1. in a custom html tag, 2 span tags</h2>
123
+
124
+ <h3>1.1. raw html preview</h3>
125
+ <pre>
126
+ &lt;text&gt;
127
+ &lt;span&gt;Hello&lt;/span&gt;
128
+ &lt;span&gt;How are You&lt;/span&gt;
129
+ &lt;/text&gt;</pre>
130
+
131
+ <h3>1.2. rendered html view</h3>
132
+ <text>
133
+ <span>Hello</span>
134
+ <span>How are You</span>
135
+ </text>
136
+
137
+
138
+
139
+ <h2>2. &lt;p&gt; text blocks</h2>
140
+ <text>
141
+ <p>sentence line 1. sentence line 1. sentence line 1. sentence line 1. sentence line 1.</p>
142
+ <p>sentence line 2. sentence line 2. sentence line 2. sentence line 2. sentence line 2. sentence line 2. sentence line 2. sentence line 2. sentence line 2.</p>
143
+ <p>sentence line 3. sentence line 3. sentence line 3. sentence line 3. sentence line 3. sentence line 3.</p>
144
+ </text>
145
+
146
+
147
+
148
+ <h2>3. &lt;ul&gt;</h2>
149
+
150
+ <h3>3.1. &lt;ul&gt;</h3>
151
+ <ul>
152
+ <li>
153
+ <a href="javascript: void(0);">link example 1</a>
154
+ </li>
155
+ <li>
156
+ <a href="javascript: void(0);">link example 2</a>
157
+ </li>
158
+ <li>
159
+ <a href="javascript: void(0);">link example 3</a>
160
+ </li>
161
+ </ul>
162
+
163
+
164
+
165
+ <h3>3.2. &lt;ul class="ul-reset"&gt;</h3>
166
+
167
+ <nav class="ul-reset">
168
+ <ul>
169
+ <li>
170
+ <a href="javascript: void(0);">link example 1</a>
171
+ </li>
172
+ <li>
173
+ <a href="javascript: void(0);">link example 2</a>
174
+ </li>
175
+ <li>
176
+ <a href="javascript: void(0);">link example 3</a>
177
+ </li>
178
+ </ul>
179
+ </nav>
180
+
181
+
182
+ <h2>4. &lt;table&gt;</h2>
183
+ <table>
184
+ <!-- Table Caption -->
185
+ <caption>Table Caption</caption>
186
+
187
+ <!-- Define column styles -->
188
+ <colgroup>
189
+ <col style="width: 8rem;">
190
+ <col style="width: 8rem;">
191
+ <col style="width: 8rem;">
192
+ <col style="width: 8rem;">
193
+ </colgroup>
194
+
195
+ <!-- Table Header -->
196
+ <thead>
197
+ <tr>
198
+ <th>Product</th>
199
+ <th>Price</th>
200
+ <th>Quantity</th>
201
+ <th>Total</th>
202
+ </tr>
203
+ </thead>
204
+
205
+ <!-- Table Body -->
206
+ <tbody>
207
+ <tr>
208
+ <td>Apple</td>
209
+ <td>$1.00</td>
210
+ <td>5</td>
211
+ <td>$5.00</td>
212
+ </tr>
213
+ <tr>
214
+ <td>Banana</td>
215
+ <td>$0.50</td>
216
+ <td>10</td>
217
+ <td>$5.00</td>
218
+ </tr>
219
+ <tr>
220
+ <td>Orange</td>
221
+ <td>$0.80</td>
222
+ <td>7</td>
223
+ <td>$5.60</td>
224
+ </tr>
225
+ </tbody>
226
+
227
+ <!-- Table Footer -->
228
+ <tfoot>
229
+ <tr>
230
+ <td colspan="3">Sum</td>
231
+ <td>$15.60</td>
232
+ </tr>
233
+ </tfoot>
234
+ </table>
235
+
236
+
237
+
238
+
239
+ <h2>5. &lt;pre&gt;</h2>
240
+ <pre>
241
+ Shopping List:
242
+ - Apples
243
+ - Bananas
244
+ - Milk
245
+ - Bread
246
+ </pre>
247
+
248
+
249
+ </main>
250
+
251
+
252
+
253
+ <script>
254
+ // document.addEventListener('DOMContentLoaded', () => {
255
+ // //
256
+ // });
257
+ </script>
258
+ </body>
259
+
260
+ </html>
261
+
262
+
263
+
264
+
Binary file
@@ -1,18 +1,79 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en" class="jsx example">
3
+ <head>
3
4
 
4
- <head>
5
+ <title>CssCleanStart 2</title>
6
+
7
+ <base href="./">
8
+
9
+ <meta charset="utf-8" />
10
+ <meta content="width=device-width, initial-scale=1.0" name="viewport" />
11
+
12
+
13
+
14
+ <!--# FAVICON -->
15
+ <!-- <link
16
+ rel="icon"
17
+ type="image/x-icon"
18
+ href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Jaisocx.ico"
19
+ href-fallback="favicon/Icon_Jaisocx.ico"
20
+ onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
21
+ /> -->
22
+
23
+ <link
24
+ rel="icon"
25
+ type="image/x-icon"
26
+ href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Sandbox_Brightday.ico"
27
+ href-fallback="favicon/Icon_Sandbox_Brightday.ico"
28
+ onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
29
+ />
5
30
 
6
- <title>CssCleanStart_2</title>
7
31
 
8
- <meta content="width=device-width, initial-scale=1.0" name="viewport">
9
- <meta charset="utf-8">
10
32
 
11
- <base href=".">
33
+ <!--# FONTS PRELOAD WITHOUT JAVASCRIPT CALL -->
34
+ <link
35
+ fetchpriority="high"
36
+ rel="preload"
37
+ as="font"
38
+ type="font/ttf"
39
+ href="https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-SemiBold.ttf"
40
+ />
12
41
 
42
+ <link
43
+ fetchpriority="high"
44
+ rel="preload"
45
+ as="font"
46
+ type="font/ttf"
47
+ href="https://sandbox.brightday.email/cdn/www/fonts/LibreFranklin/static/LibreFranklin-Regular.ttf"
48
+ />
13
49
 
50
+ <!--# CSS FOR FONTS -->
51
+ <link
52
+ rel="stylesheet"
53
+ type="text/css"
54
+ charset="utf-8"
55
+ href="https://sandbox.brightday.email/cdn/www/fonts_css/font_LibreFranklin_cdn.css"
56
+ />
14
57
 
15
- <link rel="stylesheet" href="MediaAndStyles/CssCleanStart_2_main_resolved_minimal.css">
58
+
59
+
60
+ <!--# CSS CLEAN START 2: html & css WHEN STARTING A SITE FROM SCRATCH -->
61
+
62
+ <!--# importing @jaisocx/css-clean-start-2 IN DEV MODE, TO RESEARCH THE .css STYLES IN BROWSER'S DEV TOOLS IN NETWORKS TAB -->
63
+ <!-- <link
64
+ rel="stylesheet"
65
+ type="text/css"
66
+ charset="utf-8"
67
+ href="MediaAndStyles/CssCleanStart_2_main_relative.css"
68
+ /> -->
69
+
70
+ <!--# THE SAME importing @jaisocx/css-clean-start-2 IN PROD MODE, PACKED BY @jaisocx/css-importer TOOL -->
71
+ <link
72
+ rel="stylesheet"
73
+ type="text/css"
74
+ charset="utf-8"
75
+ href="MediaAndStyles/CssCleanStart_2_main_resolved_minimal.css"
76
+ />
16
77
 
17
78
 
18
79
 
@@ -40,15 +101,21 @@
40
101
 
41
102
  </style>
42
103
 
43
- <head>
44
- <body>
45
104
 
46
- <main>
47
105
 
106
+ <head>
107
+
108
+ <body>
48
109
 
49
- <h1>Css Clean Start 2. examples</h1>
110
+ <main>
50
111
 
51
- <h3>@jaisocx/css-clean-start-2</h3>
112
+ <h1>Css Clean Start 2</h1>
113
+ <h2>@jaisocx/css-clean-start-2</h2>
114
+ <h3>index.example.html</h3>
115
+ <description>
116
+ Css sites resetting default styles with main.css of few hundereds css code lines,
117
+ and the very nice infrastructure for responsive sites bugfixing and fine-tuning
118
+ </description>
52
119
 
53
120
 
54
121
 
package/package.json CHANGED
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "name": "@jaisocx/css-clean-start-2",
3
- "version": "1.1.4",
4
- "description": "",
5
- "author": "Jaisocx",
3
+ "version": "1.1.7",
4
+ "description": "Css sites resetting default styles with main.css of few hundereds css code lines, and the very nice infrastructure for responsive sites bugfixing and fine-tuning",
5
+ "author": "Jaisocx Company",
6
6
  "keywords": [
7
7
  "css",
8
8
  "styles"
9
9
  ],
10
10
  "files": [
11
+ "favicon",
12
+
11
13
  "index.example.html",
14
+ "css_clean_start_2.example.html",
12
15
  "responsive_sizes.html",
13
16
 
14
17
  "MediaAndStyles/*.css",
15
18
  "MediaAndStyles/themes",
16
- "MediaAndStyles/fonts",
17
19
 
18
20
  "transpiled/CommonJS",
19
21
  "transpiled/ESNext",
@@ -7,7 +7,7 @@
7
7
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
8
8
 
9
9
 
10
- <base href="." >
10
+ <base href="./" >
11
11
 
12
12
 
13
13
 
@@ -1,4 +1,5 @@
1
1
  {
2
- "@CssCleanStart_2_MediaAndStyles": "${packageRoot}/MediaAndStyles/"
2
+ "@CssCleanStart_2_MediaAndStyles": "${packageRoot}/MediaAndStyles/",
3
+ "@cdn_sandbox_fonts/": "https://sandbox.brightday.email/cdn/www/fonts/"
3
4
  }
4
5