[Emacs Lisp] Personal ~/.emacs.d/ configuration folder.
www
Changed files
www/about.org
@@ -5,6 +5,6 @@
5
5
#+DATE: <2021-02-09 Tue>
6
6
7
7
#+SETUPFILE: ~/.emacs.d/www/sd-setup.org
8
Removed:
#+INCLUDE: ./topbar.html export html
8
Added:
#+INCLUDE: ./navbar.html export html
9
9
10
10
Contact me at [[https://t.me/Blendoit][t.me/Blendoit]] or at [[mailto:smart-documents@tuta.io][smart-documents@tuta.io]].
www/css/base.css
@@ -1,13 +1,14 @@
1
1
:root {
2
Removed:
--primary-color: #333333;
3
Removed:
--secondary-color: #FFFFFF;
4
Removed:
--home: #c8c8c8;
5
Removed:
--yes: #5cff5c;
2
Added:
/* Colors */
3
Added:
--primary: #333333;
4
Added:
--text: #ffffff;
5
Added:
--accent: #4682b4;
6
Added:
--link: #87cefa;
6
7
--no: #ff5c5c;
7
Removed:
font-size: 18;
8
Removed:
--fast-speed: 0.2s;
9
Removed:
--med-speed: 0.4s;
10
Removed:
--slow-speed: 1s;
8
Added:
/* Timings */
9
Added:
--high-speed: 0.3s;
10
Added:
--med-speed: 0.5s;
11
Added:
--low-speed: 1.0s;
11
12
}
12
13
13
14
code {
@@ -16,21 +17,23 @@
16
17
17
18
body {
18
19
font-family: 'Jost*', sans-serif;
19
Removed:
line-height: 1.2;
20
Removed:
margin: 0;
21
Removed:
padding: 0;
22
Removed:
background-color: var(--primary-color);
23
Removed:
color: var(--secondary-color);
24
Removed:
filter: blur(0px);
20
Added:
font-size: 12px;
21
Added:
margin: 3em;
22
Added:
background-color: var(--primary);
23
Added:
color: var(--text);
25
24
}
26
25
27
26
.outline-2 {
27
Added:
bottom: 0;
28
Added:
left: 0;
28
29
filter: blur(4px);
29
Removed:
transition: 0.3s;
30
Added:
transition: var(--high-speed);
31
Added:
max-width: 60vw;
30
32
}
31
33
.outline-2:hover {
32
34
filter: blur(0px);
33
Removed:
transition: 0.3s;
35
Added:
transition: var(--med-speed);
36
Added:
font-size: 14px;
34
37
}
35
38
36
39
p {
@@ -38,5 +41,5 @@
38
41
}
39
42
40
43
a {
41
Removed:
color: gray;
44
Added:
color: var(--link);
42
45
}
www/css/index.css
@@ -1,15 +1,9 @@
1
Removed:
.title {
2
Removed:
background: no-repeat center/100% url("./space.jpg");
3
Removed:
position: relative;
4
Removed:
bottom: 0;
5
Removed:
filter: blur(4px);
6
Removed:
transition: 0.3s;
1
Added:
.outline-2 {
2
Added:
min-height: 70vh;
3
Added:
bottom: 30px;
7
4
}
8
Removed:
.title:hover {
9
Removed:
line-height: 2;
10
Removed:
background: no-repeat center/100% url("./space.jpg");
11
Removed:
position: relative;
5
Added:
6
Added:
.outline-text-2 {
7
Added:
position: absolute;
12
8
bottom: 0;
13
Removed:
filter: blur(0px);
14
Removed:
transition: 0.5s;
15
9
}
www/css/navbar.css
@@ -1,29 +1,40 @@
1
Removed:
/* Add a black background color to the top navigation */
2
1
nav {
3
Removed:
display: block;
4
Removed:
background-color: #333;
5
Removed:
position: relative;
6
Removed:
z-index: 10;
2
Added:
background-color: var(--accent);
3
Added:
color: var(--text);
4
Added:
position: fixed;
5
Added:
height: 36px;
6
Added:
display: flex;
7
Added:
align-items: center;
8
Added:
top: 12px;
9
Added:
right: 12px;
10
Added:
border-radius: 12px;
11
Added:
/* box-shadow x-offset y-offset blur spread color */
12
Added:
box-shadow: 8px 8px 40px 2px #111111;
13
Added:
z-index: 1;
7
14
}
15
Added:
nav ul {
16
Added:
}
17
Added:
/* Display navbar elements horizontally. */
18
Added:
nav ul * {
19
Added:
display: inline;
20
Added:
margin: 0.2em;
21
Added:
}
8
22
9
Removed:
/* Style the links inside the navigation bar */
23
Added:
/* Style the links inside the navigation bar. */
10
24
nav a {
11
Removed:
float: left;
12
Removed:
color: #f2f2f2;
13
Removed:
text-align: center;
14
Removed:
padding: 14px 16px;
15
Removed:
text-decoration: none;
16
Removed:
font-size: 17px;
25
Added:
color: var(--text);
26
Added:
font-size: 16px;
17
27
}
18
28
19
Removed:
/* Change the color of links on hover */
29
Added:
/* Change the color of links on hover. */
20
30
nav a:hover {
21
Removed:
background-color: #ddd;
22
Removed:
color: black;
31
Added:
background-color: var(--link);
32
Added:
color: var(--primary);
33
Added:
transition: var(--med-speed);
23
34
}
24
35
25
36
/* Add a color to the active/current link */
26
37
nav a.active {
27
Removed:
background-color: #4CAF50;
28
Removed:
color: white;
38
Added:
background-color: var(--accent);
39
Added:
color: white;
29
40
}
www/index.org
@@ -3,19 +3,24 @@
3
3
#+TITLE: Smart Documents
4
4
#+AUTHOR: Marius Peter
5
5
#+DATE: <2021-02-09 Tue>
6
Added:
#+EMAIL: smart-documents@tuta.io
6
7
7
8
#+SETUPFILE: ~/.emacs.d/www/sd-setup.org
8
Removed:
#+INCLUDE: ./topbar.html export html
9
9
# Extra styling for the home page
10
10
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/index.css"/>
11
11
12
Added:
#+INCLUDE: ./navbar.html export html
13
Added:
14
Added:
# Make your personal & professional documents 10\times better.
15
Added:
12
16
* Perfect documents every time.
17
Added:
:PROPERTIES:
18
Added:
:CUSTOM_ID: perfect-documents
19
Added:
:END:
13
20
14
21
Focus on your content and let the editor work out the appearance, for
15
Removed:
flawless exports every time.
22
Added:
flawless exports every time.
16
23
17
Removed:
Program your documents in your favorite language thanks to the power
18
Removed:
of [[https://orgmode.org/worg/org-contrib/babel/intro.html][Org Babel]].
19
24
20
25
* Collaboration done right.
21
26
@@ -36,17 +41,15 @@
36
41
37
42
* Program your documents.
38
43
39
Removed:
Unleash the power of /literate programming/ through Org mode.
44
Added:
Program your documents in your favorite language thanks to the power
45
Added:
of [[https://orgmode.org/worg/org-contrib/babel/intro.html][Org Babel]].
40
46
41
47
* Download
42
48
43
49
You can download the current development snapshot on GitHub at
44
50
[[https://github.com/Blendoit/.emacs.d]].
45
51
46
Removed:
* Donate
52
Added:
* Support this project
47
53
48
Removed:
Support the development of this project at the following places:
49
Removed:
50
Removed:
- Venmo :: =@Blendoit=
51
Removed:
- CashApp :: =$MariusPeter=
52
Removed:
- PayPal :: [[mailto:mariuspeter.blendux@gmail.com][mariuspeter.blendux@gmail.com]]
54
Added:
For all inquiries related to donations, please send an e-mail to
55
Added:
[[mailto:smart-documents@tuta.io][smart-documents@tuta.io]]
www/jobs.org
@@ -4,9 +4,9 @@
4
4
#+AUTHOR: Marius Peter
5
5
#+DATE: <2021-02-09 Tue>
6
6
#+SETUPFILE: ./sd-setup.org
7
Removed:
#+INCLUDE: ./topbar.html export html
8
Removed:
9
7
#+OPTIONS: toc:1
8
Added:
9
Added:
#+INCLUDE: ./navbar.html export html
10
10
11
11
* Educators & Academics
12
12
www/publish.el
@@ -0,0 +1,84 @@
1
Added:
(setq org-publish-project-alist
2
Added:
'(;; First Project
3
Added:
("org-notes"
4
Added:
:base-directory "~/www/org/"
5
Added:
:base-extension "org"
6
Added:
:publishing-directory "~/www/build/"
7
Added:
:recursive t
8
Added:
:exclude ".*-template\.org\\|README\.org" ; exclude org-reveal slides and other files
9
Added:
:publishing-function org-html-publish-to-html
10
Added:
:headline-levels 2 ; Just the default for this project.
11
Added:
:auto-sitemap t ; Generate sitemap.org automagically...
12
Added:
:sitemap-filename "org-sitemap.org" ; ... call it sitemap.org (it's the default)...
13
Added:
:sitemap-title "Plan du site" ; ... with title 'Sitemap'.
14
Added:
:with-creator nil ; Disable the inclusion of "Created by Org" in the postamble.
15
Added:
:with-email nil ; Disable the inclusion of "(your email)" in the postamble.
16
Added:
:with-author nil ; Enable the inclusion of "Author: Your Name" in the postamble.
17
Added:
:auto-preamble t; ; Enable auto preamble
18
Added:
:auto-postamble t ; Enable auto postamble
19
Added:
:table-of-contents t ; Set this to "t" if you want a table of contents, set to "nil" disables TOC.
20
Added:
:toc-levels 1 ; Just the default for this project.
21
Added:
:section-numbers nil ; Set this to "t" if you want headings to have numbers.
22
Added:
:html-head-include-default-style nil ;Enable the default css style
23
Added:
:html-head-include-scripts nil ;Disable the default javascript snippet
24
Added:
:html-head "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"css/org.css\"/>\n<script type=\"text/javascript\" src=\"js/ga.min.js\"></script>" ;Enable custom css style and other tags
25
Added:
:html-link-home "index.html" ; Just the default for this project.
26
Added:
:html-link-up "misc.html" ; Just the default for this project.
27
Added:
)
28
Added:
29
Added:
("org-static"
30
Added:
:base-directory "~/www/org/"
31
Added:
:base-extension "html\\|xml\\|css\\|js\\|png\\|jpg\\|jpeg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|zip\\|gz\\|csv\\|m\\|R\\|el"
32
Added:
:include (".htaccess")
33
Added:
:publishing-directory "~/www/build/"
34
Added:
:recursive t
35
Added:
:publishing-function org-publish-attachment
36
Added:
:exclude "Rplots.pdf\\|README\\|LICENSE\\|\\.gitignore"
37
Added:
)
38
Added:
39
Added:
("org"
40
Added:
:components ("org-notes" "org-static")
41
Added:
)
42
Added:
43
Added:
44
Added:
;; Second Project
45
Added:
("org-r-notes"
46
Added:
:base-directory "~/teaching/algo-prog-R/org/"
47
Added:
:base-extension "org"
48
Added:
:publishing-directory "~/teaching/algo-prog-R/build/"
49
Added:
:recursive t
50
Added:
:exclude ".*-template\.org\\|README\.org" ; exclude org-reveal slides and other files
51
Added:
:publishing-function org-html-publish-to-html
52
Added:
:headline-levels 2 ; Just the default for this project.
53
Added:
:auto-sitemap t ; Generate sitemap.org automagically...
54
Added:
:sitemap-filename "sitemap.org" ; ... call it sitemap.org (it's the default)...
55
Added:
:sitemap-title "Sitemap" ; ... with title 'Sitemap'.
56
Added:
:with-creator nil ; Disable the inclusion of "Created by Org" in the postamble.
57
Added:
:with-email nil ; Disable the inclusion of "(your email)" in the postamble.
58
Added:
:with-author nil ; Enable the inclusion of "Author: Your Name" in the postamble.
59
Added:
:auto-preamble t; ; Enable auto preamble
60
Added:
:auto-postamble t ; Enable auto postamble
61
Added:
:table-of-contents t ; Set this to "t" if you want a table of contents, set to "nil" disables TOC.
62
Added:
:toc-levels 2 ; Just the default for this project.
63
Added:
:section-numbers t ; Set this to "t" if you want headings to have numbers.
64
Added:
:html-head-include-default-style nil ;Enable the default css style
65
Added:
:html-head-include-scripts nil ;Disable the default javascript snippet
66
Added:
:html-head "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"css/org.css\"/>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"css/logo_uns.min.css\" />\n<script type=\"text/javascript\" src=\"js/ga.min.js\"></script>" ;Enable custom css style and other tags
67
Added:
:html-link-home "index.html" ; Just the default for this project.
68
Added:
:html-link-up "sitemap.html" ; Just the default for this project.
69
Added:
)
70
Added:
71
Added:
("org-r-static"
72
Added:
:base-directory "~/teaching/algo-prog-R/org/"
73
Added:
:base-extension "html\\|xml\\|css\\|js\\|png\\|jpg\\|jpeg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|zip\\|gz\\|csv\\|m\\|R"
74
Added:
:publishing-directory "~/teaching/algo-prog-R/build/"
75
Added:
:recursive t
76
Added:
:publishing-function org-publish-attachment
77
Added:
:exclude "Rplots.pdf\\|README\\|LICENSE\\|\\.gitignore"
78
Added:
)
79
Added:
80
Added:
("org-r"
81
Added:
:components ("org-r-notes" "org-r-static")
82
Added:
)
83
Added:
)
84
Added:
)