summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDeniz Akşimşek <deniz@denizaksimsek.com>2021-10-16 22:09:53 +0300
committerDeniz Akşimşek <deniz@denizaksimsek.com>2021-10-16 22:09:53 +0300
commit638ef2385fa3cba35ed1c74893f99b81c6d4878d (patch)
tree2bccf7de2fdc6e5366e109df74bf333684985ba7
parent73e6061e07264cfbca392382ad0212608f26c7e6 (diff)
downloadhtmx-638ef2385fa3cba35ed1c74893f99b81c6d4878d.tar.gz
htmx-638ef2385fa3cba35ed1c74893f99b81c6d4878d.zip
HATEOAS Essay: Font refinements
-rw-r--r--www/essays/hateoas.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/www/essays/hateoas.md b/www/essays/hateoas.md
index 6c64db16..6a7d44a4 100644
--- a/www/essays/hateoas.md
+++ b/www/essays/hateoas.md
@@ -164,6 +164,8 @@ necessity for RESTful systems.
<style>
.content {
font-family: 'Source Serif Pro', serif;
+ text-align: justify;
+ hyphens: auto;
}
.content h1 {
@@ -178,17 +180,26 @@ necessity for RESTful systems.
.content h2 {
font-size: 1em;
margin: 16px;
+ margin-top: 32px;
text-transform: uppercase;
+ letter-spacing: .1em;
+ text-align: center;
}
.content h2 em {
text-transform: none;
+ letter-spacing: 0;
}
- .content pre, code {
+ .content pre, .content code {
background: none;
padding: none;
+ color: black;
+ text-shadow: none;
+ }
.content pre {
- margin: 0 4em;
+ margin: 0 2em;
+ scrollbar-width: thin;
+ scrollbar-color: #aaa transparent;
}
</style>