summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2024-02-08 19:13:27 -0300
committerRoger Gonzalez <roger@rogs.me>2024-02-08 19:13:27 -0300
commit209ee46444ac9620daacb74887baa7e0bc939982 (patch)
tree902642ec151ad575454fcbd4e4b2faa3794d0611
parent0bf6b72d5f462b9ccc5fb39aebbf9fa025b19f4f (diff)
Dockerized the website
-rw-r--r--.dockerignore3
-rw-r--r--.gitignore1
-rw-r--r--Dockerfile16
-rw-r--r--README.org19
-rw-r--r--content/index.org2
-rw-r--r--content/section/index.org2
-rwxr-xr-xdeploy.sh8
-rw-r--r--public/index.html79
-rw-r--r--public/menu.html41
-rw-r--r--public/section/index.html63
10 files changed, 49 insertions, 185 deletions
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..550b510
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,3 @@
+./public
+./.packages
+./.git
diff --git a/.gitignore b/.gitignore
index 162e249..f6925bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
.packages/
+public/
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..1a04dc1
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+FROM nginx:alpine
+LABEL maintainer="Roger Gonzalez <roger@rogs.me>"
+
+WORKDIR /app
+COPY . .
+
+RUN rm /usr/share/nginx/html/* && \
+ apk add --no-cache emacs git && \
+ emacs -Q --script build-site.el && \
+ cp -R ./public/* /usr/share/nginx/html && \
+ apk del emacs git
+
+EXPOSE 80
+
+# Start Nginx and keep it running in the foreground
+CMD ["nginx", "-g", "daemon off;"]
diff --git a/README.org b/README.org
index 93f7e10..7b657de 100644
--- a/README.org
+++ b/README.org
@@ -28,6 +28,25 @@ Now, run ~./build.sh~:
Go to ./content/menu.org and run the code block. On the "RESULTS" section, remove the ~:~ at the begining
of the result.
+* Deploy
+:PROPERTIES:
+:ID: 2986441f-1d14-4dcd-9282-9c7aa194a6e8
+:END:
+This package is self deployable, ready to run behind a proxy (like NGINX Proxy Manager)
+
+Make sure you have Emacs installed on the destination server.
+
+First, make ~deploy.sh~ an executable:
+#+begin_src bash
+chmod +x deploy.sh
+#+end_src
+
+Now run ~./deploy.sh~:
+#+begin_src bash
+NAME="org-wiki" PORT=8080 ./deploy.sh
+#+end_src
+
+
* License
:PROPERTIES:
:ID: 847b2c69-f711-4bde-b75c-c95a8d9cba9e
diff --git a/content/index.org b/content/index.org
index 873bef7..5590252 100644
--- a/content/index.org
+++ b/content/index.org
@@ -1,5 +1,5 @@
#+title: Org Mode Wiki site
-#+INCLUDE: "~/code/personal/org-web-wiki-template/content/menu.org"
+#+INCLUDE: "./menu.org"
* Overview
:PROPERTIES:
diff --git a/content/section/index.org b/content/section/index.org
index 47ed382..9ec8403 100644
--- a/content/section/index.org
+++ b/content/section/index.org
@@ -1,5 +1,5 @@
#+title: Another section
-#+INCLUDE: "~/code/personal/org-web-wiki-template/content/menu.org"
+#+INCLUDE: "../menu.org"
This is another section
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..8d415bc
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+docker rm "$NAME" --force
+
+docker image rm "$NAME"
+
+docker build -t "$NAME" .
+
+docker run --name "$NAME" -d -p "$PORT":80 "$NAME"
diff --git a/public/index.html b/public/index.html
deleted file mode 100644
index 48d9a44..0000000
--- a/public/index.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1" />
-<title>Org Mode Wiki site</title>
-<meta name="author" content="Roger Gonzalez" />
-<meta name="generator" content="Org Mode" />
-
-<meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta name="viewport" content="width=device-width, initial-scale=1">
-<style type="text/css">
-html,button,input,select,textarea { color: #484C66;}html { font-size: 90%; line-height: 1.4;}*,*:before,*:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}a { white-space: pre; white-space: pre-wrap; white-space: pre-line; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: -moz-pre-wrap; white-space: -hp-pre-wrap; word-wrap: break-word; text-decoration: none;}a:hover { color: #0A4C89;}/* * Remove text-shadow in selection highlight: h5bp.com/i * These selection rule sets have to be separate. * Customize the background color to match your design. */::-moz-selection { background: #0A4C89; color: #FFF; text-shadow: none;}::selection { background: #0A4C89; color: #FFF; text-shadow: none;}/* * A better looking default horizontal rule */hr { display: block; height: 1px; border: 0; border-top: 1px dashed #CCC; margin: 1em 0; padding: 0;}/* * Remove the gap between images, videos, audio and canvas and the bottom of * their containers: h5bp.com/i/440 */audio,canvas,img,video { vertical-align: middle;}/* * Remove default fieldset styles. */fieldset { border: 0; margin: 0; padding: 0;}/* * Allow only vertical resizing of textareas. */textarea { resize: vertical;}/* ========================================================================== Author's custom styles ========================================================================== */.todo,.done,.tag { font-family: "Source Pro", Monaco, "Courier New", monospace; padding: 0 0.3em; background-color: #EEE; border: 1px solid #CCC;}.todo { color: #DD4433;}.done { color: #44934B;}.tag { font-size: 80%; font-weight: normal; margin: 0 0.3em; display: none;}.timestamp { color: #BEBEBE;}.timestamp-kwd { color: #5F9EA0;}.right { margin-left: auto; margin-right: 0px; text-align: right;}.left { margin-left: 0px; margin-right: auto; text-align: left;}.center { margin-left: auto; margin-right: auto; text-align: center;}.underline { text-decoration: underline;}#postamble p,#preamble p { font-size: 90%; margin: .2em;}pre,code { font-family: "Source Pro", Monaco, "Courier New", monospace; padding-left: 0.3em; padding-right: 0.3em;}pre { font-size: 90%; padding: 8pt; overflow: auto; white-space: pre; word-wrap: normal;}pre.src { position: relative;}pre.src:before { display: none; position: absolute; background-color: #FFF; top: 0.5em; right: 0.5em; padding: 4px; border: 1px solid #CCC;}pre.src-sh:before { content: "Shell Script";}pre.src-bash:before { content: "Bash Script";}pre.src-emacs-lisp:before { content: "Emacs Lisp";}pre.src-R:before { content: "R";}pre.src-perl:before { content: "Perl";}pre.src-java:before { content: "Java";}pre.src-sql:before { content: "SQL";}pre.src-c:before { content: "C";}pre.src-cpp:before { content: "C++";}pre.src-html:before { content: "HTML";}table { border-collapse: collapse; display: block; overflow-x: auto;}caption.t-above { caption-side: top;}caption.t-bottom { caption-side: bottom;}td, th { vertical-align: top; border: 1px solid #CCC; padding: 0.5em;}th.right { text-align: center;}th.left { text-align: center;}th.center { text-align: center;}td.right { text-align: right;}td.left { text-align: left;}td.center { text-align: center;}dt { font-weight: bold;}#footnotes { border-top: 5px solid #0A4C89; margin-bottom: 5em;}#footnotes h2 { display: none;}#text-footnotes { margin-top: 1em;}.footpara:nth-child(2) { display: inline;}.footpara { display: block;}.footdef sup:before { content: "[";}.footdef sup:after { content: "]";}.footdef p { display: inline;}figure { margin: 0;}figure img { max-width: 100%;}figcaption { text-align: center; font-size: 0.8rem;}.inlinetask { padding: 10px; border: 2px solid gray; margin: 10px; background: #ffffcc;}#org-div-home-and-up { text-align: right; font-size: 70%; white-space: nowrap;}textarea { overflow-x: auto;}.linenr { font-size: smaller;}.code-highlighted { background-color: #ffff00;}.org-info-js_info-navigation { border-style: none;}#org-info-js_console-label { font-size: 10px; font-weight: bold; white-space: nowrap;}.org-info-js_search-highlight { background-color: #ffff00; color: #000000; font-weight: bold;}p.verse,blockquote { margin: 0; padding: 0; padding-left: 3%; border-left: 5px solid #0A4C89;}body { font-family: Lora, Palatino, Georgia, serif; width: 92%; max-width: 1024px; margin: 0 auto; background-color: #FFF;}h2 { line-height: 1.62em;}.title { margin: 0 0 2em 0; line-height: 2em; border-bottom: 5px solid #0A4C89; text-align: center;}#postamble { font-size: 80%; line-height: 1.4em; text-align: right;}h1, h2, h3, h4, h5, h6 { font-family: "Source Sans Pro", sans-serif; color: #222;}.outline-2 { margin-bottom: 4em;}.outline-2 h2 { border-bottom: 1px solid #CCC;}.outline-text-2 code, pre { background-color: #EEE;}#table-of-contents { display: none; margin-left: 0.5em;}#text-table-of-contents ul { padding-left: 1.8em;}#text-table-of-contents li { list-style-type: circle; margin: 0.4em 0;}#text-table-of-contents ul ul { margin: 0;}#text-table-of-contents li li { font-weight: normal; font-size: 90%; margin: 0;}#content { overflow: hidden; *zoom: 1;}/* ========================================================================== EXAMPLE Media Queries for Responsive Design. These examples override the primary ('mobile first') styles. Modify as content requires. ========================================================================== */@media only screen and (min-width: 35em) { /* Style adjustments for viewports that meet the condition */}@media print, (-o-min-device-pixel-ratio: 5 / 4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { /* Style adjustments for high resolution devices */}/* ========================================================================== Print styles. Inlined to avoid required HTTP connection: h5bp.com/r ========================================================================== */@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } /* * Don't show links for images, or javascript/internal links */ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { /* border: 1px solid #999; */ page-break-inside: avoid; } thead { display: table-header-group; /* h5bp.com/t */ } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } #table-of-contents { display: block; width: initial; border: none; } #table-of-contents a { text-decoration: none; }}/* large screen */@media screen and (min-width: 40rem) { html { font-size: 100%; } #table-of-contents { display: block; padding: 1em; width: 32%; min-width: 18em; float: right; background-color: #EEE; position: relative; /* required by z-index */ z-index: 5000; border: 1px solid #CCC; } .tag { display: initial; }}
-</style>
-</head>
-<body>
-<div id="content" class="content">
-<h1 class="title">Org Mode Wiki site</h1>
-<div id="table-of-contents" role="doc-toc">
-<h2>Table of Contents</h2>
-<div id="text-table-of-contents" role="doc-toc">
-<ul>
-<li><a href="#org9233e05">Overview</a></li>
-<li><a href="#orgb762eac">Another setion</a></li>
-<li><a href="#org0bd52b9">Pretty cool!</a></li>
-</ul>
-</div>
-</div>
-<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
-
-
-<colgroup>
-<col class="org-left" />
-
-<col class="org-left" />
-</colgroup>
-<tbody>
-<tr>
-<td class="org-left"><a href="./index.html">Index</a></td>
-<td class="org-left"><a href="./section/index.html">Section</a></td>
-</tr>
-</tbody>
-</table>
-
-<div id="outline-container-org9233e05" class="outline-2">
-<h2 id="org9233e05">Overview</h2>
-<div class="outline-text-2" id="text-org9233e05">
-<p>
-This is an <b>example</b> of a <span class="underline">wiki</span> written with <a href="https://orgmode.org">Org Mode</a>!
-</p>
-</div>
-</div>
-
-<div id="outline-container-orgb762eac" class="outline-2">
-<h2 id="orgb762eac">Another setion</h2>
-<div class="outline-text-2" id="text-orgb762eac">
-<p>
-This is a new section, very different to the first one
-</p>
-</div>
-</div>
-
-<div id="outline-container-org0bd52b9" class="outline-2">
-<h2 id="org0bd52b9">Pretty cool!</h2>
-<div class="outline-text-2" id="text-org0bd52b9">
-<p>
-wow
-</p>
-</div>
-</div>
-</div>
-<div id="postamble" class="status">
-<p class="author">Author: Roger Gonzalez</p>
-<p class="creator"><a href="https://www.gnu.org/software/emacs/">Emacs</a> 29.2 (<a href="https://orgmode.org">Org</a> mode 9.6.15)</p>
-</div>
-</body>
-</html>
diff --git a/public/menu.html b/public/menu.html
deleted file mode 100644
index 3f65303..0000000
--- a/public/menu.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1" />
-<title>&lrm;</title>
-<meta name="author" content="Roger Gonzalez" />
-<meta name="generator" content="Org Mode" />
-
-<meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta name="viewport" content="width=device-width, initial-scale=1">
-<style type="text/css">
-html,button,input,select,textarea { color: #484C66;}html { font-size: 90%; line-height: 1.4;}*,*:before,*:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}a { white-space: pre; white-space: pre-wrap; white-space: pre-line; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: -moz-pre-wrap; white-space: -hp-pre-wrap; word-wrap: break-word; text-decoration: none;}a:hover { color: #0A4C89;}/* * Remove text-shadow in selection highlight: h5bp.com/i * These selection rule sets have to be separate. * Customize the background color to match your design. */::-moz-selection { background: #0A4C89; color: #FFF; text-shadow: none;}::selection { background: #0A4C89; color: #FFF; text-shadow: none;}/* * A better looking default horizontal rule */hr { display: block; height: 1px; border: 0; border-top: 1px dashed #CCC; margin: 1em 0; padding: 0;}/* * Remove the gap between images, videos, audio and canvas and the bottom of * their containers: h5bp.com/i/440 */audio,canvas,img,video { vertical-align: middle;}/* * Remove default fieldset styles. */fieldset { border: 0; margin: 0; padding: 0;}/* * Allow only vertical resizing of textareas. */textarea { resize: vertical;}/* ========================================================================== Author's custom styles ========================================================================== */.todo,.done,.tag { font-family: "Source Pro", Monaco, "Courier New", monospace; padding: 0 0.3em; background-color: #EEE; border: 1px solid #CCC;}.todo { color: #DD4433;}.done { color: #44934B;}.tag { font-size: 80%; font-weight: normal; margin: 0 0.3em; display: none;}.timestamp { color: #BEBEBE;}.timestamp-kwd { color: #5F9EA0;}.right { margin-left: auto; margin-right: 0px; text-align: right;}.left { margin-left: 0px; margin-right: auto; text-align: left;}.center { margin-left: auto; margin-right: auto; text-align: center;}.underline { text-decoration: underline;}#postamble p,#preamble p { font-size: 90%; margin: .2em;}pre,code { font-family: "Source Pro", Monaco, "Courier New", monospace; padding-left: 0.3em; padding-right: 0.3em;}pre { font-size: 90%; padding: 8pt; overflow: auto; white-space: pre; word-wrap: normal;}pre.src { position: relative;}pre.src:before { display: none; position: absolute; background-color: #FFF; top: 0.5em; right: 0.5em; padding: 4px; border: 1px solid #CCC;}pre.src-sh:before { content: "Shell Script";}pre.src-bash:before { content: "Bash Script";}pre.src-emacs-lisp:before { content: "Emacs Lisp";}pre.src-R:before { content: "R";}pre.src-perl:before { content: "Perl";}pre.src-java:before { content: "Java";}pre.src-sql:before { content: "SQL";}pre.src-c:before { content: "C";}pre.src-cpp:before { content: "C++";}pre.src-html:before { content: "HTML";}table { border-collapse: collapse; display: block; overflow-x: auto;}caption.t-above { caption-side: top;}caption.t-bottom { caption-side: bottom;}td, th { vertical-align: top; border: 1px solid #CCC; padding: 0.5em;}th.right { text-align: center;}th.left { text-align: center;}th.center { text-align: center;}td.right { text-align: right;}td.left { text-align: left;}td.center { text-align: center;}dt { font-weight: bold;}#footnotes { border-top: 5px solid #0A4C89; margin-bottom: 5em;}#footnotes h2 { display: none;}#text-footnotes { margin-top: 1em;}.footpara:nth-child(2) { display: inline;}.footpara { display: block;}.footdef sup:before { content: "[";}.footdef sup:after { content: "]";}.footdef p { display: inline;}figure { margin: 0;}figure img { max-width: 100%;}figcaption { text-align: center; font-size: 0.8rem;}.inlinetask { padding: 10px; border: 2px solid gray; margin: 10px; background: #ffffcc;}#org-div-home-and-up { text-align: right; font-size: 70%; white-space: nowrap;}textarea { overflow-x: auto;}.linenr { font-size: smaller;}.code-highlighted { background-color: #ffff00;}.org-info-js_info-navigation { border-style: none;}#org-info-js_console-label { font-size: 10px; font-weight: bold; white-space: nowrap;}.org-info-js_search-highlight { background-color: #ffff00; color: #000000; font-weight: bold;}p.verse,blockquote { margin: 0; padding: 0; padding-left: 3%; border-left: 5px solid #0A4C89;}body { font-family: Lora, Palatino, Georgia, serif; width: 92%; max-width: 1024px; margin: 0 auto; background-color: #FFF;}h2 { line-height: 1.62em;}.title { margin: 0 0 2em 0; line-height: 2em; border-bottom: 5px solid #0A4C89; text-align: center;}#postamble { font-size: 80%; line-height: 1.4em; text-align: right;}h1, h2, h3, h4, h5, h6 { font-family: "Source Sans Pro", sans-serif; color: #222;}.outline-2 { margin-bottom: 4em;}.outline-2 h2 { border-bottom: 1px solid #CCC;}.outline-text-2 code, pre { background-color: #EEE;}#table-of-contents { display: none; margin-left: 0.5em;}#text-table-of-contents ul { padding-left: 1.8em;}#text-table-of-contents li { list-style-type: circle; margin: 0.4em 0;}#text-table-of-contents ul ul { margin: 0;}#text-table-of-contents li li { font-weight: normal; font-size: 90%; margin: 0;}#content { overflow: hidden; *zoom: 1;}/* ========================================================================== EXAMPLE Media Queries for Responsive Design. These examples override the primary ('mobile first') styles. Modify as content requires. ========================================================================== */@media only screen and (min-width: 35em) { /* Style adjustments for viewports that meet the condition */}@media print, (-o-min-device-pixel-ratio: 5 / 4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { /* Style adjustments for high resolution devices */}/* ========================================================================== Print styles. Inlined to avoid required HTTP connection: h5bp.com/r ========================================================================== */@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } /* * Don't show links for images, or javascript/internal links */ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { /* border: 1px solid #999; */ page-break-inside: avoid; } thead { display: table-header-group; /* h5bp.com/t */ } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } #table-of-contents { display: block; width: initial; border: none; } #table-of-contents a { text-decoration: none; }}/* large screen */@media screen and (min-width: 40rem) { html { font-size: 100%; } #table-of-contents { display: block; padding: 1em; width: 32%; min-width: 18em; float: right; background-color: #EEE; position: relative; /* required by z-index */ z-index: 5000; border: 1px solid #CCC; } .tag { display: initial; }}
-</style>
-</head>
-<body>
-<div id="content" class="content">
-<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
-
-
-<colgroup>
-<col class="org-left" />
-
-<col class="org-left" />
-</colgroup>
-<tbody>
-<tr>
-<td class="org-left"><a href="./index.html">Index</a></td>
-<td class="org-left"><a href="./section/index.html">Section</a></td>
-</tr>
-</tbody>
-</table>
-</div>
-<div id="postamble" class="status">
-<p class="author">Author: Roger Gonzalez</p>
-<p class="creator"><a href="https://www.gnu.org/software/emacs/">Emacs</a> 29.2 (<a href="https://orgmode.org">Org</a> mode 9.6.15)</p>
-</div>
-</body>
-</html>
diff --git a/public/section/index.html b/public/section/index.html
deleted file mode 100644
index 7277ce0..0000000
--- a/public/section/index.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1" />
-<title>Another section</title>
-<meta name="author" content="Roger Gonzalez" />
-<meta name="generator" content="Org Mode" />
-
-<meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta name="viewport" content="width=device-width, initial-scale=1">
-<style type="text/css">
-html,button,input,select,textarea { color: #484C66;}html { font-size: 90%; line-height: 1.4;}*,*:before,*:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}a { white-space: pre; white-space: pre-wrap; white-space: pre-line; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: -moz-pre-wrap; white-space: -hp-pre-wrap; word-wrap: break-word; text-decoration: none;}a:hover { color: #0A4C89;}/* * Remove text-shadow in selection highlight: h5bp.com/i * These selection rule sets have to be separate. * Customize the background color to match your design. */::-moz-selection { background: #0A4C89; color: #FFF; text-shadow: none;}::selection { background: #0A4C89; color: #FFF; text-shadow: none;}/* * A better looking default horizontal rule */hr { display: block; height: 1px; border: 0; border-top: 1px dashed #CCC; margin: 1em 0; padding: 0;}/* * Remove the gap between images, videos, audio and canvas and the bottom of * their containers: h5bp.com/i/440 */audio,canvas,img,video { vertical-align: middle;}/* * Remove default fieldset styles. */fieldset { border: 0; margin: 0; padding: 0;}/* * Allow only vertical resizing of textareas. */textarea { resize: vertical;}/* ========================================================================== Author's custom styles ========================================================================== */.todo,.done,.tag { font-family: "Source Pro", Monaco, "Courier New", monospace; padding: 0 0.3em; background-color: #EEE; border: 1px solid #CCC;}.todo { color: #DD4433;}.done { color: #44934B;}.tag { font-size: 80%; font-weight: normal; margin: 0 0.3em; display: none;}.timestamp { color: #BEBEBE;}.timestamp-kwd { color: #5F9EA0;}.right { margin-left: auto; margin-right: 0px; text-align: right;}.left { margin-left: 0px; margin-right: auto; text-align: left;}.center { margin-left: auto; margin-right: auto; text-align: center;}.underline { text-decoration: underline;}#postamble p,#preamble p { font-size: 90%; margin: .2em;}pre,code { font-family: "Source Pro", Monaco, "Courier New", monospace; padding-left: 0.3em; padding-right: 0.3em;}pre { font-size: 90%; padding: 8pt; overflow: auto; white-space: pre; word-wrap: normal;}pre.src { position: relative;}pre.src:before { display: none; position: absolute; background-color: #FFF; top: 0.5em; right: 0.5em; padding: 4px; border: 1px solid #CCC;}pre.src-sh:before { content: "Shell Script";}pre.src-bash:before { content: "Bash Script";}pre.src-emacs-lisp:before { content: "Emacs Lisp";}pre.src-R:before { content: "R";}pre.src-perl:before { content: "Perl";}pre.src-java:before { content: "Java";}pre.src-sql:before { content: "SQL";}pre.src-c:before { content: "C";}pre.src-cpp:before { content: "C++";}pre.src-html:before { content: "HTML";}table { border-collapse: collapse; display: block; overflow-x: auto;}caption.t-above { caption-side: top;}caption.t-bottom { caption-side: bottom;}td, th { vertical-align: top; border: 1px solid #CCC; padding: 0.5em;}th.right { text-align: center;}th.left { text-align: center;}th.center { text-align: center;}td.right { text-align: right;}td.left { text-align: left;}td.center { text-align: center;}dt { font-weight: bold;}#footnotes { border-top: 5px solid #0A4C89; margin-bottom: 5em;}#footnotes h2 { display: none;}#text-footnotes { margin-top: 1em;}.footpara:nth-child(2) { display: inline;}.footpara { display: block;}.footdef sup:before { content: "[";}.footdef sup:after { content: "]";}.footdef p { display: inline;}figure { margin: 0;}figure img { max-width: 100%;}figcaption { text-align: center; font-size: 0.8rem;}.inlinetask { padding: 10px; border: 2px solid gray; margin: 10px; background: #ffffcc;}#org-div-home-and-up { text-align: right; font-size: 70%; white-space: nowrap;}textarea { overflow-x: auto;}.linenr { font-size: smaller;}.code-highlighted { background-color: #ffff00;}.org-info-js_info-navigation { border-style: none;}#org-info-js_console-label { font-size: 10px; font-weight: bold; white-space: nowrap;}.org-info-js_search-highlight { background-color: #ffff00; color: #000000; font-weight: bold;}p.verse,blockquote { margin: 0; padding: 0; padding-left: 3%; border-left: 5px solid #0A4C89;}body { font-family: Lora, Palatino, Georgia, serif; width: 92%; max-width: 1024px; margin: 0 auto; background-color: #FFF;}h2 { line-height: 1.62em;}.title { margin: 0 0 2em 0; line-height: 2em; border-bottom: 5px solid #0A4C89; text-align: center;}#postamble { font-size: 80%; line-height: 1.4em; text-align: right;}h1, h2, h3, h4, h5, h6 { font-family: "Source Sans Pro", sans-serif; color: #222;}.outline-2 { margin-bottom: 4em;}.outline-2 h2 { border-bottom: 1px solid #CCC;}.outline-text-2 code, pre { background-color: #EEE;}#table-of-contents { display: none; margin-left: 0.5em;}#text-table-of-contents ul { padding-left: 1.8em;}#text-table-of-contents li { list-style-type: circle; margin: 0.4em 0;}#text-table-of-contents ul ul { margin: 0;}#text-table-of-contents li li { font-weight: normal; font-size: 90%; margin: 0;}#content { overflow: hidden; *zoom: 1;}/* ========================================================================== EXAMPLE Media Queries for Responsive Design. These examples override the primary ('mobile first') styles. Modify as content requires. ========================================================================== */@media only screen and (min-width: 35em) { /* Style adjustments for viewports that meet the condition */}@media print, (-o-min-device-pixel-ratio: 5 / 4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { /* Style adjustments for high resolution devices */}/* ========================================================================== Print styles. Inlined to avoid required HTTP connection: h5bp.com/r ========================================================================== */@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } /* * Don't show links for images, or javascript/internal links */ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { /* border: 1px solid #999; */ page-break-inside: avoid; } thead { display: table-header-group; /* h5bp.com/t */ } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } #table-of-contents { display: block; width: initial; border: none; } #table-of-contents a { text-decoration: none; }}/* large screen */@media screen and (min-width: 40rem) { html { font-size: 100%; } #table-of-contents { display: block; padding: 1em; width: 32%; min-width: 18em; float: right; background-color: #EEE; position: relative; /* required by z-index */ z-index: 5000; border: 1px solid #CCC; } .tag { display: initial; }}
-</style>
-</head>
-<body>
-<div id="content" class="content">
-<h1 class="title">Another section</h1>
-<div id="table-of-contents" role="doc-toc">
-<h2>Table of Contents</h2>
-<div id="text-table-of-contents" role="doc-toc">
-<ul>
-<li><a href="#org58e4e02">Pretty cool huh?</a></li>
-</ul>
-</div>
-</div>
-<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
-
-
-<colgroup>
-<col class="org-left" />
-
-<col class="org-left" />
-</colgroup>
-<tbody>
-<tr>
-<td class="org-left"><a href="../index.html">Index</a></td>
-<td class="org-left"><a href="index.html">Section</a></td>
-</tr>
-</tbody>
-</table>
-
-<p>
-This is another section
-</p>
-
-<div id="outline-container-org58e4e02" class="outline-2">
-<h2 id="org58e4e02">Pretty cool huh?</h2>
-<div class="outline-text-2" id="text-org58e4e02">
-<p>
-yea
-</p>
-</div>
-</div>
-</div>
-<div id="postamble" class="status">
-<p class="author">Author: Roger Gonzalez</p>
-<p class="creator"><a href="https://www.gnu.org/software/emacs/">Emacs</a> 29.2 (<a href="https://orgmode.org">Org</a> mode 9.6.15)</p>
-</div>
-</body>
-</html>