@jaisocx/css-clean-start-2 1.2.1 → 1.2.4

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.
@@ -32,7 +32,7 @@
32
32
 
33
33
 
34
34
 
35
- --jsx--css-clean-start-2--body-tag--background: #eee;
35
+ --jsx--css-clean-start-2--body-tag--background: #fafff5;
36
36
  --jsx--css-clean-start-2--site--background: #fff;
37
37
 
38
38
 
@@ -31,7 +31,7 @@
31
31
 
32
32
 
33
33
 
34
- --jsx--css-clean-start-2--body-tag--background: #eee;
34
+ --jsx--css-clean-start-2--body-tag--background: #fafff5;
35
35
  --jsx--css-clean-start-2--site--background: #fff;
36
36
 
37
37
 
@@ -8,7 +8,7 @@
8
8
  /** -------------------------------
9
9
  background styles of the html elem <body>, and, the direct anchester html elem <main>
10
10
  */
11
- --jsx--css-clean-start-2--body-tag--background: #eee;
11
+ --jsx--css-clean-start-2--body-tag--background: #fafff5;
12
12
  --jsx--css-clean-start-2--site--background: #fff;
13
13
 
14
14
 
package/README.md CHANGED
@@ -52,7 +52,7 @@ several .css files will be loaded with size of very few KB.
52
52
 
53
53
 
54
54
  ## Github
55
- [https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/www/sites_tools/css_tools/CssCleanStart_2](https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/www/sites_tools/css_tools/CssCleanStart_2)
55
+ [https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/Jaisocx_SitesTools/sites_tools/css_tools/CssCleanStart_2](https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/Jaisocx_SitesTools/sites_tools/css_tools/CssCleanStart_2)
56
56
 
57
57
 
58
58
 
@@ -25,34 +25,7 @@
25
25
  type="image/x-icon"
26
26
  href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Sandbox_Brightday.ico"
27
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"
28
+ onerror="javascript: ( () => { console.log( this ); this.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
56
29
  />
57
30
 
58
31
 
@@ -103,7 +76,7 @@
103
76
 
104
77
 
105
78
 
106
- <head>
79
+ </head>
107
80
 
108
81
  <body>
109
82
 
@@ -111,7 +84,7 @@
111
84
 
112
85
  <h1>Css Clean Start 2</h1>
113
86
  <h2>@jaisocx/css-clean-start-2</h2>
114
- <h3>index.example.html</h3>
87
+ <h3> index.preview.html </h3>
115
88
  <description>
116
89
  Css sites resetting default styles with main.css of few hundereds css code lines,
117
90
  and the very nice infrastructure for responsive sites bugfixing and fine-tuning
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaisocx/css-clean-start-2",
3
- "version": "1.2.1",
3
+ "version": "1.2.4",
4
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
5
  "author": "Jaisocx Company",
