@intergrav/dev.css 4.3.1 → 4.3.3
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 +1 -1
- package/dev.css +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ For your main content, or the actual content of the page, it is heavily recommen
|
|
|
106
106
|
|
|
107
107
|
### Sidebar
|
|
108
108
|
|
|
109
|
-
Optionally, you can add a sidebar to your page for pretty much anything you'd like. A good usage for this could be, for example, complex navigation on a docs website, where you wouldn't be able to fit it all into the header. The sidebar will sort normally with the rest of the content on smaller screens. To make a sidebar, place an `<aside>` tag, and then put an `<article>` inside. You must put it above the `<main>` content. You can have up to two sidebars per page - the second one will appear on the right side. You can also make a sidebar collapsible by wrapping it's contents in a `<details>` tag - adding the `open` attribute will make it open by default. Here's an example:
|
|
109
|
+
Optionally, you can add a sidebar to your page for pretty much anything you'd like. A good usage for this could be, for example, complex navigation on a docs website, where you wouldn't be able to fit it all into the header. The sidebar will sort normally with the rest of the content on smaller screens. To make a sidebar, place an `<aside>` tag, and then it's also recommended to put an `<article>` inside if you want a background. You must put it above the `<main>` content. You can have up to two sidebars per page - the second one will appear on the right side. You can also make a sidebar collapsible by wrapping it's contents in a `<details>` tag - adding the `open` attribute will make it open by default. Here's an example:
|
|
110
110
|
|
|
111
111
|
```html
|
|
112
112
|
<aside>
|
package/dev.css
CHANGED
|
@@ -64,6 +64,7 @@ canvas,
|
|
|
64
64
|
svg {
|
|
65
65
|
display: block;
|
|
66
66
|
max-width: 100%;
|
|
67
|
+
height: auto;
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
input,
|
|
@@ -431,7 +432,7 @@ pre code {
|
|
|
431
432
|
}
|
|
432
433
|
|
|
433
434
|
/* 10. details */
|
|
434
|
-
details:not(aside
|
|
435
|
+
details:not(aside details) {
|
|
435
436
|
padding: 0.5rem 1rem;
|
|
436
437
|
background: var(--dc-bg-2);
|
|
437
438
|
border: 1px solid var(--dc-bg-3);
|