diff --git a/docs/cdn.md b/docs/cdn.md index f462a079d..80c2e9a7f 100644 --- a/docs/cdn.md +++ b/docs/cdn.md @@ -34,7 +34,7 @@ Specifying the latest major version allows your site to receive all non-breaking ```html - + diff --git a/docs/quickstart.md b/docs/quickstart.md index d8ff63f2d..e96834052 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -51,7 +51,10 @@ Download or create an `index.html` template using the following markup: - + + + +
@@ -83,7 +86,7 @@ Specifying a major version in the URL (`@5`) will allow your site to receive non ```html - + @@ -94,7 +97,7 @@ If you prefer to lock docsify to a specific version, specify the full version af ```html - + diff --git a/docs/themes.md b/docs/themes.md index 1236f474d..e43ec327e 100644 --- a/docs/themes.md +++ b/docs/themes.md @@ -14,6 +14,8 @@ The Docsify "core" theme contains all of the styles and [theme properties](#them Theme add-ons are used in combination with the [core theme](#core-theme). Add-ons contain CSS rules that modify [theme properties](#theme-properties) values and/or add custom style declarations. They can often (but not always) be used with other add-ons. +Theme add-ons can be applied conditionally using an `@media` attribute. This allows applying styles only at specific screen sizes, when light or dark mode is being used, when a device is touch enabled, etc. + !> Theme add-ons must be loaded after the [core theme](#core-theme). @@ -21,13 +23,16 @@ Theme add-ons are used in combination with the [core theme](#core-theme). Add-on - + + + + ``` ### Core Dark (Add-on) -Dark mode styles for the [core theme](#core-theme). Styles can applied only when an operating system's dark mode is active by specifying a `media` attribute. +Dark styles for the [core theme](#core-theme).