diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/about.org | 2 | ||||
-rw-r--r-- | www/css/base.css | 37 | ||||
-rw-r--r-- | www/css/index.css | 18 | ||||
-rw-r--r-- | www/css/navbar.css | 45 | ||||
-rw-r--r-- | www/index.org | 25 | ||||
-rw-r--r-- | www/jobs.org | 4 | ||||
-rw-r--r-- | www/publish.el | 84 |
7 files changed, 155 insertions, 60 deletions
diff --git a/www/about.org b/www/about.org index c2a150c..9568b1a 100644 --- a/www/about.org +++ b/www/about.org @@ -5,6 +5,6 @@ #+DATE: <2021-02-09 Tue> #+SETUPFILE: ~/.emacs.d/www/sd-setup.org -#+INCLUDE: ./topbar.html export html +#+INCLUDE: ./navbar.html export html Contact me at [[https://t.me/Blendoit][t.me/Blendoit]] or at [[mailto:smart-documents@tuta.io][smart-documents@tuta.io]]. diff --git a/www/css/base.css b/www/css/base.css index fa525e8..49111bc 100644 --- a/www/css/base.css +++ b/www/css/base.css @@ -1,13 +1,14 @@ :root { - --primary-color: #333333; - --secondary-color: #FFFFFF; - --home: #c8c8c8; - --yes: #5cff5c; + /* Colors */ + --primary: #333333; + --text: #ffffff; + --accent: #4682b4; + --link: #87cefa; --no: #ff5c5c; - font-size: 18; - --fast-speed: 0.2s; - --med-speed: 0.4s; - --slow-speed: 1s; + /* Timings */ + --high-speed: 0.3s; + --med-speed: 0.5s; + --low-speed: 1.0s; } code { @@ -16,21 +17,23 @@ code { body { font-family: 'Jost*', sans-serif; - line-height: 1.2; - margin: 0; - padding: 0; - background-color: var(--primary-color); - color: var(--secondary-color); - filter: blur(0px); + font-size: 12px; + margin: 3em; + background-color: var(--primary); + color: var(--text); } .outline-2 { + bottom: 0; + left: 0; filter: blur(4px); - transition: 0.3s; + transition: var(--high-speed); + max-width: 60vw; } .outline-2:hover { filter: blur(0px); - transition: 0.3s; + transition: var(--med-speed); + font-size: 14px; } p { @@ -38,5 +41,5 @@ p { } a { - color: gray; + color: var(--link); } diff --git a/www/css/index.css b/www/css/index.css index e79ccd2..48f4501 100644 --- a/www/css/index.css +++ b/www/css/index.css @@ -1,15 +1,9 @@ -.title { - background: no-repeat center/100% url("./space.jpg"); - position: relative; - bottom: 0; - filter: blur(4px); - transition: 0.3s; +.outline-2 { + min-height: 70vh; + bottom: 30px; } -.title:hover { - line-height: 2; - background: no-repeat center/100% url("./space.jpg"); - position: relative; + +.outline-text-2 { + position: absolute; bottom: 0; - filter: blur(0px); - transition: 0.5s; } diff --git a/www/css/navbar.css b/www/css/navbar.css index 23583b7..892f302 100644 --- a/www/css/navbar.css +++ b/www/css/navbar.css @@ -1,29 +1,40 @@ -/* Add a black background color to the top navigation */ nav { - display: block; - background-color: #333; - position: relative; - z-index: 10; + background-color: var(--accent); + color: var(--text); + position: fixed; + height: 36px; + display: flex; + align-items: center; + top: 12px; + right: 12px; + border-radius: 12px; + /* box-shadow x-offset y-offset blur spread color */ + box-shadow: 8px 8px 40px 2px #111111; + z-index: 1; +} +nav ul { +} +/* Display navbar elements horizontally. */ +nav ul * { + display: inline; + margin: 0.2em; } -/* Style the links inside the navigation bar */ +/* Style the links inside the navigation bar. */ nav a { - float: left; - color: #f2f2f2; - text-align: center; - padding: 14px 16px; - text-decoration: none; - font-size: 17px; + color: var(--text); + font-size: 16px; } -/* Change the color of links on hover */ +/* Change the color of links on hover. */ nav a:hover { - background-color: #ddd; - color: black; + background-color: var(--link); + color: var(--primary); + transition: var(--med-speed); } /* Add a color to the active/current link */ nav a.active { - background-color: #4CAF50; - color: white; + background-color: var(--accent); + color: white; } diff --git a/www/index.org b/www/index.org index 5ccd1b9..f2a5e17 100644 --- a/www/index.org +++ b/www/index.org @@ -3,19 +3,24 @@ #+TITLE: Smart Documents #+AUTHOR: Marius Peter #+DATE: <2021-02-09 Tue> +#+EMAIL: smart-documents@tuta.io #+SETUPFILE: ~/.emacs.d/www/sd-setup.org -#+INCLUDE: ./topbar.html export html # Extra styling for the home page #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/index.css"/> +#+INCLUDE: ./navbar.html export html + +# Make your personal & professional documents 10\times better. + * Perfect documents every time. +:PROPERTIES: +:CUSTOM_ID: perfect-documents +:END: Focus on your content and let the editor work out the appearance, for -flawless exports every time. + flawless exports every time. -Program your documents in your favorite language thanks to the power -of [[https://orgmode.org/worg/org-contrib/babel/intro.html][Org Babel]]. * Collaboration done right. @@ -36,17 +41,15 @@ added to your organization's internal wiki. * Program your documents. -Unleash the power of /literate programming/ through Org mode. +Program your documents in your favorite language thanks to the power +of [[https://orgmode.org/worg/org-contrib/babel/intro.html][Org Babel]]. * Download You can download the current development snapshot on GitHub at [[https://github.com/Blendoit/.emacs.d]]. -* Donate - -Support the development of this project at the following places: +* Support this project -- Venmo :: =@Blendoit= -- CashApp :: =$MariusPeter= -- PayPal :: [[mailto:mariuspeter.blendux@gmail.com][mariuspeter.blendux@gmail.com]] +For all inquiries related to donations, please send an e-mail to +[[mailto:smart-documents@tuta.io][smart-documents@tuta.io]] diff --git a/www/jobs.org b/www/jobs.org index e1d4ac4..7925eff 100644 --- a/www/jobs.org +++ b/www/jobs.org @@ -4,10 +4,10 @@ #+AUTHOR: Marius Peter #+DATE: <2021-02-09 Tue> #+SETUPFILE: ./sd-setup.org -#+INCLUDE: ./topbar.html export html - #+OPTIONS: toc:1 +#+INCLUDE: ./navbar.html export html + * Educators & Academics ** Teacher diff --git a/www/publish.el b/www/publish.el new file mode 100644 index 0000000..dbf8988 --- /dev/null +++ b/www/publish.el @@ -0,0 +1,84 @@ +(setq org-publish-project-alist + '(;; First Project + ("org-notes" + :base-directory "~/www/org/" + :base-extension "org" + :publishing-directory "~/www/build/" + :recursive t + :exclude ".*-template\.org\\|README\.org" ; exclude org-reveal slides and other files + :publishing-function org-html-publish-to-html + :headline-levels 2 ; Just the default for this project. + :auto-sitemap t ; Generate sitemap.org automagically... + :sitemap-filename "org-sitemap.org" ; ... call it sitemap.org (it's the default)... + :sitemap-title "Plan du site" ; ... with title 'Sitemap'. + :with-creator nil ; Disable the inclusion of "Created by Org" in the postamble. + :with-email nil ; Disable the inclusion of "(your email)" in the postamble. + :with-author nil ; Enable the inclusion of "Author: Your Name" in the postamble. + :auto-preamble t; ; Enable auto preamble + :auto-postamble t ; Enable auto postamble + :table-of-contents t ; Set this to "t" if you want a table of contents, set to "nil" disables TOC. + :toc-levels 1 ; Just the default for this project. + :section-numbers nil ; Set this to "t" if you want headings to have numbers. + :html-head-include-default-style nil ;Enable the default css style + :html-head-include-scripts nil ;Disable the default javascript snippet + :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 + :html-link-home "index.html" ; Just the default for this project. + :html-link-up "misc.html" ; Just the default for this project. + ) + + ("org-static" + :base-directory "~/www/org/" + :base-extension "html\\|xml\\|css\\|js\\|png\\|jpg\\|jpeg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|zip\\|gz\\|csv\\|m\\|R\\|el" + :include (".htaccess") + :publishing-directory "~/www/build/" + :recursive t + :publishing-function org-publish-attachment + :exclude "Rplots.pdf\\|README\\|LICENSE\\|\\.gitignore" + ) + + ("org" + :components ("org-notes" "org-static") + ) + + + ;; Second Project + ("org-r-notes" + :base-directory "~/teaching/algo-prog-R/org/" + :base-extension "org" + :publishing-directory "~/teaching/algo-prog-R/build/" + :recursive t + :exclude ".*-template\.org\\|README\.org" ; exclude org-reveal slides and other files + :publishing-function org-html-publish-to-html + :headline-levels 2 ; Just the default for this project. + :auto-sitemap t ; Generate sitemap.org automagically... + :sitemap-filename "sitemap.org" ; ... call it sitemap.org (it's the default)... + :sitemap-title "Sitemap" ; ... with title 'Sitemap'. + :with-creator nil ; Disable the inclusion of "Created by Org" in the postamble. + :with-email nil ; Disable the inclusion of "(your email)" in the postamble. + :with-author nil ; Enable the inclusion of "Author: Your Name" in the postamble. + :auto-preamble t; ; Enable auto preamble + :auto-postamble t ; Enable auto postamble + :table-of-contents t ; Set this to "t" if you want a table of contents, set to "nil" disables TOC. + :toc-levels 2 ; Just the default for this project. + :section-numbers t ; Set this to "t" if you want headings to have numbers. + :html-head-include-default-style nil ;Enable the default css style + :html-head-include-scripts nil ;Disable the default javascript snippet + :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 + :html-link-home "index.html" ; Just the default for this project. + :html-link-up "sitemap.html" ; Just the default for this project. + ) + + ("org-r-static" + :base-directory "~/teaching/algo-prog-R/org/" + :base-extension "html\\|xml\\|css\\|js\\|png\\|jpg\\|jpeg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|zip\\|gz\\|csv\\|m\\|R" + :publishing-directory "~/teaching/algo-prog-R/build/" + :recursive t + :publishing-function org-publish-attachment + :exclude "Rplots.pdf\\|README\\|LICENSE\\|\\.gitignore" + ) + + ("org-r" + :components ("org-r-notes" "org-r-static") + ) + ) + ) |