]> Nishi Git Mirror - gwion.git/commitdiff
:art: Update
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 26 Nov 2019 22:06:47 +0000 (23:06 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 26 Nov 2019 22:06:47 +0000 (23:06 +0100)
book.toml [new file with mode: 0644]
custom.css [new file with mode: 0644]

diff --git a/book.toml b/book.toml
new file mode 100644 (file)
index 0000000..9c120e7
--- /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 (file)
index 0000000..a453272
--- /dev/null
@@ -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) */
+}