diff options
author | xengineering <me@xengineering.eu> | 2022-01-18 20:15:57 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-01-18 20:15:57 +0100 |
commit | a0478547847d601ea0511b567414d07db86b8d0f (patch) | |
tree | 2203ebf271a14c32da137f004ab879e0760f5e36 | |
parent | fd150f4a77503ad33eb8223e8152de662f725d81 (diff) | |
download | libweb-a0478547847d601ea0511b567414d07db86b8d0f.tar libweb-a0478547847d601ea0511b567414d07db86b8d0f.tar.zst libweb-a0478547847d601ea0511b567414d07db86b8d0f.zip |
Introduce <code> and update <pre>2.1.0
-rw-r--r-- | libweb.css | 11 | ||||
-rw-r--r-- | test.html | 11 | ||||
-rw-r--r-- | todo | 2 |
3 files changed, 21 insertions, 3 deletions
@@ -173,11 +173,20 @@ li { margin-bottom: var(--vertical-space-small); } +code { + display: initial; + font-family: var(--font-family-monospace); + padding-left: 0.2em; + padding-right: 0.2em; + background-color: var(--background-color-light2); + border-radius: 0.2em; +} + pre { font-family: var(--font-family-monospace); margin-top: var(--vertical-space-medium); margin-bottom: var(--vertical-space-medium); - padding: 1em; + padding: 0.5em; white-space: pre-wrap; background-color: var(--background-color-light2); border-radius: 0.5em; @@ -133,6 +133,17 @@ contact via mail: me@xengineering.eu echo "I am $(whoami)" </pre> + <!-- code --> <p>Lorem ipsum dolor sit amet, consetetur sadipscing + elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore + magna aliquyam erat, sed diam voluptua. At vero eos et accusam et + justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea + takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor + sit amet, <code>inline code</code> sadipscing elitr, sed diam + nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam + erat, sed diam voluptua. At vero eos et accusam et justo duo + dolores et ea rebum. Stet clita kasd gubergren, no sea takimata + sanctus est Lorem ipsum dolor sit amet.</p> + <!-- a .card --> <a href="https://example.com"> <div class="card"> @@ -1,2 +0,0 @@ -badge support for https://krautmacher.org/services/ejabberd.html -rotated mobile screen bug |