6
6
  "keywords": [
@@ -10,9 +10,10 @@
10
10
  "files": [
11
11
  "favicon",
12
12
 
13
- "index.example.html",
14
- "css_clean_start_2.example.html",
13
+ "index.preview.html",
15
14
  "responsive_sizes.html",
15
+ "with_preloaded_fonts_cdn__preview.html",
16
+ "with_preloaded_fonts_node_modules__preview.html",
16
17
 
17
18
  "MediaAndStyles/*.css",
18
19
  "MediaAndStyles/themes",
@@ -25,7 +26,8 @@
25
26
  "README.md"
26
27
  ],
27
28
  "optionalDependencies": {
28
- "@jaisocx/responsive-sizes": "~1.3.2"
29
+ "@jaisocx/media_tools_fonts_base": "~1.0.5",
30
+ "@jaisocx/responsive-sizes": "~1.3.3"
29
31
  },
30
32
  "private": false,
31
33
  "publishConfig": {
@@ -1,158 +1,202 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en" class="jsx">
3
- <head>
4
- <title>Responsive Sizes</title>
2
+ <html lang="en" class="jsx example_responsive_sizes">
3
+ <head>
5
4
 
6
- <meta charset="utf-8">
7
- <meta content="width=device-width, initial-scale=1.0" name="viewport">
5
+ <title> Responsive Sizes </title>
8
6
 
7
+ <base href="./">
9
8
 
10
- <base href="./" >
9
+ <meta charset="utf-8" />
10
+ <meta content="width=device-width, initial-scale=1.0" name="viewport" />
11
11
 
12
12
 
13
13
 
14
- <!--
15
- IN THE DEV CONSOLE YOU SEE
16
- 39 CSS FILES,
17
- css-clean-start and the responsive css files set
18
- easier to review one css file, for example with one media query.
19
- Best in development mode.
20
- -->
21
- <link rel="stylesheet" href="MediaAndStyles/CssCleanStart_2_main_relative.css">
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
22
 
23
+ <link
24
+ rel="icon"
25
+ type="image/x-icon"
26
+ href="favicon/Icon_Sandbox_Brightday.ico"
27
+ />
23
28
 
24
29
 
25
- <script src="node_modules/@jaisocx/responsive-sizes/transpiled/Simple/ResponsiveSizesConstants.js"></script>
26
- <script src="node_modules/@jaisocx/responsive-sizes/transpiled/Simple/ResponsiveSizes.js"></script>
27
30
 
28
- </head>
29
- <body>
31
+ <!--# CSS CLEAN START 2: html & css WHEN STARTING A SITE FROM SCRATCH -->
30
32
 
31
- <main>
33
+ <!--# importing @jaisocx/css-clean-start-2 IN DEV MODE, TO RESEARCH THE .css STYLES IN BROWSER'S DEV TOOLS IN NETWORKS TAB -->
34
+ <link
35
+ rel="stylesheet"
36
+ type="text/css"
37
+ charset="utf-8"
38
+ href="MediaAndStyles/CssCleanStart_2_main_relative.css"
39
+ />
32
40
 
41
+ <!--# PROD MODE -->
42
+ <!--#
43
+ ALTERNATIVELY,
44
+ ONE .CSS FILE ( ca. 6_000 lines of size ca. 76 KB),
45
+ PACKED WITH CSS IMPORTER CSS FILES OF THE RESPONSIVE CSS FILES SET,
46
+ SAME TRAFFIC, HOWEVER IN THE DEV CONSOLE JUST ONE CSS FILE IS SEEN.
47
+ -->
48
+ <!--# THE SAME importing @jaisocx/css-clean-start-2 IN PROD MODE, PACKED BY @jaisocx/css-importer TOOL -->
49
+ <!-- <link-->
50
+ <!-- rel="stylesheet"-->
51
+ <!-- type="text/css"-->
52
+ <!-- charset="utf-8"-->
53
+ <!-- href="MediaAndStyles/CssCleanStart_2_main_resolved.css"-->
54
+ <!-- />-->
33
55
 
34
- <h1>Responsive Sizes</h1>
35
56
 
36
57
 
37
- <h2 id="responsive_sizes">Tests</h2>
58
+ <style>
38
59
 
39
- <pre id="info" style="display: block; height: auto; overflow-y: visible; overflow-x: scroll; padding: 2rem; background-color: darkturquoise; color: white;"></pre>
60
+ .jsx.example_responsive_sizes {
40
61
 
41
- </main>
62
+ --jsx--css-clean-start-2--body-tag--background: white;
63
+ --jsx--css-clean-start-2--site--background: #eafee5;
42
64
 
43
- <script>
44
- let responsiveSizesConstants = new Object();
45
- let responsiveSizesInstance = new Object();
65
+ --jsx--css-clean-start-2--h--font-weight: 600;
66
+ --jsx--css-clean-start-2--h--color: #524232;
67
+ --jsx--css-clean-start-2--h--margin: 0 0 0 0;
68
+ --jsx--css-clean-start-2--h--padding: 0 0 0 0;
46
69
 
47
- function addOnSite( html ) {
48
- let info = document.getElementById('info');
70
+ --jsx--css-clean-start-2--h1--font-size: 2.0rem;
71
+ --jsx--css-clean-start-2--h1--line-height: 2.95rem;
49
72
 
50
- let locHtml = html + "\n\n";
73
+ --jsx--css-clean-start-2--h2--font-size: 1.4rem;
74
+ --jsx--css-clean-start-2--h2--line-height: 2.7rem;
51
75
 
52
- info.insertAdjacentHTML( 'beforeEnd', locHtml );
53
76
  }
54
77
 
55
- function setOnSite( html ) {
56
- let info = document.getElementById('info');
78
+ #info {
79
+ display: block;
80
+ height: auto;
81
+
82
+ padding: 2rem;
83
+
84
+ font-size: 1.2rem;
85
+ line-height: 1.9rem;
86
+
87
+ font-family: var(--css-clean-start-2--sans--font-family);
88
+ letter-spacing: 1px;
89
+
90
+ color: #f5f5f5;
57
91
 
58
- info.innerHTML = html;
92
+ background: #0F2027; /* fallback for old browsers */
93
+ background: -webkit-linear-gradient(to left, #2C5364, #203A43, #0F2027); /* Chrome 10-25, Safari 5.1-6 */
94
+ background: linear-gradient(to left, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
95
+
96
+ overflow-y: visible;
97
+ overflow-x: scroll;
59
98
  }
60
99
 
61
- function applySizesInfo( force ) {
100
+ </style>
101
+ </head>
102
+ <body>
62
103
 
63
- let foreceUpdateSizesInfo_false = false;
64
104
 
65
- let html_size1 = responsiveSizesInstance.mobile( force ) ? "mobile" : "";
66
- let html_size2 = responsiveSizesInstance.tablet( foreceUpdateSizesInfo_false ) ? "tablet" : "";
67
- let html_size3 = responsiveSizesInstance.desktop( foreceUpdateSizesInfo_false ) ? "desktop" : "";
105
+ <main>
68
106
 
69
- let size = responsiveSizesInstance.getCssVariableArray()[4];
107
+ <h1> Responsive Sizes </h1>
108
+ <h2> @jaisocx/responsive-sizes </h2>
70
109
 
71
- let html_orientation1 = responsiveSizesInstance.orientationPortrait( foreceUpdateSizesInfo_false ) ? "portrait" : "";
72
- let html_orientation2 = responsiveSizesInstance.orientationLandscape( foreceUpdateSizesInfo_false ) ? "landscape" : "";
110
+ <description>
111
+ You get know the .css file where the @media query is set,
112
+ relevant to the currently opened browser's tab with the site being tested.
113
+ </description>
73
114
 
74
- let html_array = [
75
- html_size1,
76
- html_size2,
77
- html_size3,
78
- " ",
79
- size,
80
- " ",
81
- html_orientation1,
82
- html_orientation2,
83
- ];
115
+ <h2 id="size_name">Tests</h2>
84
116
 
85
- let html = html_array.join( "" );
117
+ <pre id="info"></pre>
86
118
 
87
- let info = document.getElementById('responsive_sizes');
119
+ </main>
88
120
 
89
- info.innerHTML = html;
90
- }
121
+ </body>
91
122
 
92
123
 
93
- function responsiveSizesTest( force ) {
94
- // responsiveSizesInstance = new ResponsiveSizes();
95
124
 
96
- let responsiveSizeName = responsiveSizesInstance.getResponsiveSizeName( force );
125
+ <script src="node_modules/@jaisocx/responsive-sizes/transpiled/Simple/ResponsiveSizesConstants.js"></script>
126
+ <script src="node_modules/@jaisocx/responsive-sizes/transpiled/Simple/ResponsiveSizes.js"></script>
97
127
 
98
- let foreceUpdateSizesInfo_false = false;
99
- let mobile = responsiveSizesInstance.mobile( foreceUpdateSizesInfo_false );
100
- let tablet = responsiveSizesInstance.tablet( foreceUpdateSizesInfo_false );
101
- let desktop = responsiveSizesInstance.desktop( foreceUpdateSizesInfo_false );
102
- let orientationPortrait = responsiveSizesInstance.orientationPortrait( foreceUpdateSizesInfo_false );
103
- let orientationLandscape = responsiveSizesInstance.orientationLandscape( foreceUpdateSizesInfo_false );
128
+ <script src="../responsive-sizes/transpiled/Simple/ResponsiveSizesConstants.js"></script>
129
+ <script src="../responsive-sizes/transpiled/Simple/ResponsiveSizes.js"></script>
104
130
 
105
- let lines = {
106
- "responsiveSizeName": responsiveSizeName,
107
- "mobile": mobile,
108
- "tablet": tablet,
109
- "desktop": desktop,
110
- "orientationPortrait": orientationPortrait,
111
- "orientationLandscape": orientationLandscape
112
- };
113
- let locHtml = JSON.stringify(lines, null, 2);
114
131
 
115
- addOnSite( responsiveSizeName );
116
132
 
117
- addOnSite( locHtml );
118
- }
133
+ <script>
119
134
 
120
- function responsiveSizeNameTestJson() {
121
- // responsiveSizesInstance = new ResponsiveSizes();
122
- let responsiveSizeJsonText = responsiveSizesInstance.toString();
123
- setOnSite( responsiveSizeJsonText );
124
- }
135
+ let globResponsiveSizesConstants = new Object();
136
+ let globResponsiveSizesInstance = new Object();
125
137
 
126
- function addResizeEventHandler() {
127
- window.addEventListener('resize', () => {
128
- applySizesInfo( true );
129
- responsiveSizeNameTestJson( false );
130
- });
131
- }
132
138
 
133
- function assignEventsHandlers() {
134
- addResizeEventHandler();
135
- }
136
139
 
137
- // Call the function to load remote data when the DOM is fully loaded
138
- // This ensures that the function is called after the HTML content is loaded
139
- // and the DOM is ready for manipulation
140
- document.addEventListener('DOMContentLoaded', () => {
141
- responsiveSizesConstants = new ResponsiveSizesConstants();
142
- responsiveSizesInstance = new ResponsiveSizes();
143
- responsiveSizesInstance
144
- .setResponsiveSizeConstantName("--responsive_size")
145
- .setResponsiveSizeSelector("html.jsx");
140
+ function setOnSite( id, html ) {
141
+ let info = document.getElementById( id );
142
+ info.innerHTML = html;
143
+ }
144
+
145
+ function responsiveSizeNameTestJson( recalcMediaQueriesVariables ) {
146
+ // globResponsiveSizesInstance = new ResponsiveSizes();
147
+ let getInfoShortAsArray_true = true;
148
+ let notToUpdate = false;
149
+
150
+ let sizeName = globResponsiveSizesInstance.getInfoShort (
151
+ getInfoShortAsArray_true,
152
+ recalcMediaQueriesVariables
153
+ ).join( " " );
154
+
155
+ let responsiveSizeJsonText = globResponsiveSizesInstance.toString (
156
+ notToUpdate
157
+ );
158
+
159
+ setOnSite( "size_name", sizeName );
160
+ setOnSite( "info", responsiveSizeJsonText );
161
+
162
+ }
163
+
164
+ function addResizeEventHandler() {
165
+ window.addEventListener (
166
+ "resize",
167
+ () => {
168
+ let recalcMediaQueriesVariables_true = true;
169
+ responsiveSizeNameTestJson ( recalcMediaQueriesVariables_true );
170
+ }
171
+ );
172
+ }
173
+
174
+ function assignEventsHandlers() {
175
+ addResizeEventHandler();
176
+ }
177
+
178
+ // Call the function to load remote data when the DOM is fully loaded
179
+ // This ensures that the function is called after the HTML content is loaded
180
+ // and the DOM is ready for manipulation
181
+ document.addEventListener (
182
+ "DOMContentLoaded",
183
+ () => {
184
+
185
+ globResponsiveSizesConstants = new ResponsiveSizesConstants();
186
+ globResponsiveSizesInstance = new ResponsiveSizes();
187
+
188
+ globResponsiveSizesInstance
189
+ .setResponsiveSizeConstantName( "--responsive_size" )
190
+ .setResponsiveSizeSelector( "html.jsx" );
146
191
 
147
192
  assignEventsHandlers();
148
193
 
149
- applySizesInfo( true );
150
- responsiveSizeNameTestJson( false );
151
- // responsiveSizesTest( false );
152
- });
153
- </script>
194
+ let recalcMediaQueriesVariables_true = true;
195
+ responsiveSizeNameTestJson ( recalcMediaQueriesVariables_true );
154
196
 
155
- </body>
197
+ }
198
+ );
199
+ </script>
156
200
  </html>
157
201
 
158
202
 
@@ -17,7 +17,7 @@
17
17
  type="image/x-icon"
18
18
  href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Jaisocx.ico"
19
19
  href-fallback="favicon/Icon_Jaisocx.ico"
20
- onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
20
+ onerror="javascript: ( () => { console.log( this ); this.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
21
21
  /> -->
22
22
 
23
23
  <link
@@ -25,7 +25,7 @@
25
25
  type="image/x-icon"
26
26
  href="https://sandbox.brightday.email/cdn/www/media/images/favicon/Icon_Sandbox_Brightday.ico"
27
27
  href-fallback="favicon/Icon_Sandbox_Brightday.ico"
28
- onerror="javascript: ( () => { console.log( this ); this.onerror = null; this.href = this.getAttribute( 'href-fallback' ); } )();"
28
+ onerror="javascript: ( () => { console.log( this ); this.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
29
29
  />
30
30
 
31
31
 
@@ -103,15 +103,14 @@
103
103
 
104
104
 
105
105
 
106
- <head>
107
-
106
+ </head>
108
107
  <body>
109
108
 
110
109
  <main>
111
110
 
112
111
  <h1>Css Clean Start 2</h1>
113
112
  <h2>@jaisocx/css-clean-start-2</h2>
114
- <h3>css_clean_start_2.example</h3>
113
+ <h3> with_preloaded_fonts_cdn__preview.html </h3>
115
114
  <description>
116
115
  Css sites resetting default styles with main.css of few hundereds css code lines,
117
116
  and the very nice infrastructure for responsive sites bugfixing and fine-tuning
@@ -0,0 +1,297 @@
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.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
29
+ />
30
+
31
+
32
+
33
+ <!--# FONTS PRELOAD WITHOUT JAVASCRIPT CALL -->
34
+ <!-- The fonts are loaded just one time -->
35
+ <link
36
+ fetchpriority="high"
37
+ rel="preload"
38
+ as="font"
39
+ type="font/ttf"
40
+ crossorigin=""
41
+ href="node_modules/@jaisocx/media_tools_fonts_base/MediaAndStyles/fonts/Libre_Franklin/static/LibreFranklin-Regular.ttf"
42
+ href-fallback="../media_tools_fonts_base/MediaAndStyles/fonts/Libre_Franklin/static/LibreFranklin-Regular.ttf"
43
+ onerror="javascript: ( () => { console.log( this ); this.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
44
+ />
45
+
46
+ <link
47
+ fetchpriority="high"
48
+ rel="preload"
49
+ as="font"
50
+ type="font/ttf"
51
+ crossorigin=""
52
+ href="node_modules/@jaisocx/media_tools_fonts_base/MediaAndStyles/fonts/Libre_Franklin/static/LibreFranklin-SemiBold.ttf"
53
+ href-fallback="../media_tools_fonts_base/MediaAndStyles/fonts/Libre_Franklin/static/LibreFranklin-SemiBold.ttf"
54
+ onerror="javascript: ( () => { console.log( this ); this.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
55
+ />
56
+
57
+ <!-- .css LOADING FONTS-->
58
+ <link
59
+ rel="stylesheet"
60
+ type="text/css"
61
+ href="node_modules/@jaisocx/media_tools_fonts_base/MediaAndStyles/JscFonts_main_resolved.css"
62
+ href-fallback="../media_tools_fonts_base/MediaAndStyles/JscFonts_main_resolved.css"
63
+ onerror="javascript: ( () => { console.log( this ); this.href = this.getAttribute( 'href-fallback' ); this.onerror = null; } )();"
64
+ />
65
+
66
+
67
+
68
+ <!--# CSS CLEAN START 2: html & css WHEN STARTING A SITE FROM SCRATCH -->
69
+
70
+ <!--# importing @jaisocx/css-clean-start-2 IN DEV MODE, TO RESEARCH THE .css STYLES IN BROWSER'S DEV TOOLS IN NETWORKS TAB -->
71
+ <link
72
+ rel="stylesheet"
73
+ type="text/css"
74
+ charset="utf-8"
75
+ href="MediaAndStyles/CssCleanStart_2_main_relative.css"
76
+ />
77
+
78
+ <!--# THE SAME importing @jaisocx/css-clean-start-2 IN PROD MODE, PACKED BY @jaisocx/css-importer TOOL -->
79
+ <!-- <link-->
80
+ <!-- rel="stylesheet"-->
81
+ <!-- type="text/css"-->
82
+ <!-- charset="utf-8"-->
83
+ <!-- href="MediaAndStyles/CssCleanStart_2_main_resolved_minimal.css"-->
84
+ <!-- />-->
85
+
86
+
87
+
88
+ <style>
89
+
90
+ .jsx.example {
91
+ --jsx--css-clean-start-2--site--margin: 0 auto 0 auto;
92
+ --jsx--css-clean-start-2--site--padding: 2rem;
93
+
94
+ --jsx--css-clean-start-2--h--margin: 1.4rem 0 0.2rem 0;
95
+
96
+ --jsx--css-clean-start-2--all-tags--font-family: LibreFranklin;
97
+
98
+ --jsx--css-clean-start-2--h1--color: #6c6c6c;
99
+ --jsx--css-clean-start-2--h2--color: #5c7c5c;
100
+ --jsx--css-clean-start-2--h3--color: #5e9e5e;
101
+
102
+ --jsx--css-clean-start-2--h1--font-size: 1.75rem;
103
+ --jsx--css-clean-start-2--h1--line-height: 1.99rem;
104
+
105
+ --jsx--css-clean-start-2--h2--font-size: 1.3rem;
106
+ --jsx--css-clean-start-2--h2--line-height: 1.49rem;
107
+
108
+ --jsx--css-clean-start-2--h3--font-size: 1rem;
109
+ --jsx--css-clean-start-2--h3--line-height: 1.4rem;
110
+ }
111
+
112
+
113
+
114
+ @supports selector(::-webkit-scrollbar) {
115
+
116
+ .jsx.example::-webkit-scrollbar {
117
+ width: 0.4rem;
118
+ height: 0.4rem;
119
+ }
120
+
121
+ .jsx.example::-webkit-scrollbar-thumb {
122
+ background-color: #5e9e5e;
123
+ }
124
+
125
+ .jsx.example::-webkit-scrollbar-track {
126
+ background-color: #fafffa;
127
+ }
128
+
129
+ }
130
+
131
+ @supports (scrollbar-color: auto) {
132
+ .jsx.example {
133
+ scrollbar-color: #5e9e5e #fafffa;
134
+ scrollbar-width: thin;
135
+ }
136
+ }
137
+
138
+ </style>
139
+
140
+ </head>
141
+ <body>
142
+
143
+ <main>
144
+
145
+ <h1>Css Clean Start 2</h1>
146
+ <h2>@jaisocx/css-clean-start-2</h2>
147
+ <h3> with_preloaded_fonts_node_modules__preview.html </h3>
148
+ <description>
149
+ Css sites resetting default styles with main.css of few hundereds css code lines,
150
+ and the very nice infrastructure for responsive sites bugfixing and fine-tuning
151
+ </description>
152
+
153
+
154
+
155
+ <h2>1. in a custom html tag, 2 span tags</h2>
156
+
157
+ <h3>1.1. raw html preview</h3>
158
+ <pre>
159
+ &lt;text&gt;
160
+ &lt;span&gt;Hello&lt;/span&gt;
161
+ &lt;span&gt;How are You&lt;/span&gt;
162
+ &lt;/text&gt;</pre>
163
+
164
+ <h3>1.2. rendered html view</h3>
165
+ <text>
166
+ <span>Hello</span>
167
+ <span>How are You</span>
168
+ </text>
169
+
170
+
171
+
172
+ <h2>2. &lt;p&gt; text blocks</h2>
173
+ <text>
174
+ <p>sentence line 1. sentence line 1. sentence line 1. sentence line 1. sentence line 1.</p>
175
+ <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>
176
+ <p>sentence line 3. sentence line 3. sentence line 3. sentence line 3. sentence line 3. sentence line 3.</p>
177
+ </text>
178
+
179
+
180
+
181
+ <h2>3. &lt;ul&gt;</h2>
182
+
183
+ <h3>3.1. &lt;ul&gt;</h3>
184
+ <ul>
185
+ <li>
186
+ <a href="javascript: void(0);">link example 1</a>
187
+ </li>
188
+ <li>
189
+ <a href="javascript: void(0);">link example 2</a>
190
+ </li>
191
+ <li>
192
+ <a href="javascript: void(0);">link example 3</a>
193
+ </li>
194
+ </ul>
195
+
196
+
197
+
198
+ <h3>3.2. &lt;ul class="ul-reset"&gt;</h3>
199
+
200
+ <nav class="ul-reset">
201
+ <ul>
202
+ <li>
203
+ <a href="javascript: void(0);">link example 1</a>
204
+ </li>
205
+ <li>
206
+ <a href="javascript: void(0);">link example 2</a>
207
+ </li>
208
+ <li>
209
+ <a href="javascript: void(0);">link example 3</a>
210
+ </li>
211
+ </ul>
212
+ </nav>
213
+
214
+
215
+ <h2>4. &lt;table&gt;</h2>
216
+ <table>
217
+ <!-- Table Caption -->
218
+ <caption>Table Caption</caption>
219
+
220
+ <!-- Define column styles -->
221
+ <colgroup>
222
+ <col style="width: 8rem;">
223
+ <col style="width: 8rem;">
224
+ <col style="width: 8rem;">
225
+ <col style="width: 8rem;">
226
+ </colgroup>
227
+
228
+ <!-- Table Header -->
229
+ <thead>
230
+ <tr>
231
+ <th>Product</th>
232
+ <th>Price</th>
233
+ <th>Quantity</th>
234
+ <th>Total</th>
235
+ </tr>
236
+ </thead>
237
+
238
+ <!-- Table Body -->
239
+ <tbody>
240
+ <tr>
241
+ <td>Apple</td>
242
+ <td>$1.00</td>
243
+ <td>5</td>
244
+ <td>$5.00</td>
245
+ </tr>
246
+ <tr>
247
+ <td>Banana</td>
248
+ <td>$0.50</td>
249
+ <td>10</td>
250
+ <td>$5.00</td>
251
+ </tr>
252
+ <tr>
253
+ <td>Orange</td>
254
+ <td>$0.80</td>
255
+ <td>7</td>
256
+ <td>$5.60</td>
257
+ </tr>
258
+ </tbody>
259
+
260
+ <!-- Table Footer -->
261
+ <tfoot>
262
+ <tr>
263
+ <td colspan="3">Sum</td>
264
+ <td>$15.60</td>
265
+ </tr>
266
+ </tfoot>
267
+ </table>
268
+
269
+
270
+
271
+
272
+ <h2>5. &lt;pre&gt;</h2>
273
+ <pre>
274
+ Shopping List:
275
+ - Apples
276
+ - Bananas
277
+ - Milk
278
+ - Bread
279
+ </pre>
280
+
281
+
282
+ </main>
283
+
284
+
285
+
286
+ <script>
287
+ // document.addEventListener('DOMContentLoaded', () => {
288
+ // //
289
+ // });
290
+ </script>
291
+ </body>
292
+
293
+ </html>
294
+
295
+
296
+
297
+