Shinny rainbox title.

main
Liopold D. Novelli 2024-09-20 20:26:04 +02:00
parent 4c2961a93b
commit 0162754002
4 changed files with 41 additions and 0 deletions

View File

@ -6,3 +6,29 @@
body { body {
font-family: CourierPrime; font-family: CourierPrime;
} }
.rainbow {
text-align: center;
text-decoration: underline;
font-size: 1rem;
font-family: monospace;
letter-spacing: 5px;
}
.rainbow_text_animated {
background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: rainbow_animation 6s ease-in-out infinite;
background-size: 400% 100%;
}
@keyframes rainbow_animation {
0%,100% {
background-position: 0 0;
}
50% {
background-position: 100% 0;
}
}

6
assets/lio.txt 100644
View File

@ -0,0 +1,6 @@
_ _ _ _ _ _ _
| | (_) ___ | \ | | _____ _____| | (_)
| | | |/ _ \ | \| |/ _ \ \ / / _ \ | | |
| |___| | (_) | | |\ | (_) \ V / __/ | | |
|_____|_|\___/ |_| \_|\___/ \_/ \___|_|_|_|

View File

@ -12,9 +12,11 @@
;; Install dependencies ;; Install dependencies
(package-install 'htmlize) (package-install 'htmlize)
(package-install 'f)
;; Load the publishing system ;; Load the publishing system
(require 'ox-publish) (require 'ox-publish)
(require 'f)
;; Customize the HTML output ;; Customize the HTML output
(setq org-html-validation-link nil ;; Don't show validation link (setq org-html-validation-link nil ;; Don't show validation link
@ -29,6 +31,9 @@
(defvar novelli-html-head-nested-1 (replace-regexp-in-string "../assets" "../../assets" novelli-html-head)) (defvar novelli-html-head-nested-1 (replace-regexp-in-string "../assets" "../../assets" novelli-html-head))
;; Read assets lio.txt
(defvar novelli-header (concat "<pre class=\"rainbow rainbow_text_animated\">" (f-read "assets/lio.txt" 'utf-8) "</pre>"))
;; Define the publishing project ;; Define the publishing project
(setq org-publish-project-alist (setq org-publish-project-alist
(list (list
@ -42,6 +47,7 @@
:with-toc t ;; Include a table of contents :with-toc t ;; Include a table of contents
:section-numbers nil ;; Don't include section numbers :section-numbers nil ;; Don't include section numbers
:html-head novelli-html-head :html-head novelli-html-head
:html-preamble novelli-header
:time-stamp-file nil) :time-stamp-file nil)
(list "org-site:en" (list "org-site:en"
:recursive t :recursive t
@ -53,6 +59,7 @@
:with-toc t ;; Include a table of contents :with-toc t ;; Include a table of contents
:section-numbers nil ;; Don't include section numbers :section-numbers nil ;; Don't include section numbers
:html-head novelli-html-head-nested-1 :html-head novelli-html-head-nested-1
:html-preamble novelli-header
:time-stamp-file nil :time-stamp-file nil
) )
(list "org-site:assets" (list "org-site:assets"

View File

@ -1,5 +1,6 @@
#+TITLE: Liopold D. Novelli #+TITLE: Liopold D. Novelli
#+OPTIONS: toc:nil #+OPTIONS: toc:nil
#+LANGUAGE: sl
* Dejavnosti * Dejavnosti
@ -7,3 +8,4 @@
- organizator samoupravne samogostiteljske skupnosti [[https://kompot.si][Kompot]] - organizator samoupravne samogostiteljske skupnosti [[https://kompot.si][Kompot]]
- regijski predstavnik programa [[https://nlnet.nl/NGI0/][NGI0]] - regijski predstavnik programa [[https://nlnet.nl/NGI0/][NGI0]]
- [[https://www.drupal.org/u/useernamee][Drupal/PHP razvijalec]] - [[https://www.drupal.org/u/useernamee][Drupal/PHP razvijalec]]
- Član [[https://emacs.si/][Emacs user group Slovenia]]