From: Jérémie Astor Date: Tue, 26 Nov 2019 22:06:47 +0000 (+0100) Subject: :art: Update X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=044ddcdf71d4aed36c344dbc3eddaf75729739ef;p=gwion.git :art: Update --- 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) */ +}