mirror of
https://github.com/kognise/water.css.git
synced 2025-12-07 15:25:07 +01:00
Add summary/details to the demo page, improve styles
This commit is contained in:
parent
476074e62e
commit
1c7806c518
2 changed files with 12 additions and 0 deletions
|
|
@ -283,6 +283,11 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Some summary/details can't hurt!</summary>
|
||||||
|
<p>Lorem ipsum dolor sit blah blah.</p>
|
||||||
|
</details>
|
||||||
|
|
||||||
<h3 id="typography">Typography</h3>
|
<h3 id="typography">Typography</h3>
|
||||||
<p>
|
<p>
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dictum hendrerit velit, quis
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque dictum hendrerit velit, quis
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,13 @@ summary {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: -10px -10px 0;
|
margin: -10px -10px 0;
|
||||||
|
cursor: pointer;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
summary:hover,
|
||||||
|
summary:focus {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
details > :not(summary) {
|
details > :not(summary) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue