diff --git a/src/assets/css/minimalist.css b/src/assets/css/minimalist.css
index 35cf864..1cdd2c3 100644
--- a/src/assets/css/minimalist.css
+++ b/src/assets/css/minimalist.css
@@ -3,7 +3,7 @@
*/
body {
font-family: menlo, monospace;
- font-size: 15px;
+ font-size: 13px;
line-height: 20px;
margin: 0;
padding: 0;
@@ -16,14 +16,19 @@ body {
#preamble {
border-bottom: solid 1px;
}
+#preamble h1 {
+ margin-bottom: 0;
+}
#postamble {
border-top: solid 1px;
}
#preamble,#postamble {
padding: 10px 0;
+}
+.menu {
opacity: 0.5;
}
-#preamble:focus,#postamble:focus, #preamble:hover,#postamble:hover {
+.menu:hover, .menu:focus {
opacity:1;
}
#content,.content {
@@ -31,6 +36,9 @@ body {
margin: 0 auto;
padding: 10px;
}
+#content *:first-child {
+ margin-top: 0;
+}
h1, h2, h3, h4, h5, h6, pre, code, blockquote, ol, ul, ol ol, ul ul, ul ol, ol
ul, li, p, section, header, footer {
@@ -276,8 +284,16 @@ body {
background: var(--main-background);
color: var(--main-foreground);
}
+::selection {
+ color: var(--todo-txt);
+ background-color: var(--yellow);
+}
+::-moz-selection {
+ color: var(--todo-txt);
+ background-color: var(--yellow);
+}
a, a:visited {
- color: var(--base1);
+ color: var(--second-foreground);
}
a:hover, a:active, a:focus {
color: var(--yellow);
diff --git a/src/index.org b/src/index.org
index a9c9b67..63e781c 100644
--- a/src/index.org
+++ b/src/index.org
@@ -38,8 +38,8 @@ I write all the content with [[http://orgmode.org][org-mode]].
(defun org-blog-prepare (project-plist)
"With help from `https://github.com/howardabrams/dot-files'.
- Touch `index.org' to rebuilt it.
- Argument `PROJECT-PLIST' contains information about the current project."
+ Touch `index.org' to rebuilt it.
+ Argument `PROJECT-PLIST' contains information about the current project."
(let* ((base-directory (plist-get project-plist :base-directory))
(buffer (find-file-noselect (expand-file-name "index.org" base-directory) t)))
(with-current-buffer buffer
@@ -53,14 +53,15 @@ I write all the content with [[http://orgmode.org][org-mode]].
""
""))
- (defun menu ()
+ (defun menu (lst)
"Blog menu"
(concat
- "