diff options
author | Thomas Letan <lthms@soap.coffee> | 2022-08-07 19:41:07 +0200 |
---|---|---|
committer | Thomas Letan <lthms@soap.coffee> | 2022-08-07 19:41:07 +0200 |
commit | 3543589e605446195054798b8bdaa6511e1cdb63 (patch) | |
tree | 6a31451ab90e8f106ee692fe4fdfe8c70d963f00 /site/cleopatra/theme.org | |
parent | Add a new post about rank-n types in OCaml (diff) |
Add an avatar to greet readers
Diffstat (limited to 'site/cleopatra/theme.org')
-rw-r--r-- | site/cleopatra/theme.org | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/site/cleopatra/theme.org b/site/cleopatra/theme.org index 628baf8..4cfa3ac 100644 --- a/site/cleopatra/theme.org +++ b/site/cleopatra/theme.org @@ -172,6 +172,18 @@ img { max-width: 100%; } +#whoami.marginnote { + color: var(--fg); + margin-bottom: 2em; +} + +img.avatar { + border-radius: 20px; + display: block; + max-width: 90%; + margin: auto; +} + dd { margin-left: 0; margin-bottom: 0.5rem; @@ -264,13 +276,12 @@ dt { div.code, span.inlinecode, -code, -.doc pre, +pre, tt, .dmath, .imath { font-family: monospace; - font-size: 80%; + font-size: 85%; } details { @@ -342,7 +353,7 @@ td.commit { cursor: pointer; } - pre, aside { + pre, aside, div.code { width: 100%; } } @@ -353,12 +364,12 @@ td.commit { #+begin_src css :tangle style.css :root { --bg: white; - --bg-plus: #f9f8f4; + --bg-plus: #f7f7f7; --current-line: #fbfbfb; --fade: #cfcecb; --fg: #3c3c3c; --fg-plus: #575757; - --doc: #91003e; + --doc: black; --warning: #bd745e; --red: #b3534b; --green: #6d9319; @@ -528,6 +539,19 @@ theme-build : style.min.css </nav> </aside> <main> + <span id="whoami" class="marginnote"> + <img class="avatar" src="/img/vampy.jpg" /> + + <p> + Hi, I’m <strong>lthms</strong>. + </p> + + <p> + I don’t like syntax highlighting, but I like + types and functional programming languages. + He/him. + </p> + </span> </main> </body> </html> |