Browse Source

Hyphenation

master
Adrian Heine 4 years ago
parent
commit
b71e899750
  1. 2
      index.html
  2. 5
      style.css

2
index.html

@ -1,3 +1,4 @@
<html lang=de>
<meta charset=utf8> <meta charset=utf8>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css">
<script src=/diffDOM.js></script> <script src=/diffDOM.js></script>
@ -6,3 +7,4 @@
<aside> <aside>
<a href="https://git.adrianheine.de/adrian/coding-precarity">git</a> <a href="https://git.adrianheine.de/adrian/coding-precarity">git</a>
</aside> </aside>
</html>

5
style.css

@ -13,6 +13,7 @@ body {
background-color: #e1eef2; background-color: #e1eef2;
margin: 0; margin: 0;
font-family: "Fell"; font-family: "Fell";
hyphens: auto;
} }
.wrapper { .wrapper {
@ -63,7 +64,7 @@ body {
position: absolute; position: absolute;
transform-origin: 0 0; transform-origin: 0 0;
font-size: 1.2em; font-size: 1.2em;
padding: 0 70px;
padding: 0 55px;
box-sizing: border-box; box-sizing: border-box;
} }
@ -124,7 +125,7 @@ h1, .desc {
margin: 0.5em 0; margin: 0.5em 0;
} }
blockquote { blockquote {
background: #f9f9f9cc;
background: #f9f9f9cc;
border-left: .5em solid #1a1c1c66; border-left: .5em solid #1a1c1c66;
margin: .5em; margin: .5em;
padding: .5em; padding: .5em;

Loading…
Cancel
Save