From 044ddcdf71d4aed36c344dbc3eddaf75729739ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 26 Nov 2019 23:06:47 +0100 Subject: [PATCH] :art: Update --- book.toml | 12 ++++++++++++ custom.css | 25 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 book.toml create mode 100644 custom.css diff --git a/book.toml b/book.toml new file mode 100644 index 00000000..9c120e73 --- /dev/null +++ b/book.toml @@ -0,0 +1,12 @@ +[book] +authors = ["Jérémie Astor"] +title = "Gwion" +src = "md" + +[output.html] +default-theme = "rust" +additional-css = ["custom.css"] + +[output.html.fold] +enable = true +level = 0 diff --git a/custom.css b/custom.css new file mode 100644 index 00000000..a4532723 --- /dev/null +++ b/custom.css @@ -0,0 +1,25 @@ +.mdr { + color:var(--sidebar-active); + background-color:var(--sidebar-bg); + border: 5px solid var(--sidebar-fg); + padding: 10px; + margin-right: 20%; + margin-left: 20%; + moz-border-radius: 15px; + -webkit-border-radius: 15px; +} + +footer { + padding: 10px; + text-align: center; + font-size: small; + font-style: italic; +} + +.zoom { + transition: transform .2s; /* Animation */ +} + +.zoom:hover { + transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */ +} -- 2.43.0