Browse Source

add lightbox

les 4 years ago
parent
commit
c8b0cc60ec
4 changed files with 21 additions and 3 deletions
  1. 9 0
      README.md
  2. 5 0
      docs/css/blackout.css
  3. 0 0
      docs/js/fslightbox.js
  4. 7 3
      mkdocs.yml

+ 9 - 0
README.md

@@ -0,0 +1,9 @@
+# Appunti di informatica libera
+
+
+```bash
+
+$ pip3 install mkdocs-material mkdocs-pdf-export-plugin mkdocs-git-revision-date-localized-plugin
+$ mkdocs serve
+
+```

+ 5 - 0
docs/css/blackout.css

@@ -6,6 +6,11 @@
 	max-width:1000px;
 } */
 
+body {
+	overflow: auto !important;
+	scrollbar-width: thin;
+}
+
 .img {
 	max-width: 600px !important;
 	max-height: 500px !important;

File diff suppressed because it is too large
+ 0 - 0
docs/js/fslightbox.js


+ 7 - 3
mkdocs.yml

@@ -1,5 +1,5 @@
-site_name: Appunti di informatica libera
-site_url: https://doc.cisti.org
+site_name: Cisti.org
+site_url: https://cisti.org/doc
 site_description: 'Appunti di informatica libera per la sopravvivenza digitale'
 site_author: 'Underscore Hacklab'
 repo_name: 'Sorgenti'
@@ -30,6 +30,8 @@ markdown_extensions:
 
 extra_css:
   - css/blackout.css
+extra_javascript:
+  - js/fslightbox.js
 plugins:
   - search
   - git-revision-date-localized:
@@ -39,4 +41,6 @@ plugins:
 
 nav:
   - Intro: index.md
-  - Farma: mumble.md
+  - Farma:
+    - Intro: mumble/intro.md
+    - Telefono: mumble/telefono.md

Some files were not shown because too many files changed in this diff