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 {
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
(package-install 'htmlize)
(package-install 'f)
;; Load the publishing system
(require 'ox-publish)
(require 'f)
;; Customize the HTML output
(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))
;; 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
(setq org-publish-project-alist
(list
@ -42,6 +47,7 @@
:with-toc t ;; Include a table of contents
:section-numbers nil ;; Don't include section numbers
:html-head novelli-html-head
:html-preamble novelli-header
:time-stamp-file nil)
(list "org-site:en"
:recursive t
@ -53,6 +59,7 @@
:with-toc t ;; Include a table of contents
:section-numbers nil ;; Don't include section numbers
:html-head novelli-html-head-nested-1
:html-preamble novelli-header
:time-stamp-file nil
)
(list "org-site:assets"

View File

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