language menu, small css fixes
parent
f742e9f414
commit
bd5cae98df
|
@ -10,7 +10,7 @@ body {
|
|||
.rainbow, h1 {
|
||||
text-align: center;
|
||||
text-decoration: underline;
|
||||
font-size: 1rem;
|
||||
font-size: 0.7rem;
|
||||
font-family: monospace;
|
||||
letter-spacing: 5px;
|
||||
}
|
||||
|
@ -24,20 +24,25 @@ body {
|
|||
padding: 0.2rem 0.6rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.75rem;
|
||||
font-family: CourierPrime;
|
||||
}
|
||||
|
||||
.rainbow_text_animated_2 {
|
||||
animation: rainbow_animation 7s ease-in-out infinite;
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.5rem;
|
||||
}
|
||||
.rainbow_text_animated_3 {
|
||||
animation: rainbow_animation 8s ease-in-out infinite;
|
||||
font-size: 0.7rem;
|
||||
font-size: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
.nav {
|
||||
display: flex;
|
||||
}
|
||||
.nav a {
|
||||
.nav a, .title.logo a {
|
||||
text-decoration: none;
|
||||
font-size: 0.7rem;
|
||||
font-weight: bold;
|
||||
|
@ -49,6 +54,12 @@ body {
|
|||
border: none;
|
||||
}
|
||||
|
||||
.language-menu {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
@keyframes rainbow_animation {
|
||||
0%,100% {
|
||||
background-position: 0 0;
|
||||
|
|
|
@ -32,7 +32,9 @@
|
|||
(defvar novelli-html-head-nested-1 (replace-regexp-in-string "../assets" "../../assets" novelli-html-head))
|
||||
|
||||
;; Read assets lio.txt
|
||||
(defvar novelli-header (concat "<div class=\"title\"><pre class=\"rainbow rainbow_text_animated\">" (f-read "assets/lio.txt" 'utf-8) "</pre></div><div class=\"nav\">" (f-read "assets/menu.html" ) "</div>"))
|
||||
(defvar novelli-header (concat "<div class=\"title logo\"><a href=\"index.html\"><pre class=\"rainbow rainbow_text_animated\">" (f-read "assets/lio.txt" 'utf-8) "</pre></a></div>
|
||||
<div class=\"nav\">" (f-read "assets/menu.html" ) "</div>
|
||||
<div class=\"language-menu test\"><a class=\"lang\" href=\"/\">SL</a> / <a class=\"lang\" href=\"en/\">EN</a></div>"))
|
||||
(defvar novelli-header-nested-1 (replace-regexp-in-string "href=\"" "href=\"..\/" novelli-header))
|
||||
|
||||
;; Define the publishing project
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#+TITLE: Lio Novelli
|
||||
#+OPTIONS: toc:nil
|
||||
#+OPTIONS: title:nil
|
||||
#+LANGUAGE: sl
|
||||
|
||||
* Dejavnosti
|
||||
|
|
Loading…
Reference in New Issue