@intergrav/dev.css 3.3.0 → 3.4.0

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.
package/README.md CHANGED
@@ -36,7 +36,7 @@ Optionally, use the `<footer>` tag to create a footer for your page. Place it at
36
36
 
37
37
  ### Text
38
38
 
39
- Wrap all body text in `<p>` tags, unless it's the sole child of another element. Use the `<blockquote>` tag for quotes. To highlight text, wrap it in the `<mark>` tag. For code, use `<code>` for short inline code snippets and `<pre>` for code blocks. Use `<kbd>` for keyboard input.
39
+ Wrap all body text in `<p>` tags, unless it's the sole child of another element. Use the `<blockquote>` tag for quotes. To highlight text, wrap it in the `<mark>` tag. For code, use `<code>` for short inline code snippets and wrap that with `<pre>` for code blocks. Use `<kbd>` for keyboard input.
40
40
 
41
41
  ### Button
42
42
 
package/demo.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html>
1
+ <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
@@ -129,17 +129,15 @@
129
129
  – Edward Snowden
130
130
  </blockquote>
131
131
 
132
- <pre>
133
- &#x3C;!DOCTYPE html&#x3E;
134
- &#x3C;html&#x3E;
135
- &#x3C;head&#x3E;
136
- &#x3C;title&#x3E;Hello World&#x3C;/title&#x3E;
137
- &#x3C;/head&#x3E;
138
- &#x3C;body&#x3E;
139
- &#x3C;p&#x3E;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&#x3C;/p&#x3E;
140
- &#x3C;/body&#x3E;
141
- &#x3C;/html&#x3E;</pre
142
- >
132
+ <pre><code>&#x3C;!DOCTYPE html&#x3E;
133
+ &#x3C;html&#x3E;
134
+ &#x3C;head&#x3E;
135
+ &#x3C;title&#x3E;Hello World&#x3C;/title&#x3E;
136
+ &#x3C;/head&#x3E;
137
+ &#x3C;body&#x3E;
138
+ &#x3C;p&#x3E;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&#x3C;/p&#x3E;
139
+ &#x3C;/body&#x3E;
140
+ &#x3C;/html&#x3E;</code></pre>
143
141
 
144
142
  <br />
145
143
  <hr />
package/dev.css CHANGED
@@ -393,6 +393,7 @@ pre {
393
393
  border-radius: 0.25rem;
394
394
  padding: 0.125rem 0.25rem;
395
395
  font-size: 0.9rem;
396
+ tab-size: 2;
396
397
  }
397
398
 
398
399
  kbd {
@@ -405,6 +406,11 @@ pre {
405
406
  overflow: auto;
406
407
  }
407
408
 
409
+ pre code {
410
+ padding: 0;
411
+ border: 0;
412
+ }
413
+
408
414
  /* 14. details */
409
415
  details {
410
416
  padding: 0.5rem 1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intergrav/dev.css",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "Tiny, simple, classless CSS framework in the style of Vercel's Geist design system",
5
5
  "keywords": [
6
6
  "css",