res:plugins:spoiler-tags
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| res:plugins:spoiler-tags [2022/10/15 22:42] – created fraenkiman | res:plugins:spoiler-tags [2026/04/08 18:57] (current) – [Demo] fraenkiman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Spoiler Tags ===== | ===== Spoiler Tags ===== | ||
| - | Author: [[https:// | + | Author: [[https:// |
| ==== Description ==== | ==== Description ==== | ||
| - | This plugin makes it possible to hide content in spoiler tags and requires the BBCode plugin. | + | This plugin makes it possible to hide content in spoiler tags and requires the [[doc: |
| Example: | Example: | ||
| Line 17: | Line 17: | ||
| {{: | {{: | ||
| - | You can style the spoiler very easily by editing the spoiler.css file found in the plugin' | + | You can style the spoiler very easily by editing the // |
| + | |||
| + | Example: | ||
| + | <code css> | ||
| + | list-style-type: | ||
| + | color: #B83C32; /* Colors of the font of the spoiler title */ | ||
| + | font-weight: | ||
| + | text-decoration: | ||
| + | cursor: pointer; | ||
| + | } | ||
| + | |||
| + | details > summary: | ||
| + | text-decoration: | ||
| + | } | ||
| + | |||
| + | details > summary:: | ||
| + | /* === Image as expand sign; size is not scalable === */ | ||
| + | content: url(../ | ||
| + | /* vertical-align: | ||
| + | } | ||
| + | |||
| + | details[open] > summary:: | ||
| + | /* === Image as expand sign; size is not scalable === */ | ||
| + | content: url(../ | ||
| + | /* vertical-align: | ||
| + | } | ||
| + | |||
| + | details { | ||
| + | display: block; /* Do not deactivate */ | ||
| + | padding: 5px; | ||
| + | /* === Framing of the hidden content inside the spoiler tag === */ | ||
| + | border: #ccc solid 1px; | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | details: | ||
| + | /* === Framing of the hidden content inside the spoiler tag === */ | ||
| + | border: #999 solid 1px; | ||
| + | } | ||
| + | |||
| + | details[open] > summary { | ||
| + | margin-bottom: | ||
| + | /* === italic font of spoiler title when expanded === */ | ||
| + | font-style: italic; | ||
| + | } | ||
| + | |||
| + | </ | ||
| - | ==== Demo ==== | ||
| - | [[https:// | ||
| ==== Download ==== | ==== Download ==== | ||
| - | {{ res: | + | {{ res: |
| **Support** | **Support** | ||
| Line 30: | Line 75: | ||
| === Changelog: === | === Changelog: === | ||
| + | |||
| + | == 2022-12-18 (V1.0.3) == | ||
| + | * Added: css-file v0.2 with some design examples | ||
| + | |||
| + | == 2022-12-14 (V1.0.2) == | ||
| + | * Fixed: The plugin crashes when the BBCode plugin is not enabled. Thanks to Arvid for the hint | ||
| + | |||
| == 2022-10-15 (V1.0.1) == | == 2022-10-15 (V1.0.1) == | ||
| * Added polyfill-JavaScript for IE and Edge in the body | * Added polyfill-JavaScript for IE and Edge in the body | ||
| * Added Instructions | * Added Instructions | ||
res/plugins/spoiler-tags.1665866572.txt.gz · Last modified: by fraenkiman
