Templates and snippets for export

This commit is contained in:
2021-03-26 10:13:33 +01:00
parent 7533f382e7
commit 8163e056c6
92 changed files with 15324 additions and 0 deletions

View File

@@ -0,0 +1,137 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/bigblow_inline.theme
#+TITLE: BigBlow
#+AUTHOR: fniessen
#+CREATOR: https://github.com/fniessen/org-html-themes
#+EMAIL: nil
#+OPTIONS: ^:nil p:t
* BigBlow
Original: https://github.com/fniessen/org-html-themes
Includes:
- [X] CSS
- [X] JAVASCRIPT
Available as:
- [X] CSS FILE
- [X] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,756 @@
/* bigblow.css --- BigBlow CSS file */
/* Copyright (C) 2011-2014 All Right Reserved, Fabrice Niessen */
/* This file is free software: you can redistribute it and/or */
/* modify it under the terms of the GNU General Public License as */
/* published by the Free Software Foundation, either version 3 of */
/* the License, or (at your option) any later version. */
/* This file is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")> */
/* URL: https://github.com/fniessen/org-html-themes/ */
/* Version: 20140605.0925 */
html, body {
border: 0;
margin: 0;
padding: 0;
}
@media print {
.dontprint {
display: none;
}
}
#preamble {
background: none repeat scroll 0 0 #46484B;
color: #FFFFFF;
font-family: Arial,Helvetica,sans-serif;
font-size: 70%;
font-weight: bold;
height: 224px; /* so that content begins after... */
padding: 2px 2px 0 6px;
}
#banner {
text-align: center;
}
#tabs {
background-color: #2061A2;
float: left;
margin: 0px 0px 20px 0px;
padding: 0;
width: 100%;
}
#tabs ul {
margin: 0;
padding: 0;
}
#tabs li {
float: left;
list-style-type: none;
margin: 0px 2px 0px 0px;
padding: 0px 0px 0px 0px;
white-space: nowrap;
}
#tabs li a {
color: #EEEEEE;
display: block;
font-size: 13px;
font-weight: bold;
margin: 0;
padding: 4px 10px 4px 10px;
text-decoration: none;
}
#tabs li a:hover {
background: #759FCF;
color: #FFFFFF;
}
#tabs li.ui-tabs-active a {
background: #FFFFFF;
color: #555555;
}
#content {
clear: both;
background-color: #FFFFFF;
font-size: 100%;
margin: 0 auto;
max-width: 810px;
overflow-x: hidden;
overflow-y: auto;
padding: 0px 10px 2px 10px;
}
#postamble {
color: #999999;
font-family: Arial,Helvetica,sans-serif;
font-size: 70%;
height: 40px;
margin: 0 auto;
max-width: 810px;
padding-right: 30px;
padding-top: 22px;
padding: 2px 2px 0 6px;
text-align: right;
}
body {
color: #333333;
font: 13px/1.385 arial,helvetica,clean,sans-serif;
margin: 0 .1em;
padding: 0;
}
b {
color: #000000;
}
i {
color: #1A1A1A;
}
h1, ul#tabs, h2, h3, h4, h5 {
font-family: "Trebuchet MS",Verdana,sans-serif;
}
h1 {
background-color: #0A3F69;
color: #F8F8F8;
font-size: 24px;
margin: 0;
padding: 9px 0px 0px 10px;
}
h2 {
border-bottom: 4px solid #67B3E3;
color: #13679D;
font-size: 20px;
}
h3, h4, h5, h6 {
color: #1572AE;
}
h3 {
border-bottom: 1px solid #B5DAF1;
font-size: 16px;
margin-left: 25px;
}
h4 {
border-bottom: 1px dotted #C9E3F5;
font-size: 14px;
margin-left: 60px;
}
h5 {
font-size: 1em;
margin-left: 87px;
}
h6 {
font-size: 1em;
margin-left: 100px;
}
.DONEheader {
color: #ADADAD;
text-decoration: line-through;
}
h3.DONEheader {
border-bottom: 1px solid #DDDDDD;
}
h4.DONEheader {
border-bottom: 1px dotted #DDDDDD;
}
.outline-text-2, .outline-text-3, .outline-text-4, .outline-text-5,
.outline-3 > ul, /* for HTML export of Beamer slides */
.outline-4 > ol, #text-footnotes {
margin-left: 100px;
}
li > .outline-text-5 {
margin-left: 20px;
}
ul, ol {
padding-left: 1.5em;
}
dt {
color: #1572AE;
font-weight: bold;
}
dd {
margin-bottom: 6px;
}
pre {
/* Use #EAEAEA for background-color of border with src code block's name */
background-color: #F8F8FF;
border: 1px solid #DEDEDE;
color: #444444;
font-family: monospace;
line-height: 1.14em;
overflow: auto;
/* overflow-x: auto; */
padding: 10px;
}
code {
background-color: #F8F8FF;
border: 1px solid #DEDEDE;
color: #444444;
font-family: monospace;
/* font-size: 0.93em; */
margin: 0px 1px;
padding: 0px 2px;
}
li > p, li > ul, li > .inlinetask, li > dl {
margin-left: 0px;
}
dd > p, dd > ul, dd > .inlinetask, dd > dl {
margin-left: 0px;
}
li.checked {
list-style-image: url('../images/checked.png');
}
li.halfchecked {
list-style-image: url('../images/halfchecked.png');
}
li.unchecked {
list-style-image: url('../images/unchecked.png');
}
a, a:link, a:visited {
color: #2061A2;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:focus {
outline: none;
}
#search {
border-radius: 3px;
background: none repeat scroll 0 0 #FFFFFF;
display: block;
float: right;
height: 18px;
margin: 5px 10px 0 0;
overflow: hidden;
padding: 0 3px;
width: 188px;
}
#search input {
border: 0 none;
color: #666666;
float: left;
font-family: Arial,Helvetica,sans-serif;
font-size: 11px;
font-weight: normal;
margin: 0;
padding: 2px 4px;
width: 160px;
}
#search button {
background: url("../images/search-glass.png") no-repeat scroll 0 50% transparent;
border: 0 none;
cursor: pointer;
display: block;
float: right;
height: 18px;
margin: 0;
text-indent: -999em;
width: 14px;
}
table {
border-collapse: collapse;
margin-right: auto;
margin-left: auto;
}
table td {
padding: 3px 5px;
}
table, th, td
{
border: 1px solid #B5DAF1;
border-left: 2px solid white;
border-right: 2px solid white;
}
th
{
border-width: 1px 2px;
border-color: white;
background-color: #2061A2;
color: white;
}
caption {
color: #8D8D84;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.figure {
color: #8D8D84;
text-align: center;
}
.fixme {
background: #FFFF88 url('../images/fixme.png') no-repeat top left;
color: #CC0000;
display: inline-block;
height: 16px;
text-indent: -9999px;
width: 82px;
}
.left {
text-align: left;
}
.right {
text-align: right;
}
.center {
text-align: center;
}
.justify {
text-align: justify;
}
.inlinetask {
background-color: #F7F7F7;
border-collapse: separate;
border-color: #EEEEEE #EEEEEE #EEEEEE #1E90FF;
border-style: solid;
border-width: 1px 1px 1px 6px;
padding: 8px 8px 0px 8px;
margin: 10px 0px;
}
.inlinetask td {
padding: 2px 5px 0px 2px;
border: 0px;
}
.info {
border: 1px solid;
background: url('../images/info.png') no-repeat 10px 10px #BDE5F8;
color: #00529B;
padding: 4px 10px 4px 52px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
margin: 10px 0px;
}
.tip {
border: 1px solid;
background: url('../images/tip.png') no-repeat 10px 10px #DFF2BF;
color: #4F8A10;
padding: 4px 10px 4px 52px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
margin: 10px 0px;
}
.note {
border: 1px solid;
background: url('../images/note.png') no-repeat 10px 10px #FFFCCB;
color: #9F6000;
padding: 4px 10px 4px 52px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
margin: 10px 0px;
}
.warning {
border: 1px solid;
background: url('../images/warning.png') no-repeat 10px 10px #FFBABA;
color: #D8000C;
padding: 4px 10px 4px 52px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
margin: 10px 0px;
}
.todo, .done {
margin: 10px 0;
padding: 0px 2px;
}
.NEW {
background-color: #FDFCD8;
border: 1px solid #EEE9C3;
color: #302B13;
font-weight: normal;
}
.TODO {
background-color: #FED5D7;
border: 1px solid #FC5158;
color: #FC5158;
}
.STRT, .STARTED {
background-color: #FEF2D4;
border: 1px solid #FDBF3D;
color: #FDBF3D;
}
.WAIT, .WAITING, .DLGT, .DELEGATED {
background-color: #DFFFDF;
border: 1px solid #55BA80;
color: #55BA80;
}
.SDAY, .SOMEDAY, .DFRD, .DEFERRED {
background-color: #D3EEFF;
border: 1px solid #42B5FF;
color: #42B5FF;
}
.DONE, .CANX, .CANCELED {
background-color: #F2F2EE;
border: 1px solid #969696;
color: #969696;
}
.tag span {
background-color: #EDEDED;
border: 1px solid #EDEDED;
color: #939393;
cursor: pointer;
display: block;
float: right;
font-size: 80%;
font-weight: normal;
margin: 0 3px;
padding: 1px 2px;
border-radius: 10px;
}
#right-panel-contents .tag span {
font-size: 100%;
}
.tag span:hover {
background: #BABDB6;
}
.tag .FLAGGED {
background-color: #EDC6C8;
border: 1px solid #EDC6C8;
color: #C15F4E;
}
.tag .selected {
background-color: #FFEBC1;
border: 1px solid #FDBF3B;
color: #A6750C;
}
#listOfTags .tag span {
display: inline;
float: none;
}
span.todo {
cursor: pointer;
/* display: block; */
/* float: left; */
margin: -1px 3px 0px 0px;
}
span.todo:hover {
background: #BABDB6;
color: #888888;
}
span.todo .selected {
background-color: #FFEBC1;
border-color: #FDBF3B;
color: #A6750C;
}
.matchtag {
background-color: #FBFFC0;
}
.matchNEW {
background-color: #FDFCD8;
}
.matchTODO {
background-color: #FFE6E4;
}
.matchSTRT {
background-color: #FEF2D4;
}
.matchWAIT, .matchDLGT {
background-color: #DFFFDF;
}
.matchSDAY, .matchDFRD {
background-color: #E0EFFF;
}
#listOfTodo, #listOfDone, #listOfTags {
/* bottom: 10px; /\* together with this to put the div at the bottom*\/ */
/* left: 10px; */
/* list-style-type: none; */
margin-left: 0px;
/* position: fixed; /\* this is the magic *\/ */
}
.timestamp-kwd {
background-color: #FFF1F1;
color: #880000;
margin: 0px 4px 0px 0px;
padding: 2px 0px 2px 2px;
}
.timestamp {
color: #777777;
font-size: 80%;
}
#table-of-contents {
background-color: #FFFFDD;
border: 1px solid #E4E4E4;
display: table;
line-height: 1.2em;
padding: 4px;
margin: 4px;
max-width: 400px;
float: right;
width: auto;
}
#table-of-contents h2 {
display: none;
}
#table-of-contents ul {
margin: 0;
padding: 0;
}
#table-of-contents li {
list-style-type: none;
margin: 0;
}
#table-of-contents li li {
margin-left: 1.5em;
}
#table-of-contents li li li {
font-size: 0.8em;
}
#table-of-contents a {
color: #606060;
font-size: 0.9em;
font-weight: normal;
text-decoration: none;
}
#table-of-contents a:hover {
color: #C61A1A;
text-decoration: underline;
}
#minitoc {
background-color: #FFFFDD;
border: 1px solid #E4E4E4;
color: #484848;
line-height: 1.2em;
margin: 12px;
padding: 4px;
position: fixed;
width: auto;
}
#minitoc a {
display: block;
font-size: 10px;
font-weight: normal;
}
#minitoc a {
display: none;
}
#minitoc:hover a {
display: block;
}
#minitoc h2 {
margin: 3px 0px;
border: none;
font-size: 11px;
}
p.verse {
color: #808080;
font-style: italic;
}
.example {
background-color: #DDFADE;
border: 1px solid #9EC49F;
color: #333333;
}
.alert {
font-weight: bold;
color: #FF0000;
}
#toTop {
background: #F7F7F7;
border: 1px solid #CCCCCC;
top: 10px; /* together with this to put the div at the top */
color: #333333;
cursor: pointer;
display: none;
font-family: verdana;
font-size: 11px;
padding: 5px;
position: fixed; /* this is the magic */
right: 10px;
text-align: center;
width: 100px;
z-index: 999;
}
#toTop:hover {
text-decoration: underline;
}
#left-panel-wrapper {
position: fixed;
z-index: 200;
/* display: none; /\* hide the panel if Javascript is not running *\/ */
}
#left-panel-contents {
background-color: #EFEFEF;
border-right: 1px dotted #ADADAD;
display: none;
height: 100%;
left: 0px;
position: fixed;
text-align: left;
top: 0;
width: 199px;
z-index: 200;
padding-top: 7px;
padding-left: 7px;
}
#left-panel-button {
transform: rotate(90deg);
background-color: #EFEFEF;
border: 1px dotted #ADADAD;
border-bottom-width: 0px;
left: -23px;
position: fixed;
top: 50%;
z-index: 200;
padding: 2px 5px 5px 5px;
}
#right-panel-wrapper {
position: fixed;
z-index: 200;
/* display: none; /\* hide the panel if Javascript is not running *\/ */
}
#right-panel-contents {
background-color: #EFEFEF;
border-left: 1px dotted #ADADAD;
display: none;
height: 100%;
right: 0px;
position: fixed;
text-align: left;
top: 0;
width: 199px;
z-index: 200;
padding-top: 7px;
padding-left: 7px;
}
.org-src-container {
position: relative;
}
.snippet-copy-to-clipboard {
display: none;
position: absolute;
right: 10px;
top: 5px;
font-size: 0.9em;
text-decoration:underline;
}
.copy-to-clipboard-button:hover {
cursor: pointer;
}
/* This is for the sake of Emacs. */
/* Local Variables: */
/* eval: (when (locate-library "rainbow-mode") (require 'rainbow-mode) (rainbow-mode)) */
/* End: */

View File

@@ -0,0 +1,116 @@
/* hideshow.css --- HideShow CSS file */
/* Copyright (C) 2014 All Right Reserved, Fabrice Niessen */
/* This file is free software: you can redistribute it and/or */
/* modify it under the terms of the GNU General Public License as */
/* published by the Free Software Foundation, either version 3 of */
/* the License, or (at your option) any later version. */
/* This file is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")> */
/* URL: https://github.com/fniessen/hide-show/ */
/* Version: 20140912.1722 */
.hsExpanded.hsAnchor {background: #EE7700;}
.buttons {
padding: 0px 7px 13px 0px;
background: #0A3F69;
}
.hsButton {
color: white;
float: right;
font-size: 70%;
margin-left: 10px;
}
.hsButton:hover {
background: #FBE448;
color: black;
cursor: pointer;
}
.ellipsis {
color: #999999;
/* background-color: #FFF8C0; */
/* float: right; */
margin-left: 0.6em;
}
.hsReview {
border: 1px solid #A4A4A4;
background-color: white;
z-index: 500; /* must be greater then z-index of hsOverlay */
position: relative; /* required for z-index to work */
}
#hsOverlay {
width: 100%;
height: 100%;
position: fixed;
left: 0px;
top: 0px;
background-color: #000;
opacity: .70;
z-index: 250; /* must be greater than any other z-index (except the one for .hsReview */
}
.hsReviewPanel {
background-color: #757176;
color: white;
line-height: 1.1em;
margin: 10px 0px;
padding: 10px;
position: fixed;
width: auto;
bottom: 0px;
right: 0px;
z-index: 501;
text-align: center;
}
.hsReviewPanel.hsReviewing {
display: none;
}
.hsReviewPanel:hover {
cursor: pointer;
}
.hsReviewingPanel {
background-color: white;
color: #757176;
line-height: 1.1em;
margin: 10px 0px;
padding: 10px;
position: fixed;
width: auto;
bottom: 0px;
right: 0px;
z-index: 501;
text-align: center;
}
.hsReviewButton:hover {
cursor: pointer;
}
.hsUnselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* This is for the sake of Emacs. */
/* Local Variables: */
/* eval: (when (locate-library "rainbow-mode") (require 'rainbow-mode) (rainbow-mode)) */
/* End: */

View File

@@ -0,0 +1,145 @@
.org-bold { /* bold */ font-weight: bold; }
.org-bold-italic { /* bold-italic */ font-weight: bold; font-style: italic; }
.org-buffer-menu-buffer { /* buffer-menu-buffer */ font-weight: bold; }
.org-builtin { /* font-lock-builtin-face */ color: #7a378b; }
.org-button { /* button */ text-decoration: underline; }
.org-calendar-today { /* calendar-today */ text-decoration: underline; }
.org-change-log-acknowledgement { /* change-log-acknowledgement */ color: #b22222; }
.org-change-log-conditionals { /* change-log-conditionals */ color: #a0522d; }
.org-change-log-date { /* change-log-date */ color: #8b2252; }
.org-change-log-email { /* change-log-email */ color: #a0522d; }
.org-change-log-file { /* change-log-file */ color: #0000ff; }
.org-change-log-function { /* change-log-function */ color: #a0522d; }
.org-change-log-list { /* change-log-list */ color: #a020f0; }
.org-change-log-name { /* change-log-name */ color: #008b8b; }
.org-comint-highlight-input { /* comint-highlight-input */ font-weight: bold; }
.org-comint-highlight-prompt { /* comint-highlight-prompt */ color: #00008b; }
.org-comment { /* font-lock-comment-face */ color: #b22222; }
.org-comment-delimiter { /* font-lock-comment-delimiter-face */ color: #b22222; }
.org-completions-annotations { /* completions-annotations */ font-style: italic; }
.org-completions-common-part { /* completions-common-part */ color: #000000; background-color: #ffffff; }
.org-completions-first-difference { /* completions-first-difference */ font-weight: bold; }
.org-constant { /* font-lock-constant-face */ color: #008b8b; }
.org-diary { /* diary */ color: #ff0000; }
.org-diff-context { /* diff-context */ color: #7f7f7f; }
.org-diff-file-header { /* diff-file-header */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-function { /* diff-function */ background-color: #cccccc; }
.org-diff-header { /* diff-header */ background-color: #cccccc; }
.org-diff-hunk-header { /* diff-hunk-header */ background-color: #cccccc; }
.org-diff-index { /* diff-index */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-nonexistent { /* diff-nonexistent */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-refine-change { /* diff-refine-change */ background-color: #d9d9d9; }
.org-dired-directory { /* dired-directory */ color: #0000ff; }
.org-dired-flagged { /* dired-flagged */ color: #ff0000; font-weight: bold; }
.org-dired-header { /* dired-header */ color: #228b22; }
.org-dired-ignored { /* dired-ignored */ color: #7f7f7f; }
.org-dired-mark { /* dired-mark */ color: #008b8b; }
.org-dired-marked { /* dired-marked */ color: #ff0000; font-weight: bold; }
.org-dired-perm-write { /* dired-perm-write */ color: #b22222; }
.org-dired-symlink { /* dired-symlink */ color: #a020f0; }
.org-dired-warning { /* dired-warning */ color: #ff0000; font-weight: bold; }
.org-doc { /* font-lock-doc-face */ color: #8b2252; }
.org-escape-glyph { /* escape-glyph */ color: #a52a2a; }
.org-file-name-shadow { /* file-name-shadow */ color: #7f7f7f; }
.org-flyspell-duplicate { /* flyspell-duplicate */ color: #cdad00; font-weight: bold; text-decoration: underline; }
.org-flyspell-incorrect { /* flyspell-incorrect */ color: #ff4500; font-weight: bold; text-decoration: underline; }
.org-fringe { /* fringe */ background-color: #f2f2f2; }
.org-function-name { /* font-lock-function-name-face */ color: #0000ff; }
.org-header-line { /* header-line */ color: #333333; background-color: #e5e5e5; }
.org-help-argument-name { /* help-argument-name */ font-style: italic; }
.org-highlight { /* highlight */ background-color: #b4eeb4; }
.org-holiday { /* holiday */ background-color: #ffc0cb; }
.org-isearch { /* isearch */ color: #b0e2ff; background-color: #cd00cd; }
.org-isearch-fail { /* isearch-fail */ background-color: #ffc1c1; }
.org-italic { /* italic */ font-style: italic; }
.org-keyword { /* font-lock-keyword-face */ color: #a020f0; }
.org-lazy-highlight { /* lazy-highlight */ background-color: #afeeee; }
.org-link { /* link */ color: #0000ff; text-decoration: underline; }
.org-link-visited { /* link-visited */ color: #8b008b; text-decoration: underline; }
.org-log-edit-header { /* log-edit-header */ color: #a020f0; }
.org-log-edit-summary { /* log-edit-summary */ color: #0000ff; }
.org-log-edit-unknown-header { /* log-edit-unknown-header */ color: #b22222; }
.org-match { /* match */ background-color: #ffff00; }
.org-next-error { /* next-error */ background-color: #eedc82; }
.org-nobreak-space { /* nobreak-space */ color: #a52a2a; text-decoration: underline; }
.org-org-archived { /* org-archived */ color: #7f7f7f; }
.org-org-block { /* org-block */ color: #7f7f7f; }
.org-org-block-begin-line { /* org-block-begin-line */ color: #b22222; }
.org-org-block-end-line { /* org-block-end-line */ color: #b22222; }
.org-org-checkbox { /* org-checkbox */ font-weight: bold; }
.org-org-checkbox-statistics-done { /* org-checkbox-statistics-done */ color: #228b22; font-weight: bold; }
.org-org-checkbox-statistics-todo { /* org-checkbox-statistics-todo */ color: #ff0000; font-weight: bold; }
.org-org-clock-overlay { /* org-clock-overlay */ background-color: #ffff00; }
.org-org-code { /* org-code */ color: #7f7f7f; }
.org-org-column { /* org-column */ background-color: #e5e5e5; }
.org-org-column-title { /* org-column-title */ background-color: #e5e5e5; font-weight: bold; text-decoration: underline; }
.org-org-date { /* org-date */ color: #a020f0; text-decoration: underline; }
.org-org-document-info { /* org-document-info */ color: #191970; }
.org-org-document-info-keyword { /* org-document-info-keyword */ color: #7f7f7f; }
.org-org-document-title { /* org-document-title */ color: #191970; font-size: 144%; font-weight: bold; }
.org-org-done { /* org-done */ color: #228b22; font-weight: bold; }
.org-org-drawer { /* org-drawer */ color: #0000ff; }
.org-org-ellipsis { /* org-ellipsis */ color: #b8860b; text-decoration: underline; }
.org-org-footnote { /* org-footnote */ color: #a020f0; text-decoration: underline; }
.org-org-formula { /* org-formula */ color: #b22222; }
.org-org-headline-done { /* org-headline-done */ color: #bc8f8f; }
.org-org-hide { /* org-hide */ color: #ffffff; }
.org-org-latex-and-export-specials { /* org-latex-and-export-specials */ color: #8b4513; }
.org-org-level-1 { /* org-level-1 */ color: #0000ff; }
.org-org-level-2 { /* org-level-2 */ color: #a0522d; }
.org-org-level-3 { /* org-level-3 */ color: #a020f0; }
.org-org-level-4 { /* org-level-4 */ color: #b22222; }
.org-org-level-5 { /* org-level-5 */ color: #228b22; }
.org-org-level-6 { /* org-level-6 */ color: #008b8b; }
.org-org-level-7 { /* org-level-7 */ color: #7a378b; }
.org-org-level-8 { /* org-level-8 */ color: #8b2252; }
.org-org-link { /* org-link */ color: #0000ff; text-decoration: underline; }
.org-org-meta-line { /* org-meta-line */ color: #b22222; }
.org-org-mode-line-clock { /* org-mode-line-clock */ color: #000000; background-color: #bfbfbf; }
.org-org-mode-line-clock-overrun { /* org-mode-line-clock-overrun */ color: #000000; background-color: #ff0000; }
.org-org-quote { /* org-quote */ color: #7f7f7f; }
.org-org-scheduled { /* org-scheduled */ color: #006400; }
.org-org-scheduled-previously { /* org-scheduled-previously */ color: #b22222; }
.org-org-scheduled-today { /* org-scheduled-today */ color: #006400; }
.org-org-sexp-date { /* org-sexp-date */ color: #a020f0; }
.org-org-special-keyword { /* org-special-keyword */ color: #a020f0; }
.org-org-table { /* org-table */ color: #0000ff; }
.org-org-tag { /* org-tag */ font-weight: bold; }
.org-org-target { /* org-target */ text-decoration: underline; }
.org-org-time-grid { /* org-time-grid */ color: #b8860b; }
.org-org-todo { /* org-todo */ color: #ff0000; font-weight: bold; }
.org-org-upcoming-deadline { /* org-upcoming-deadline */ color: #b22222; }
.org-org-verbatim { /* org-verbatim */ color: #7f7f7f; }
.org-org-verse { /* org-verse */ color: #7f7f7f; }
.org-org-warning { /* org-warning */ color: #ff0000; font-weight: bold; }
.org-outline-1 { /* outline-1 */ color: #0000ff; }
.org-outline-2 { /* outline-2 */ color: #a0522d; }
.org-outline-3 { /* outline-3 */ color: #a020f0; }
.org-outline-4 { /* outline-4 */ color: #b22222; }
.org-outline-5 { /* outline-5 */ color: #228b22; }
.org-outline-6 { /* outline-6 */ color: #008b8b; }
.org-outline-7 { /* outline-7 */ color: #7a378b; }
.org-outline-8 { /* outline-8 */ color: #8b2252; }
.org-preprocessor { /* font-lock-preprocessor-face */ color: #7a378b; }
.org-query-replace { /* query-replace */ color: #b0e2ff; background-color: #cd00cd; }
.org-regexp-grouping-backslash { /* font-lock-regexp-grouping-backslash */ font-weight: bold; }
.org-regexp-grouping-construct { /* font-lock-regexp-grouping-construct */ font-weight: bold; }
.org-region { /* region */ background-color: #eedc82; }
.org-secondary-selection { /* secondary-selection */ background-color: #ffff00; }
.org-shadow { /* shadow */ color: #7f7f7f; }
.org-show-paren-match { /* show-paren-match */ background-color: #40e0d0; }
.org-show-paren-mismatch { /* show-paren-mismatch */ color: #ffffff; background-color: #a020f0; }
.org-string { /* font-lock-string-face */ color: #8b2252; }
.org-tool-bar { /* tool-bar */ color: #000000; background-color: #bfbfbf; }
.org-tooltip { /* tooltip */ color: #000000; background-color: #ffffe0; }
.org-trailing-whitespace { /* trailing-whitespace */ background-color: #ff0000; }
.org-type { /* font-lock-type-face */ color: #228b22; }
.org-underline { /* underline */ text-decoration: underline; }
.org-variable-name { /* font-lock-variable-name-face */ color: #a0522d; }
.org-warning { /* font-lock-warning-face */ color: #ff0000; font-weight: bold; }
.org-widget-button { /* widget-button */ font-weight: bold; }
.org-widget-button-pressed { /* widget-button-pressed */ color: #ff0000; }
.org-widget-documentation { /* widget-documentation */ color: #006400; }
.org-widget-field { /* widget-field */ background-color: #d9d9d9; }
.org-widget-inactive { /* widget-inactive */ color: #7f7f7f; }
.org-widget-single-line-field { /* widget-single-line-field */ background-color: #d9d9d9; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

View File

@@ -0,0 +1,531 @@
// bigblow.js --- BigBlow JS file
//
// Copyright (C) 2011-2016 All Right Reserved, Fabrice Niessen
//
// This file is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of
// the License, or (at your option) any later version.
//
// This file is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")>
// URL: https://github.com/fniessen/org-html-themes/
// Version: 20140515.1841
$(function() {
$('p').
html(function(index, old) {
return old.replace('FIXME',
'<span class="fixme">FIXME</span>');
});
$('p').
html(function(index, old) {
return old.replace('XXX',
'<span class="fixme">XXX</span>');
});
});
// Remove leading section number
$(function() {
$('.section-number-2').text("");
for (var i = 3; i <= 5; i++) {
$('.section-number-' + i).each(function() {
$(this).text($(this).text().replace(/^[0-9]+\./g, ""));
});
}
});
$(function() {
$('<div id="minitoc" class="dontprint"></div>').prependTo('body');
});
// generate contents of minitoc
function generateMiniToc(divId) {
$('#minitoc').empty().append('<h2>In this section</h2>');
$('#' + divId).find('h3').each(function(i) {
let pos = $(this).text().search(" ");
let text = $(this).text().substring(0, pos);
$("#minitoc").append("<a href='#" + $(this).attr("id") + "'>"
+ text + "</a>");
});
// Ensure that the target is expanded (hideShow)
$('#minitoc a[href^="#"]').click(function() {
var href = $(this).attr('href');
hsExpandAnchor(href);
});
}
// display tabs
function tabifySections() {
// hide TOC (if present)
$('#table-of-contents').hide();
// grab the list of `h2' from the page
var allSections = [];
$('h2')
.each(function() {
// Remove TODO keywords and tags (contained in spans)
var tabText = $(this).clone().find('span').remove().end()
.text().trim();
var tabId = $(this).parent().attr('id');
if (tabText) {
// - remove heading number (all leading digits)
// - remove progress logging (between square brackets)
// - remove leading and trailing spaces
tabText = tabText.replace(/^\d+\s+/, '').replace(/\[[\d/%]+\]/, '').trim();
allSections.push({
text: tabText,
id: tabId
});
}
});
// create the tab links
var tabs = $('<ul id="tabs"></ul>');
for (i = 0; i < allSections.length; i++) {
var item = allSections[i];
html = $('<li><a href="#' + item.id + '">' + item.text + '</a></li>');
tabs.append(html);
}
// insert tabs menu after title (`h1'), or at the beginning of the content
if($('.title').length !== 0) {
$('.title').after(tabs);
}
else {
$('#content').prepend(tabs);
}
}
function selectTabAndScroll(href) {
// At this point we assume that href is local (starts with #)
// alert(href);
// Find the tab to activate
var targetTab = $(href).closest('.ui-tabs-panel');
var targetTabId = targetTab.attr('id');
var targetTabAriaLabel = targetTab.attr('aria-labelledby');
var targetTabIndex = $("#content ul li")
.index($('[aria-labelledby="' + targetTabAriaLabel + '"]'));
// Activate target tab
$('#content').tabs('option', 'active', targetTabIndex);
// Rebuild minitoc
generateMiniToc(targetTabId);
// Set the location hash
// document.location.hash = href;
// Scroll to top if href was a tab
if (href == '#' + targetTabId) {
// alert(targetTabId);
$.scrollTo(0);
}
// Scroll to href if href was not a tab
else {
$.scrollTo(href);
}
}
$(document).ready(function() {
$('#preamble').remove();
$('#table-of-contents').remove();
// Prepare for tabs
tabifySections();
// Build the tabs from the #content div
$('#content').tabs();
// Set default animation
$('#content').tabs('option', 'show', true);
// Rebuild minitoc when a tab is activated
$('#content').tabs({
activate: function(event, ui) {
var divId = ui.newTab.attr('aria-controls');
generateMiniToc(divId);
}
});
// Required to get the link of the tab in URL
$('#content ul').localScroll({
target: '#content',
duration: 0,
hash: true
});
// Handle hash in URL
if ($('#content') && document.location.hash) {
hsExpandAnchor(document.location.hash);
selectTabAndScroll(document.location.hash);
}
// If no hash, build the minitoc anyway for selected tab
else {
var divId = $('#content div[aria-expanded=true]').attr('id');
generateMiniToc(divId);
}
// Handle click on internal links
$('.ui-tabs-panel a[href^="#"]').click(function(e) {
var href = $(this).attr('href');
hsExpandAnchor(href);
selectTabAndScroll(href);
e.preventDefault();
});
// Initialize hideShow
hsInit();
// add sticky headers to tables
$('table').stickyTableHeaders();
});
function copyToClipboard(text)
{
if (window.clipboardData && window.clipboardData.setData) { // Internet Explorer
window.clipboardData.setData("Text", text);
}
else { // Fallback solution
window.prompt("Copy to clipboard: Ctrl+C, Enter", text);
}
}
$(document).ready(function() {
// Assuming that the ZeroClipboard swf file is in the same folder than bigblow,
// get the path to it (it will be relative to the current page location).
var bbScriptPath = $('script[src$="bigblow.js"]').attr('src'); // the js file path
var bbPathToZeroClipboardSwf = bbScriptPath.replace('bigblow.js', 'ZeroClipboard.swf');
// Add copy to clipboard snippets
$('.org-src-container').prepend('<div class="snippet-copy-to-clipboard"><span class="copy-to-clipboard-button">[copy]</span></div>');
// Display/hide snippets on source block mouseenter/mouseleave
$(document).on('mouseenter', '.org-src-container', function () {
$(this).find('.snippet-copy-to-clipboard').show();
// Need to call zclip here, once the button is visible.
// Beacause when the button is not visible, zclip does nothing.
if ((window.location.protocol != 'file:') && ($(this).find('.zclip').length == 0)) {
$(this).find('.copy-to-clipboard-button').zclip({
//path: 'http://www.steamdev.com/zclip/js/ZeroClipboard.swf',
//path: 'src/bigblow_theme/js/ZeroClipboard.swf',
path: bbPathToZeroClipboardSwf,
copy: function() {
return $(this).parent().parent().find('.src').text();
}
});
}
}).on('mouseleave', '.org-src-container', function () {
$(this).find('.snippet-copy-to-clipboard').hide();
});
// Handle copy to clipboard (here, for a local file only 'file://...'
if (window.location.protocol == 'file:') { // if local file use browser-specific code
$('.copy-to-clipboard-button').click(function() {
// Get the text to be copied
var text = $(this).parent().parent().find('.src').text();
text = text.replace(/\n/g, "\r\n");
// alert(text);
copyToClipboard(text);
});
}
});
$(function() {
$('li > code :contains("[X]")')
.parent()
.addClass('checked')
.end()
.remove();
$('li > code :contains("[-]")')
.parent()
.addClass('halfchecked')
.end()
.remove();
$('li > code :contains("[ ]")')
.parent()
.addClass('unchecked')
.end()
.remove();
});
$(function() {
$('i :contains("[#A]")')
.replaceWith('<i><span style="color: #F67777;">[#A]</span></i>');
$('i :contains("[#B]")')
.replaceWith('<i><span style="color: #B6E864;">[#B]</span></i>');
$('i :contains("[#C]")')
.replaceWith('<i><span style="color: #C3DCFF;">[#C]</span></i>');
});
$(function() {
$('<div id="toTop" class="dontprint"><span>^ Back to Top</span></div>').appendTo('body');
$(window).scroll(function() {
if ($(this).scrollTop() != 0) {
$('#toTop').fadeIn();
} else {
$('#toTop').fadeOut();
}
});
$('#toTop').click(function(e) {
$('html, body').animate({scrollTop: 0}, 800);
e.preventDefault(); // Disable default browser behavior
});
});
function togglePanel(e) {
e.preventDefault();
$("#left-panel-contents").toggleClass('active').toggle(200);
$("#right-panel-contents").toggleClass('active').toggle(200);
var slidePos =
$("#left-panel-button").css("left") == "-23px"? '182px': '-23px';
$("#left-panel-button").
animate({"left": slidePos, "opacity": 0.9}, {duration: "200" });
// if ($("#left-panel-contents").hasClass('active')) {
// hsHideTodoKeyword('done');
// } else {
// hsShowTodoKeyword('done');
// }
// return false;
}
$(function() {
$('<div id="left-panel-wrapper" class="dontprint"><div id="left-panel-contents" style="opacity: 0.9"></div><div id="left-panel-button" class="dontprint"><a href="#">Dashboard</a></div></div>')
.appendTo('body');
$('<div id="right-panel-wrapper" class="dontprint"><div id="right-panel-contents" style="opacity: 0.9"></div></div>')
.appendTo('body');
$('#left-panel-button').click(togglePanel);
});
$(function() {
var ul = $('<ul id="listOfTodo"></ul>').appendTo('#left-panel-contents');
var countOfTodo = {}, listOfTodo = [], totalOfTodo = 0;
// assign the counts (avoid double-counting elements from the ToC)
$('span.todo').not($('#table-of-contents span.todo')).each(function() {
var $thisTodo = $(this).text().trim();
if ($.inArray($thisTodo, listOfTodo) == -1) {
countOfTodo[$thisTodo] = 1;
listOfTodo.push($thisTodo);
}
else
countOfTodo[$thisTodo] += 1;
totalOfTodo += 1;
});
function scoreTodo(t) {
switch (t) {
case 'NEW': return 1;
case 'TODO': return 2;
case 'STRT': return 3;
case 'WAIT': return 4;
case 'DLGT': return 5;
case 'SDAY': return 6;
case 'DFRD': return 7;
case 'DONE': return 8;
case 'CANX': return 9;
default: return 0;
}
}
function compareTodo(a, b) {
if (scoreTodo(a) < scoreTodo(b)) return -1;
if (scoreTodo(a) > scoreTodo(b)) return 1;
return 0;
}
listOfTodo.sort(compareTodo);
// display
for (i = 0; i < listOfTodo.length; i++) {
var $thisTodo = listOfTodo[i];
$(ul).append('<li><span class="todo ' + $thisTodo + '">'+ $thisTodo + '</span>'
+ ' <small>(' + countOfTodo[$thisTodo] + ')</small></li>');
}
$('#listOfTodo')
.before('<b>Next Actions</b> <small>(' + totalOfTodo + ')</small>:<br>');
});
$(function() {
var ul = $('<ul id="listOfDone"></ul>').appendTo('#left-panel-contents');
var countOfDone = {}, listOfDone = [], totalOfDone = 0;
// assign the counts (avoid double-counting elements from the ToC)
$('span.done').not($('#table-of-contents span.done')).each(function() {
var $thisDone = $(this).text().trim();
if ($.inArray($thisDone, listOfDone) == -1) {
countOfDone[$thisDone] = 1;
listOfDone.push($thisDone);
}
else
countOfDone[$thisDone] += 1;
totalOfDone += 1;
});
// display
for (i = 0; i < listOfDone.length; i++) {
var $thisDone = listOfDone[i];
$(ul).append('<li><span class="done ' + $thisDone + '">'+ $thisDone + '</span>'
+ ' <small>(' + countOfDone[$thisDone] + ')</small></li>');
}
$('#listOfDone')
.before('<b>Done Actions</b> <small>(' + totalOfDone + '):</small><br>');
});
$(function() {
var ul = $('<ul id="listOfTags"></ul>').appendTo('#right-panel-contents');
var countOfTags = {}, listOfTags = [], totalOfTags = 0;
// assign the counts (avoid double-counting elements from the ToC)
$('span.tag').not($('#table-of-contents span.tag')).each(function() {
var $thisTagGroup = $(this).text().trim().split(/\s/);
// \s matches spaces, tabs, new lines, etc.
for (tag in $thisTagGroup) {
if ($.inArray($thisTagGroup[tag], listOfTags) == -1) {
countOfTags[$thisTagGroup[tag]] = 1;
listOfTags.push($thisTagGroup[tag]);
}
else
countOfTags[$thisTagGroup[tag]] += 1;
totalOfTags += 1;
}
});
listOfTags.sort();
// display
for (i = 0; i < listOfTags.length; i++) {
var $thisTag = listOfTags[i];
// $(ul).append('<li><span class="tag ' + $thisTag + '">'+
// $thisTag + '</span> <small>(' + countOfTags[$thisTag] + ')</small></li>');
$(ul).append('<li><span class="tag"><span class="' + $thisTag + '">' + $thisTag
+ '</span></span>'
+ ' <small>(' + countOfTags[$thisTag] + ')</small></li>');
}
$('#listOfTags')
.before('<b>Contexts</b> <small>(' + totalOfTags + '):</small><br>');
});
$(function() {
$('.done').parent(':header').parent().find(':header').addClass('DONEheader');
$('.done').parent(':header').parent().css({color: '#999999'});
});
$(function() {
$('span.todo').click(function(e) {
var orgKeyword = $(this).text().trim();
$('.' + orgKeyword).toggleClass('selected');
$('#content .' + orgKeyword).parent().parent()
.toggleClass('match' + orgKeyword);
$('#left-panel-wrapper .' + orgKeyword).parent()
.toggleClass('match' + orgKeyword);
e.preventDefault();
})
});
$(function() {
$('.tag span').click(function(e) {
var orgTag = $(this).text().trim();
$('.' + orgTag).toggleClass('selected');
$('#content .' + orgTag).parent().parent().parent()
.toggleClass('matchtag');
$('#right-panel-wrapper .' + orgTag).parent().parent()
.toggleClass('matchtag');
e.preventDefault();
})
});
function clickPreviousTab() {
var active = $('#content').tabs('option', 'active');
// Avoid going back to last tab
if (active == 0) return;
$('#content').tabs('option', 'active', active - 1);
// Set the location href
var href = $('#content div[aria-expanded=true]').attr('id');
document.location.hash = href;
$.scrollTo(0);
}
function clickNextTab() {
var active = $('#content').tabs('option', 'active');
$('#content').tabs('option', 'active', active + 1);
// Set the location href
var href = $('#content div[aria-expanded=true]').attr('id');
document.location.hash = href;
$.scrollTo(0);
}
function orgDefkey(e) {
if (!e)
var e = window.event;
var keycode = (e.keyCode) ? e.keyCode : e.which;
var actualkey = String.fromCharCode(keycode);
switch (actualkey) {
case "?": // help (dashboard)
case "h":
togglePanel(e);
break;
case "n": // next
clickNextTab();
break;
case "p": // previous
clickPreviousTab();
break;
// case "b": // scroll down - should be mapped to Shift-SPC
// $(window).scrollTop($(window).scrollTop()-$(window).height());
// break;
case "<": // scroll to top
$(window).scrollTop(0);
break;
case ">": // scroll to bottom
$(window).scrollTop($(document).height());
break;
case "-": // collapse all
hsCollapseAll();
break;
case "+": // expand all
hsExpandAll();
break;
case "r": // go to next task
hsReviewTaskNext();
break;
case "R": // go to previous task
hsReviewTaskPrev();
break;
case "q": // quit reviewing
hsReviewTaskQuit();
break;
case "g": // refresh the page (from the server, rather than the cache)
location.reload(true);
break;
}
}
document.onkeypress = orgDefkey;

View File

@@ -0,0 +1,334 @@
// hideshow.js --- HideShow JS file
//
// Copyright (C) 2014-2020 All Right Reserved, Fabrice Niessen
//
// This file is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of
// the License, or (at your option) any later version.
//
// This file is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")>
// URL: https://github.com/fniessen/hide-show/
// Version: 20140912.1722
// var HS_COLLAPSIBLE_HEADERS = $('h3, h4, h5'); // collapsible headers
if (typeof HS_STARTUP_FOLDED === 'undefined') {
var HS_STARTUP_FOLDED = false; // Show just the overview, or show all.
}
if (typeof HS_SHOW_ALL_TEXT === 'undefined') {
var HS_SHOW_ALL_TEXT = '[Expand all]';
}
if (typeof HS_HIDE_ALL_TEXT === 'undefined') {
var HS_HIDE_ALL_TEXT = '[Collapse all]';
}
if (typeof HS_ALWAYS_DISPLAY_ICON === 'undefined') {
var HS_ALWAYS_DISPLAY_ICON = false; // Display an icon for all states, or
// just when closed.
}
if (typeof HS_ICON_CLOSED === 'undefined') {
var HS_ICON_CLOSED = '&#x25BA;'; // black right-pointing pointer
}
if (typeof HS_ICON_OPEN === 'undefined') {
var HS_ICON_OPEN = '&#x25BC;'; // black down-pointing triangle
}
if (typeof HS_ICON_EMPTY === 'undefined') {
var HS_ICON_EMPTY = '&#x25A0;'; // black square
}
if (typeof HS_SHOW_ALL_OPEN_DONE_TREES === 'undefined') {
var HS_SHOW_ALL_OPEN_DONE_TREES = false; // Expand all will open DONE trees.
}
if (typeof HS_CLASS === 'undefined') {
var HS_CLASS = 'hsCollapsible';
}
// Expand a header
function hsExpand(header) {
hsExpand2(header, true);
}
// Expand a header
function hsExpand2(header, expandDoneHeader) {
// Ignore non collapsible entries
if (!header.parent().hasClass(HS_CLASS)) return;
// Do not expand DONE node if not required
if (hsIsDoneHeader(header) && !expandDoneHeader) return;
header.children('span[class="ellipsis"]').remove();
if (HS_ALWAYS_DISPLAY_ICON == true) {
header.append('<span class="ellipsis"> ' + HS_ICON_OPEN + '</span>');
}
header.parent().removeClass('hsCollapsed').addClass('hsExpanded');
header.nextAll().show();
}
// Expand a header and all its parents
function hsExpandParents(header) {
hsExpand(header);
header.parents('.hsCollapsed').each(function() {
hsExpand($(this).children(':header'));
});
}
// Collapse a header and all its parents
function hsCollapseParents(header) {
hsCollapse(header);
header.parents('.hsExpanded').each(function() {
hsCollapse($(this).children(':header'));
});
}
// Collapse a header
function hsCollapse(header) {
// Ignore non collapsible entries
if (!header.parent().hasClass(HS_CLASS)) return;
header.children('span[class="ellipsis"]').remove();
header.append('<span class="ellipsis"> ' + HS_ICON_CLOSED + '</span>');
header.parent().removeClass('hsExpanded').addClass('hsCollapsed');
// header.nextAll().hide('fast');
header.nextAll().hide();
}
// Toggle a header
function hsToggleCollapsing(header) {
if (header.parent().hasClass('hsCollapsed'))
hsExpand(header);
else if (header.parent().hasClass('hsExpanded'))
hsCollapse(header);
}
// Expand all headers
function hsExpandAll() {
$('#content .hsCollapsed').each(function() {
hsExpand2($(this).children(':header'), HS_SHOW_ALL_OPEN_DONE_TREES);
});
}
// Collapse all headers
function hsCollapseAll() {
$('#content .hsExpanded').each(function() {
hsCollapse($(this).children(':header'));
});
}
// Collapse all visible headers
function hsCollapseAllVisible() {
$('#content .hsExpanded:visible').each(function() {
hsCollapse($(this).children(':header'));
});
}
// Add click events to H3/H4/H5 headers which have contents.
function hsInit() {
for (var i = 3; i <= 5; i++) {
$('#content .outline-' + i).each(function() {
var header = $(this).children(':header');
if (header.siblings().length > 0) {
$(this).addClass(HS_CLASS);
header.css({cursor: 'pointer'});
header.click(function() {
hsToggleCollapsing($(this)); });
// Allow to override global Collapse/Expand default on an entry
// basis (see property `:HTML_CONTAINER_CLASS:')
if (header.parent().hasClass('hsCollapsed')) {
hsCollapse(header);
} else if (header.parent().hasClass('hsExpanded')) {
hsExpand(header);
} else {
hsSetDefaultVisibility(header);
}
}
else {
if (HS_ALWAYS_DISPLAY_ICON == true) {
header.append('<span class="ellipsis"> ' + HS_ICON_EMPTY
+ '</span>');
}
$(this).addClass('hsEmpty');
}
});
}
// Add buttons
$('.title').after($('<div class="buttons dontprint"></div>'));
$('.buttons').append($('<span>' + HS_SHOW_ALL_TEXT + '</span>')
.addClass('hsButton')
.click(hsExpandAll));
$('.buttons').append($('<span>' + HS_HIDE_ALL_TEXT + '</span>')
.addClass('hsButton')
.click(hsCollapseAll));
}
// Returns true if a header is a DONE header
function hsIsDoneHeader(header) {
return $('span.done', header).length;
}
// Sets the default visibility state to a header
function hsSetDefaultVisibility(header) {
if (HS_STARTUP_FOLDED) {
hsCollapse(header);
}
else {
if (!hsIsDoneHeader(header) | HS_SHOW_ALL_OPEN_DONE_TREES) {
hsExpand(header);
}
else {
hsCollapse(header);
}
}
}
// Expands an anchor, i.e. expand all parent headers
function hsExpandAnchor(id) {
// alert(id);
if (id) {
// alert($(id + '.hsNode').length);
$(id).parents('.hsCollapsed').each(function() {
hsExpand2($(this).children(':header'), true);
});
}
}
// Search for next task to review, starting from beginning of current tab.
// If BACKWARD is true, search in the reverse direction.
function hsReviewTaskNext(backward) {
// If no tasks to review at all, do nothing.
if ($('.outline-2 span.todo').length == 0) return;
if ($('.hsReviewing').length == 0) { // reviewing is starting
$('body').addClass('hsReviewing');
$('.hsReviewPanel').addClass('hsReviewing');
$('body').prepend('<div id="hsOverlay"></div>');
hsAddReviewingPanels();
hsCollapseAll();
// Get first task to review on each tab and expand it
$('.outline-2').each(function(){
var firstTodo = $(this).find('span.todo:first').parent().parent();
firstTodo.addClass('hsReview');
hsExpandParents($(firstTodo).children(':header'));
});
}
else {
// Get all todos
var todosElements = $('.outline-2:visible span.todo').parent().parent();
// alert(todosElements.length);
var todos = jQuery.makeArray(todosElements);
if (backward) {
todos = todos.reverse();
}
// Find current review item and review the next one
var foundReview = false;
var index;
for (index = 0; index < todos.length; ++index) {
var todo = todos[index];
if (foundReview) {
$(todo).addClass('hsReview');
hsExpandParents($(todo).children(':header'));
break;
}
if ($(todo).hasClass('hsReview')) {
foundReview = true;
if (index < todos.length - 1) {
$(todo).removeClass('hsReview');
hsCollapseParents($(todo).children(':header'));
}
}
}
// Update reviewing panel
if (index < todos.length) {
var reviewItem = index + 1;
if (backward) {
reviewItem = todos.length - index;
}
$('.outline-2:visible .hsReviewingPanel .hsReviewItem').text(reviewItem);
}
}
// Scroll to the current review item
$('html, body').animate({
scrollTop: $(".hsReview:visible").offset().top
}, 200);
}
// go to previous task to review
function hsReviewTaskPrev() {
hsReviewTaskNext(true);
}
// stop reviewing tasks
function hsReviewTaskQuit() {
$('body').removeClass('hsReviewing');
$('.hsReviewPanel').removeClass('hsReviewing');
$('.hsReview').removeClass('hsReview');
$('#hsOverlay').remove();
$('.hsReviewingPanel').remove();
}
function hsHideTodoKeyword(kw) {
$('span.' + kw).addClass('hsHidden').parent().parent().hide();
}
function hsShowTodoKeyword(kw) {
$('span.' + kw).removeClass('hsHidden').parent().parent().show();
// XXX Show if parent is not collapsed!
}
function hsAddReviewPanels() {
$('.outline-2').each(function(e) {
var nbItems = $(this).find('span.todo').length;
if (nbItems > 0) {
$(this).prepend('<div class="hsReviewPanel hsUnselectable" onclick="hsReviewTaskNext()">'
+ 'Press r or click here<br>'
+ 'to review ' + nbItems + ' tasks<br>'
+ '(out of ' + nbReviewTotalTasks + ' tasks)</div>');
}
});
}
function hsAddReviewingPanels() {
$('.outline-2').each(function(e) {
var nbItems = $(this).find('span.todo').length;
if (nbItems > 0) {
$(this).prepend('<div class="hsReviewingPanel hsUnselectable">Reviewing task <span class="hsReviewItem">1</span> / ' + nbItems + '<br>'
+ '(out of ' + nbReviewTotalTasks + ' tasks)<br>'
+ 'Shortcuts: '
+ '<span class="hsReviewButton" onclick="hsReviewTaskNext()">r (next)</span> - '
+ '<span class="hsReviewButton" onclick="hsReviewTaskPrev()">R (previous)</span><br>'
+ '<span class="hsReviewButton" onclick="hsReviewTaskPrev()">q (quit)</span>'
+ '</div>');
}
else {
$(this).prepend('<div class="hsReviewingPanel hsUnselectable">No task to review<br>'
+ '(out of ' + nbReviewTotalTasks + ' tasks)<br>'
+ 'Shortcuts: '
+ '<span class="hsReviewButton" onclick="hsReviewTaskNext()">r (next)</span> - '
+ '<span class="hsReviewButton" onclick="hsReviewTaskPrev()">R (previous)</span><br>'
+ '<span class="hsReviewButton" onclick="hsReviewTaskPrev()">q (quit)</span>'
+ '</div>');
}
});
}
var nbReviewTotalTasks;
$(document).ready(function() {
nbReviewTotalTasks = $('.outline-2 span.todo').length;
hsAddReviewPanels();
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
/**
* jQuery.LocalScroll - Animated scrolling navigation, using anchors.
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 3/11/2009
* @author Ariel Flesler
* @version 1.2.7
**/
;(function($){var l=location.href.replace(/#.*/,'');var g=$.localScroll=function(a){$('body').localScroll(a)};g.defaults={duration:1e3,axis:'y',event:'click',stop:true,target:window,reset:true};g.hash=function(a){if(location.hash){a=$.extend({},g.defaults,a);a.hash=false;if(a.reset){var e=a.duration;delete a.duration;$(a.target).scrollTo(0,a);a.duration=e}i(0,location,a)}};$.fn.localScroll=function(b){b=$.extend({},g.defaults,b);return b.lazy?this.bind(b.event,function(a){var e=$([a.target,a.target.parentNode]).filter(d)[0];if(e)i(a,e,b)}):this.find('a,area').filter(d).bind(b.event,function(a){i(a,this,b)}).end().end();function d(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,'')==l&&(!b.filter||$(this).is(b.filter))}};function i(a,e,b){var d=e.hash.slice(1),f=document.getElementById(d)||document.getElementsByName(d)[0];if(!f)return;if(a)a.preventDefault();var h=$(b.target);if(b.lock&&h.is(':animated')||b.onBefore&&b.onBefore.call(b,a,f,h)===false)return;if(b.stop)h.stop(true);if(b.hash){var j=f.id==d?'id':'name',k=$('<a> </a>').attr(j,d).css({position:'absolute',top:$(window).scrollTop(),left:$(window).scrollLeft()});f[j]='';$('body').prepend(k);location=e.hash;k.remove();f[j]=d}h.scrollTo(f,b).trigger('notify.serialScroll',[f])}})(jQuery);

View File

@@ -0,0 +1,7 @@
/**
* Copyright (c) 2007-2012 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* @author Ariel Flesler
* @version 1.4.3.1
*/
;(function($){var h=$.scrollTo=function(a,b,c){$(window).scrollTo(a,b,c)};h.defaults={axis:'xy',duration:parseFloat($.fn.jquery)>=1.3?0:1,limit:true};h.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(e,f,g){if(typeof f=='object'){g=f;f=0}if(typeof g=='function')g={onAfter:g};if(e=='max')e=9e9;g=$.extend({},h.defaults,g);f=f||g.duration;g.queue=g.queue&&g.axis.length>1;if(g.queue)f/=2;g.offset=both(g.offset);g.over=both(g.over);return this._scrollable().each(function(){if(e==null)return;var d=this,$elem=$(d),targ=e,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}$.each(g.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=h.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(g.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=g.offset[pos]||0;if(g.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*g.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(g.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&g.queue){if(old!=attr[key])animate(g.onAfterFirst);delete attr[key]}});animate(g.onAfter);function animate(a){$elem.animate(attr,f,g.easing,a&&function(){a.call(this,e,g)})}}).end()};h.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,134 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/comfy_inline.theme
#+TITLE: comfy_inline
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* comfy_inline
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [X] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* Heading
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,134 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/darksun.theme
#+TITLE: Darksun
#+AUTHOR: alphapapa
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Darksun
Origin: https://github.com/alphapapa/org-html-theme-darksun
Includes:
- [X] CSS
- [X] JAVASCRIPT
Available as:
- [X] CSS FILE
- [X] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,4 @@
6bd28f7522714ce6583002783ba3b5e7 theme-bigblow-local.setup 1442808908
04f1afc7218741e70b914845bee934ec theme-bigblow.setup 1442808908
0380c34688050e612e70e43f41977782 theme-readtheorg.setup 1442808908
1bf08512a20fd839901915603925a30f theme-readtheorg-local.setup 1442808908

View File

@@ -0,0 +1,15 @@
# -*- mode: org; -*-
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="export/styles/darksun/css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="export/styles/darksun/css/darksun.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="export/styles/darksun/css/hideshow.css"/>
#+HTML_HEAD: <script type="text/javascript" src="export/styles/darksun/js/jquery-1.11.0.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="export/styles/darksun/js/jquery-ui-1.10.2.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="export/styles/darksun/js/jquery.localscroll-min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="export/styles/darksun/js/jquery.scrollTo-1.4.3.1-min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="export/styles/darksun/js/jquery.zclip.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="export/styles/darksun/js/darksun.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="export/styles/darksun/js/hideshow.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="export/styles/lib/js/jquery.stickytableheaders.min.js"></script>

View File

@@ -0,0 +1,15 @@
# -*- mode: org; -*-
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/darksun/css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/darksun/css/darksun.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/darksun/css/hideshow.css"/>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/darksun/js/jquery-1.11.0.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/darksun/js/jquery-ui-1.10.2.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/darksun/js/jquery.localscroll-min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/darksun/js/jquery.scrollTo-1.4.3.1-min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/darksun/js/jquery.zclip.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/darksun/js/darksun.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/darksun/js/hideshow.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/lib/js/jquery.stickytableheaders.min.js"></script>

View File

@@ -0,0 +1,3 @@
ce85988c67d66468eaab106cd6fa6d03 hideshow.css 1442808908
986e4af6c72a7d99e145447f5fd755f1 bigblow.css 1442808908
d10bfb0001b6db895bcf5b78567022fb htmlize.css 1442808908

View File

@@ -0,0 +1,264 @@
* {
border-color: #657b83;
}
a {
color: #268bd2 !important;
}
a:visited {
color: #6c71c4 !important;
}
body {
background-color: #002b36 !important;
color: #839496 !important;
font-family: Libre Baskerville, serif;
}
html {
background-color: #002b36 !important;
}
input,
textarea {
background-color: #073642 !important;
color: #839496 !important;
}
blockquote,
code,
pre {
background-color: #073642 !important;
border: 1px solid #094352 !important;
border-radius: 2px;
box-shadow: none;
color: #839496 !important;
}
code {
font-size: 1.2em;
}
img {
margin: 0.5em;
}
.buttons {
background-color: #073642 !important;
color: #93a1a1 !important;
font-family: sans-serif;
font-size: 1.5rem;
}
.hsReviewPanel {
display: none;
}
.title {
border: 0;
}
#postamble {
display: none;
}
#banner {
text-align: center;
}
#tabs {
background-color: #073642 !important;
float: left;
margin: 0px 0px 20px 0px;
padding: 0;
width: 100%;
font-family: sans-serif;
}
#tabs ul {
margin: 0;
padding: 0;
}
#tabs li {
float: left;
list-style-type: none;
margin: 0px 2px 0px 0px;
padding: 0px 0px 0px 0px;
white-space: nowrap;
}
#tabs li a {
display: block;
font-size: 120%;
font-weight: bold;
margin: 0;
padding: 4px 10px 4px 10px;
text-decoration: none;
}
#tabs li a:hover {
color: #90c5eb !important;
}
#tabs li.ui-tabs-active a {
background-color: #094352 !important;
color: #59a9e1 !important;
}
#content {
clear: both;
width: 80%;
}
#content > p {
margin: 1em;
}
#content > div > h2 {
margin: 0.25rem;
}
#postamble {
text-align: right;
}
blockquote {
background-color: #073642 !important;
padding-left: 0.75em;
padding-right: 0.75em;
padding-top: 0.01em;
padding-bottom: 0.01em;
overflow: hidden;
margin-left: 0;
}
.outline-text-2,
.outline-text-3,
.outline-text-4,
.outline-text-5,
.outline-text-6 {
padding-left: 4%;
}
.outline-3 {
padding-left: 4%;
}
.outline-4 {
padding-left: 4%;
}
.outline-5 {
padding-left: 4%;
}
.outline-6 {
padding-left: 4%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: sans-serif;
border-bottom: 2px solid;
border-color: #094352 !important;
}
a:hover {
text-decoration: underline;
}
#search {
display: block;
float: right;
}
.tag {
background-color: #002b36 !important;
color: #93a1a1 !important;
border: 0px;
}
.tag span {
background-color: #094352 !important;
margin: 0.25em;
padding: 0.25em;
}
#table-of-contents {
display: table;
float: right;
}
#table-of-contents h2 {
display: none;
}
#table-of-contents li {
list-style-type: none;
}
#table-of-contents a:hover {
text-decoration: underline;
}
#minitoc {
background-color: #073642 !important;
position: fixed;
top: 0px;
right: -5px;
padding: 0.5em;
z-index: 200;
width: 18%;
word-wrap: normal;
overflow: hidden;
}
#minitoc ul {
margin: 0.5em;
padding-left: 1em;
}
#minitoc h2 {
margin-top: 0;
margin-bottom: 0;
font-size: 110%;
}
#minitoc a {
display: block;
font-family: sans-serif;
text-decoration: none;
}
#minitoc a:hover {
text-decoration: underline;
}
/* #minitoc a { */
/* display: none; */
/* } */
#minitoc:hover a {
display: block;
}
#toTop {
top: -100px;
position: fixed;
text-align: center;
z-index: 999;
display: none;
}
#toTop:hover {
text-decoration: underline;
}
#left-panel-wrapper {
display: none;
position: fixed;
z-index: 200;
}
#left-panel-contents {
display: none;
position: fixed;
text-align: left;
top: 0;
z-index: 200;
}
#left-panel-button {
transform: rotate(90deg);
left: -23px;
position: fixed;
top: 50%;
z-index: 200;
}
#right-panel-wrapper {
position: fixed;
z-index: 200;
}
#right-panel-contents {
display: none;
z-index: 200;
position: fixed;
text-align: left;
top: 0;
}
.snippet-copy-to-clipboard {
display: none;
position: absolute;
left: 50px;
top: 50px;
}
.org-ol > li,
.org-dl > dt {
margin-top: 0.5em;
}
.org-ul {
margin-top: 1em;
margin-bottom: 1em;
}
.org-ul li {
margin-top: 0.5em;
}
.org-ul > li > a {
font-family: sans-serif;
}

View File

@@ -0,0 +1,110 @@
/* hideshow.css --- HideShow CSS file */
/* Copyright (C) 2014 All Right Reserved, Fabrice Niessen */
/* This file is free software: you can redistribute it and/or */
/* modify it under the terms of the GNU General Public License as */
/* published by the Free Software Foundation, either version 3 of */
/* the License, or (at your option) any later version. */
/* This file is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")> */
/* URL: https://github.com/fniessen/hide-show/ */
/* Version: 20140912.1722 */
.hsExpanded.hsAnchor {background: #EE7700;}
.buttons {
padding: 0px 7px 13px 0px;
background: #0A3F69;
}
.hsButton {
color: white;
float: right;
font-size: 70%;
margin-left: 10px;
}
.hsButton:hover {
text-decoration: underline;
cursor: pointer;
}
.ellipsis {
color: #999999;
/* background-color: #FFF8C0; */
/* float: right; */
margin-left: 0.6em;
}
.hsReview {
border: 1px solid #A4A4A4;
background-color: white;
z-index: 500; /* must be greater then z-index of hsOverlay */
position: relative; /* required for z-index to work */
}
#hsOverlay {
width: 100%;
height: 100%;
position: fixed;
left: 0px;
top: 0px;
background-color: #000;
opacity: .70;
z-index: 250; /* must be greater than any other z-index (except the one for .hsReview */
}
.hsReviewPanel {
background-color: #757176;
color: white;
line-height: 1.1em;
margin: 10px 0px;
padding: 10px;
position: fixed;
width: auto;
bottom: 0px;
right: 0px;
z-index: 501;
text-align: center;
}
.hsReviewPanel.hsReviewing {
display: none;
}
.hsReviewPanel:hover {
cursor: pointer;
}
.hsReviewingPanel {
background-color: white;
color: #757176;
line-height: 1.1em;
margin: 10px 0px;
padding: 10px;
position: fixed;
width: auto;
bottom: 0px;
right: 0px;
z-index: 501;
text-align: center;
}
.hsReviewButton:hover {
cursor: pointer;
}
.hsUnselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

View File

@@ -0,0 +1,145 @@
.org-bold { /* bold */ font-weight: bold; }
.org-bold-italic { /* bold-italic */ font-weight: bold; font-style: italic; }
.org-buffer-menu-buffer { /* buffer-menu-buffer */ font-weight: bold; }
.org-builtin { /* font-lock-builtin-face */ color: #7a378b; }
.org-button { /* button */ text-decoration: underline; }
.org-calendar-today { /* calendar-today */ text-decoration: underline; }
.org-change-log-acknowledgement { /* change-log-acknowledgement */ color: #b22222; }
.org-change-log-conditionals { /* change-log-conditionals */ color: #a0522d; }
.org-change-log-date { /* change-log-date */ color: #8b2252; }
.org-change-log-email { /* change-log-email */ color: #a0522d; }
.org-change-log-file { /* change-log-file */ color: #0000ff; }
.org-change-log-function { /* change-log-function */ color: #a0522d; }
.org-change-log-list { /* change-log-list */ color: #a020f0; }
.org-change-log-name { /* change-log-name */ color: #008b8b; }
.org-comint-highlight-input { /* comint-highlight-input */ font-weight: bold; }
.org-comint-highlight-prompt { /* comint-highlight-prompt */ color: #00008b; }
.org-comment { /* font-lock-comment-face */ color: #b22222; }
.org-comment-delimiter { /* font-lock-comment-delimiter-face */ color: #b22222; }
.org-completions-annotations { /* completions-annotations */ font-style: italic; }
.org-completions-common-part { /* completions-common-part */ color: #000000; background-color: #ffffff; }
.org-completions-first-difference { /* completions-first-difference */ font-weight: bold; }
.org-constant { /* font-lock-constant-face */ color: #008b8b; }
.org-diary { /* diary */ color: #ff0000; }
.org-diff-context { /* diff-context */ color: #7f7f7f; }
.org-diff-file-header { /* diff-file-header */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-function { /* diff-function */ background-color: #cccccc; }
.org-diff-header { /* diff-header */ background-color: #cccccc; }
.org-diff-hunk-header { /* diff-hunk-header */ background-color: #cccccc; }
.org-diff-index { /* diff-index */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-nonexistent { /* diff-nonexistent */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-refine-change { /* diff-refine-change */ background-color: #d9d9d9; }
.org-dired-directory { /* dired-directory */ color: #0000ff; }
.org-dired-flagged { /* dired-flagged */ color: #ff0000; font-weight: bold; }
.org-dired-header { /* dired-header */ color: #228b22; }
.org-dired-ignored { /* dired-ignored */ color: #7f7f7f; }
.org-dired-mark { /* dired-mark */ color: #008b8b; }
.org-dired-marked { /* dired-marked */ color: #ff0000; font-weight: bold; }
.org-dired-perm-write { /* dired-perm-write */ color: #b22222; }
.org-dired-symlink { /* dired-symlink */ color: #a020f0; }
.org-dired-warning { /* dired-warning */ color: #ff0000; font-weight: bold; }
.org-doc { /* font-lock-doc-face */ color: #8b2252; }
.org-escape-glyph { /* escape-glyph */ color: #a52a2a; }
.org-file-name-shadow { /* file-name-shadow */ color: #7f7f7f; }
.org-flyspell-duplicate { /* flyspell-duplicate */ color: #cdad00; font-weight: bold; text-decoration: underline; }
.org-flyspell-incorrect { /* flyspell-incorrect */ color: #ff4500; font-weight: bold; text-decoration: underline; }
.org-fringe { /* fringe */ background-color: #f2f2f2; }
.org-function-name { /* font-lock-function-name-face */ color: #0000ff; }
.org-header-line { /* header-line */ color: #333333; background-color: #e5e5e5; }
.org-help-argument-name { /* help-argument-name */ font-style: italic; }
.org-highlight { /* highlight */ background-color: #b4eeb4; }
.org-holiday { /* holiday */ background-color: #ffc0cb; }
.org-isearch { /* isearch */ color: #b0e2ff; background-color: #cd00cd; }
.org-isearch-fail { /* isearch-fail */ background-color: #ffc1c1; }
.org-italic { /* italic */ font-style: italic; }
.org-keyword { /* font-lock-keyword-face */ color: #a020f0; }
.org-lazy-highlight { /* lazy-highlight */ background-color: #afeeee; }
.org-link { /* link */ color: #0000ff; text-decoration: underline; }
.org-link-visited { /* link-visited */ color: #8b008b; text-decoration: underline; }
.org-log-edit-header { /* log-edit-header */ color: #a020f0; }
.org-log-edit-summary { /* log-edit-summary */ color: #0000ff; }
.org-log-edit-unknown-header { /* log-edit-unknown-header */ color: #b22222; }
.org-match { /* match */ background-color: #ffff00; }
.org-next-error { /* next-error */ background-color: #eedc82; }
.org-nobreak-space { /* nobreak-space */ color: #a52a2a; text-decoration: underline; }
.org-org-archived { /* org-archived */ color: #7f7f7f; }
.org-org-block { /* org-block */ color: #7f7f7f; }
.org-org-block-begin-line { /* org-block-begin-line */ color: #b22222; }
.org-org-block-end-line { /* org-block-end-line */ color: #b22222; }
.org-org-checkbox { /* org-checkbox */ font-weight: bold; }
.org-org-checkbox-statistics-done { /* org-checkbox-statistics-done */ color: #228b22; font-weight: bold; }
.org-org-checkbox-statistics-todo { /* org-checkbox-statistics-todo */ color: #ff0000; font-weight: bold; }
.org-org-clock-overlay { /* org-clock-overlay */ background-color: #ffff00; }
.org-org-code { /* org-code */ color: #7f7f7f; }
.org-org-column { /* org-column */ background-color: #e5e5e5; }
.org-org-column-title { /* org-column-title */ background-color: #e5e5e5; font-weight: bold; text-decoration: underline; }
.org-org-date { /* org-date */ color: #a020f0; text-decoration: underline; }
.org-org-document-info { /* org-document-info */ color: #191970; }
.org-org-document-info-keyword { /* org-document-info-keyword */ color: #7f7f7f; }
.org-org-document-title { /* org-document-title */ color: #191970; font-size: 144%; font-weight: bold; }
.org-org-done { /* org-done */ color: #228b22; font-weight: bold; }
.org-org-drawer { /* org-drawer */ color: #0000ff; }
.org-org-ellipsis { /* org-ellipsis */ color: #b8860b; text-decoration: underline; }
.org-org-footnote { /* org-footnote */ color: #a020f0; text-decoration: underline; }
.org-org-formula { /* org-formula */ color: #b22222; }
.org-org-headline-done { /* org-headline-done */ color: #bc8f8f; }
.org-org-hide { /* org-hide */ color: #ffffff; }
.org-org-latex-and-export-specials { /* org-latex-and-export-specials */ color: #8b4513; }
.org-org-level-1 { /* org-level-1 */ color: #0000ff; }
.org-org-level-2 { /* org-level-2 */ color: #a0522d; }
.org-org-level-3 { /* org-level-3 */ color: #a020f0; }
.org-org-level-4 { /* org-level-4 */ color: #b22222; }
.org-org-level-5 { /* org-level-5 */ color: #228b22; }
.org-org-level-6 { /* org-level-6 */ color: #008b8b; }
.org-org-level-7 { /* org-level-7 */ color: #7a378b; }
.org-org-level-8 { /* org-level-8 */ color: #8b2252; }
.org-org-link { /* org-link */ color: #0000ff; text-decoration: underline; }
.org-org-meta-line { /* org-meta-line */ color: #b22222; }
.org-org-mode-line-clock { /* org-mode-line-clock */ color: #000000; background-color: #bfbfbf; }
.org-org-mode-line-clock-overrun { /* org-mode-line-clock-overrun */ color: #000000; background-color: #ff0000; }
.org-org-quote { /* org-quote */ color: #7f7f7f; }
.org-org-scheduled { /* org-scheduled */ color: #006400; }
.org-org-scheduled-previously { /* org-scheduled-previously */ color: #b22222; }
.org-org-scheduled-today { /* org-scheduled-today */ color: #006400; }
.org-org-sexp-date { /* org-sexp-date */ color: #a020f0; }
.org-org-special-keyword { /* org-special-keyword */ color: #a020f0; }
.org-org-table { /* org-table */ color: #0000ff; }
.org-org-tag { /* org-tag */ font-weight: bold; }
.org-org-target { /* org-target */ text-decoration: underline; }
.org-org-time-grid { /* org-time-grid */ color: #b8860b; }
.org-org-todo { /* org-todo */ color: #ff0000; font-weight: bold; }
.org-org-upcoming-deadline { /* org-upcoming-deadline */ color: #b22222; }
.org-org-verbatim { /* org-verbatim */ color: #7f7f7f; }
.org-org-verse { /* org-verse */ color: #7f7f7f; }
.org-org-warning { /* org-warning */ color: #ff0000; font-weight: bold; }
.org-outline-1 { /* outline-1 */ color: #0000ff; }
.org-outline-2 { /* outline-2 */ color: #a0522d; }
.org-outline-3 { /* outline-3 */ color: #a020f0; }
.org-outline-4 { /* outline-4 */ color: #b22222; }
.org-outline-5 { /* outline-5 */ color: #228b22; }
.org-outline-6 { /* outline-6 */ color: #008b8b; }
.org-outline-7 { /* outline-7 */ color: #7a378b; }
.org-outline-8 { /* outline-8 */ color: #8b2252; }
.org-preprocessor { /* font-lock-preprocessor-face */ color: #7a378b; }
.org-query-replace { /* query-replace */ color: #b0e2ff; background-color: #cd00cd; }
.org-regexp-grouping-backslash { /* font-lock-regexp-grouping-backslash */ font-weight: bold; }
.org-regexp-grouping-construct { /* font-lock-regexp-grouping-construct */ font-weight: bold; }
.org-region { /* region */ background-color: #eedc82; }
.org-secondary-selection { /* secondary-selection */ background-color: #ffff00; }
.org-shadow { /* shadow */ color: #7f7f7f; }
.org-show-paren-match { /* show-paren-match */ background-color: #40e0d0; }
.org-show-paren-mismatch { /* show-paren-mismatch */ color: #ffffff; background-color: #a020f0; }
.org-string { /* font-lock-string-face */ color: #8b2252; }
.org-tool-bar { /* tool-bar */ color: #000000; background-color: #bfbfbf; }
.org-tooltip { /* tooltip */ color: #000000; background-color: #ffffe0; }
.org-trailing-whitespace { /* trailing-whitespace */ background-color: #ff0000; }
.org-type { /* font-lock-type-face */ color: #228b22; }
.org-underline { /* underline */ text-decoration: underline; }
.org-variable-name { /* font-lock-variable-name-face */ color: #a0522d; }
.org-warning { /* font-lock-warning-face */ color: #ff0000; font-weight: bold; }
.org-widget-button { /* widget-button */ font-weight: bold; }
.org-widget-button-pressed { /* widget-button-pressed */ color: #ff0000; }
.org-widget-documentation { /* widget-documentation */ color: #006400; }
.org-widget-field { /* widget-field */ background-color: #d9d9d9; }
.org-widget-inactive { /* widget-inactive */ color: #7f7f7f; }
.org-widget-single-line-field { /* widget-single-line-field */ background-color: #d9d9d9; }

View File

@@ -0,0 +1,8 @@
c23d1d84ab3652a556232238c3a7afea halfchecked.png 1442808908
5bf62f79a50eb3846886a6413ac64f5a fixme.png 1442808908
fca117ca745155f9cfa9bd954f79790a info.png 1442808908
4569dd0a6f7e7bac6b127abc68131efc tip.png 1442808908
1c9b7a569fbfa1043e8dd0122bf60ff9 checked.png 1442808908
870e29d877c38d93ad9200b710060684 warning.png 1442808908
56304e9a6724caacab8b7b7a9cda094f note.png 1442808908
969b724fabdb36e0855a15c5b694c58f unchecked.png 1442808908

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,9 @@
2c51cff6d460b829993d6d0c61c12828 hideshow.js 1442808908
8fc25e27d42774aeae6edbc0a18b72aa jquery-1.11.0.min.js 1442808908
7c87f5b9f7e504e3c12f460967436550 jquery.localscroll-min.js 1442808908
9ef39fa9511ae4fd1d34ed9252ceaadc bigblow.js 1442808908
397754ba49e9e0cf4e7c190da78dda05 jquery-1.9.1.min.js 1442808908
c4dff68594e0fdb05b48aac9a90c0a19 jquery.scrollTo-1.4.3.1-min.js 1442808908
9f4401cdc4405d0730362256b4c04cc0 ZeroClipboard.swf 1442808908
9e85741bf31afd921a7289b6cccdfdbd jquery.zclip.min.js 1442808908
3e6acb1e6426ef90d2e786a006a4ea28 jquery-ui-1.10.2.min.js 1442808908

View File

@@ -0,0 +1,524 @@
// darksun.js --- darksun JS file
//
// Copyright (C) 2011-2016 All Right Reserved, Fabrice Niessen
//
// This file is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of
// the License, or (at your option) any later version.
//
// This file is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")>
// URL: https://github.com/fniessen/org-html-themes/
// Version: 20140515.1841
$(function() {
$('p').
html(function(index, old) {
return old.replace('FIXME',
'<span class="fixme">FIXME</span>');
});
$('p').
html(function(index, old) {
return old.replace('XXX',
'<span class="fixme">XXX</span>');
});
});
// Remove leading section number
$(function() {
$('.section-number-2').text("");
for (var i = 3; i <= 5; i++) {
$('.section-number-' + i).each(function() {
$(this).text($(this).text().replace(/^[0-9]+\./g, ""));
});
}
});
$(function() {
$('<div id="minitoc" class="dontprint"></div>').prependTo('body');
});
// generate contents of minitoc
function generateMiniToc(divId) {
$('#minitoc-content').empty().append('<h2>In this section</h2><ul></ul>');
$('#' + divId).find('h3').each(function(i) {
// [2018-09-03 Mon 03:48] Get text up to non-breaking space,
// to omit the tags. If there are no tags, there will be no
// &nbsp;, so get all the text. (This fixes a bug in the
// original code.)
let text = null;
let pos = $(this).text().search(/ | ►/);
if (pos > 0) {
text = $(this).text().substring(0, pos);
}
else {
text = $(this).text();
}
$("#minitoc-content>ul").append("<li><a href='#" + $(this).attr("id") + "'>"
+ text + "</a></li>");
});
// Ensure that the target is expanded (hideShow)
$('#minitoc-content a[href^="#"]').click(function() {
var href = $(this).attr('href');
hsExpandAnchor(href);
});
}
// display tabs
function tabifySections() {
// hide TOC (if present)
$('#table-of-contents').hide();
// grab the list of `h2' from the page
var allSections = [];
$('h2')
.each(function() {
// Remove TODO keywords and tags (contained in spans)
var tabText = $(this).clone().find('span').remove().end()
.text().trim();
var tabId = $(this).parent().attr('id');
if (tabText) {
// - remove heading number (all leading digits)
// - remove progress logging (between square brackets)
// - remove leading and trailing spaces
tabText = tabText.replace(/^\d+\s+/, '').replace(/\[[\d/%]+\]/, '').trim();
allSections.push({
text: tabText,
id: tabId
});
}
});
// create the tab links
var tabs = $('<ul id="tabs"></ul>');
for (i = 0; i < allSections.length; i++) {
var item = allSections[i];
html = $('<li><a href="#' + item.id + '">' + item.text + '</a></li>');
tabs.append(html);
}
// insert tabs menu after title (`h1'), or at the beginning of the content
if($('.title').length !== 0) {
$('.title').after(tabs);
}
else {
$('#content').prepend(tabs);
}
}
function selectTabAndScroll(href) {
// At this point we assume that href is local (starts with #)
// alert(href);
// Find the tab to activate
var targetTab = $(href).closest('.ui-tabs-panel');
var targetTabId = targetTab.attr('id');
var targetTabAriaLabel = targetTab.attr('aria-labelledby');
var targetTabIndex = $("#content ul li")
.index($('[aria-labelledby="' + targetTabAriaLabel + '"]'));
// Activate target tab
$('#content').tabs('option', 'active', targetTabIndex);
// Rebuild minitoc
generateMiniToc(targetTabId);
// Set the location hash
// document.location.hash = href;
// Scroll to top if href was a tab
if (href == '#' + targetTabId) {
// alert(targetTabId);
$.scrollTo(0);
}
// Scroll to href if href was not a tab
else {
$.scrollTo(href);
}
}
$(document).ready(function() {
$('#preamble').remove();
$('#table-of-contents').remove();
// Initialize hideShow
hsInit();
// Prepare for tabs
tabifySections();
// Build the tabs from the #content div
$('#content').tabs();
// Set default animation
$('#content').tabs('option', 'show', true);
// Rebuild minitoc when a tab is activated
$('#content').tabs({
activate: function(event, ui) {
var divId = ui.newTab.attr('aria-controls');
generateMiniToc(divId);
}
});
// Required to get the link of the tab in URL
$('#content ul').localScroll({
target: '#content',
duration: 0,
hash: true
});
// Handle hash in URL
if ($('#content') && document.location.hash) {
hsExpandAnchor(document.location.hash);
selectTabAndScroll(document.location.hash);
}
// If no hash, build the minitoc anyway for selected tab
else {
var divId = $('#content div[aria-expanded=true]').attr('id');
generateMiniToc(divId);
}
// Handle click on internal links
$('.ui-tabs-panel a[href^="#"]').click(function(e) {
var href = $(this).attr('href');
hsExpandAnchor(href);
selectTabAndScroll(href);
e.preventDefault();
});
// add sticky headers to tables
$('table').stickyTableHeaders();
});
function copyToClipboard(text)
{
if (window.clipboardData && window.clipboardData.setData) { // Internet Explorer
window.clipboardData.setData("Text", text);
}
else { // Fallback solution
window.prompt("Copy to clipboard: Ctrl+C, Enter", text);
}
}
$(document).ready(function() {
// Assuming that the ZeroClipboard swf file is in the same folder than darksun,
// get the path to it (it will be relative to the current page location).
var bbScriptPath = $('script[src$="darksun.js"]').attr('src'); // the js file path
var bbPathToZeroClipboardSwf = bbScriptPath.replace('darksun.js', 'ZeroClipboard.swf');
// Add copy to clipboard snippets
$('.org-src-container').prepend('<div class="snippet-copy-to-clipboard"><span class="copy-to-clipboard-button">[copy]</span></div>');
// Display/hide snippets on source block mouseenter/mouseleave
$(document).on('mouseenter', '.org-src-container', function () {
$(this).find('.snippet-copy-to-clipboard').show();
// Need to call zclip here, once the button is visible.
// Beacause when the button is not visible, zclip does nothing.
if ((window.location.protocol != 'file:') && ($(this).find('.zclip').length == 0)) {
$(this).find('.copy-to-clipboard-button').zclip({
//path: 'http://www.steamdev.com/zclip/js/ZeroClipboard.swf',
//path: 'styles/darksun/js/ZeroClipboard.swf',
path: bbPathToZeroClipboardSwf,
copy: function() {
return $(this).parent().parent().find('.src').text();
}
});
}
}).on('mouseleave', '.org-src-container', function () {
$(this).find('.snippet-copy-to-clipboard').hide();
});
// Handle copy to clipboard (here, for a local file only 'file://...'
if (window.location.protocol == 'file:') { // if local file use browser-specific code
$('.copy-to-clipboard-button').click(function() {
// Get the text to be copied
var text = $(this).parent().parent().find('.src').text();
text = text.replace(/\n/g, "\r\n");
// alert(text);
copyToClipboard(text);
});
}
});
$(function() {
$('li > code :contains("[X]")')
.parent()
.addClass('checked')
.end()
.remove();
$('li > code :contains("[-]")')
.parent()
.addClass('halfchecked')
.end()
.remove();
$('li > code :contains("[ ]")')
.parent()
.addClass('unchecked')
.end()
.remove();
});
$(function() {
$('i :contains("[#A]")')
.replaceWith('<i><span style="color: #F67777;">[#A]</span></i>');
$('i :contains("[#B]")')
.replaceWith('<i><span style="color: #B6E864;">[#B]</span></i>');
$('i :contains("[#C]")')
.replaceWith('<i><span style="color: #C3DCFF;">[#C]</span></i>');
});
function togglePanel(e) {
e.preventDefault();
$("#left-panel-contents").toggleClass('active').toggle(200);
$("#right-panel-contents").toggleClass('active').toggle(200);
var slidePos =
$("#left-panel-button").css("left") == "-23px"? '182px': '-23px';
$("#left-panel-button").
animate({"left": slidePos, "opacity": 0.9}, {duration: "200" });
// if ($("#left-panel-contents").hasClass('active')) {
// hsHideTodoKeyword('done');
// } else {
// hsShowTodoKeyword('done');
// }
// return false;
}
$(function() {
$('<div id="left-panel-wrapper" class="dontprint"><div id="left-panel-contents" style="opacity: 0.9"></div><div id="left-panel-button" class="dontprint"><a href="#">Dashboard</a></div></div>')
.appendTo('body');
$('<div id="right-panel-wrapper" class="dontprint"><div id="right-panel-contents" style="opacity: 0.9"></div></div>')
.appendTo('body');
$('#left-panel-button').click(togglePanel);
});
$(function() {
var ul = $('<ul id="listOfTodo"></ul>').appendTo('#left-panel-contents');
var countOfTodo = {}, listOfTodo = [], totalOfTodo = 0;
// assign the counts (avoid double-counting elements from the ToC)
$('span.todo').not($('#table-of-contents span.todo')).each(function() {
var $thisTodo = $(this).text().trim();
if ($.inArray($thisTodo, listOfTodo) == -1) {
countOfTodo[$thisTodo] = 1;
listOfTodo.push($thisTodo);
}
else
countOfTodo[$thisTodo] += 1;
totalOfTodo += 1;
});
function scoreTodo(t) {
switch (t) {
case 'NEW': return 1;
case 'TODO': return 2;
case 'STRT': return 3;
case 'WAIT': return 4;
case 'DLGT': return 5;
case 'SDAY': return 6;
case 'DFRD': return 7;
case 'DONE': return 8;
case 'CANX': return 9;
default: return 0;
}
}
function compareTodo(a, b) {
if (scoreTodo(a) < scoreTodo(b)) return -1;
if (scoreTodo(a) > scoreTodo(b)) return 1;
return 0;
}
listOfTodo.sort(compareTodo);
// display
for (i = 0; i < listOfTodo.length; i++) {
var $thisTodo = listOfTodo[i];
$(ul).append('<li><span class="todo ' + $thisTodo + '">'+ $thisTodo + '</span>'
+ ' <small>(' + countOfTodo[$thisTodo] + ')</small></li>');
}
$('#listOfTodo')
.before('<b>Next Actions</b> <small>(' + totalOfTodo + ')</small>:<br>');
});
$(function() {
var ul = $('<ul id="listOfDone"></ul>').appendTo('#left-panel-contents');
var countOfDone = {}, listOfDone = [], totalOfDone = 0;
// assign the counts (avoid double-counting elements from the ToC)
$('span.done').not($('#table-of-contents span.done')).each(function() {
var $thisDone = $(this).text().trim();
if ($.inArray($thisDone, listOfDone) == -1) {
countOfDone[$thisDone] = 1;
listOfDone.push($thisDone);
}
else
countOfDone[$thisDone] += 1;
totalOfDone += 1;
});
// display
for (i = 0; i < listOfDone.length; i++) {
var $thisDone = listOfDone[i];
$(ul).append('<li><span class="done ' + $thisDone + '">'+ $thisDone + '</span>'
+ ' <small>(' + countOfDone[$thisDone] + ')</small></li>');
}
$('#listOfDone')
.before('<b>Done Actions</b> <small>(' + totalOfDone + '):</small><br>');
});
$(function() {
var ul = $('<ul id="listOfTags"></ul>').appendTo('#right-panel-contents');
var countOfTags = {}, listOfTags = [], totalOfTags = 0;
// assign the counts (avoid double-counting elements from the ToC)
$('span.tag').not($('#table-of-contents span.tag')).each(function() {
var $thisTagGroup = $(this).text().trim().split(/\s/);
// \s matches spaces, tabs, new lines, etc.
for (tag in $thisTagGroup) {
if ($.inArray($thisTagGroup[tag], listOfTags) == -1) {
countOfTags[$thisTagGroup[tag]] = 1;
listOfTags.push($thisTagGroup[tag]);
}
else
countOfTags[$thisTagGroup[tag]] += 1;
totalOfTags += 1;
}
});
listOfTags.sort();
// display
for (i = 0; i < listOfTags.length; i++) {
var $thisTag = listOfTags[i];
// $(ul).append('<li><span class="tag ' + $thisTag + '">'+
// $thisTag + '</span> <small>(' + countOfTags[$thisTag] + ')</small></li>');
$(ul).append('<li><span class="tag"><span class="' + $thisTag + '">' + $thisTag
+ '</span></span>'
+ ' <small>(' + countOfTags[$thisTag] + ')</small></li>');
}
$('#listOfTags')
.before('<b>Contexts</b> <small>(' + totalOfTags + '):</small><br>');
});
$(function() {
$('.done').parent(':header').parent().find(':header').addClass('DONEheader');
$('.done').parent(':header').parent().css({color: '#999999'});
});
$(function() {
$('span.todo').click(function(e) {
var orgKeyword = $(this).text().trim();
$('.' + orgKeyword).toggleClass('selected');
$('#content .' + orgKeyword).parent().parent()
.toggleClass('match' + orgKeyword);
$('#left-panel-wrapper .' + orgKeyword).parent()
.toggleClass('match' + orgKeyword);
e.preventDefault();
})
});
$(function() {
$('.tag span').click(function(e) {
var orgTag = $(this).text().trim();
$('.' + orgTag).toggleClass('selected');
$('#content .' + orgTag).parent().parent().parent()
.toggleClass('matchtag');
$('#right-panel-wrapper .' + orgTag).parent().parent()
.toggleClass('matchtag');
e.preventDefault();
})
});
function clickPreviousTab() {
var active = $('#content').tabs('option', 'active');
// Avoid going back to last tab
if (active == 0) return;
$('#content').tabs('option', 'active', active - 1);
// Set the location href
var href = $('#content div[aria-expanded=true]').attr('id');
document.location.hash = href;
$.scrollTo(0);
}
function clickNextTab() {
var active = $('#content').tabs('option', 'active');
$('#content').tabs('option', 'active', active + 1);
// Set the location href
var href = $('#content div[aria-expanded=true]').attr('id');
document.location.hash = href;
$.scrollTo(0);
}
function orgDefkey(e) {
if (!e)
var e = window.event;
var keycode = (e.keyCode) ? e.keyCode : e.which;
var actualkey = String.fromCharCode(keycode);
switch (actualkey) {
case "?": // help (dashboard)
case "h":
togglePanel(e);
break;
case "n": // next
clickNextTab();
break;
case "p": // previous
clickPreviousTab();
break;
// case "b": // scroll down - should be mapped to Shift-SPC
// $(window).scrollTop($(window).scrollTop()-$(window).height());
// break;
case "<": // scroll to top
$(window).scrollTop(0);
break;
case ">": // scroll to bottom
$(window).scrollTop($(document).height());
break;
case "-": // collapse all
hsCollapseAll();
break;
case "+": // expand all
hsExpandAll();
break;
case "r": // go to next task
hsReviewTaskNext();
break;
case "R": // go to previous task
hsReviewTaskPrev();
break;
case "q": // quit reviewing
hsReviewTaskQuit();
break;
case "g": // refresh the page (from the server, rather than the cache)
location.reload(true);
break;
}
}
document.onkeypress = orgDefkey;

View File

@@ -0,0 +1,335 @@
// hideshow.js --- HideShow JS file
//
// Copyright (C) 2014 All Right Reserved, Fabrice Niessen
//
// This file is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of
// the License, or (at your option) any later version.
//
// This file is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")>
// URL: https://github.com/fniessen/hide-show/
// Version: 20140912.1722
// var HS_COLLAPSIBLE_HEADERS = $('h3, h4, h5'); // collapsible headers
if (typeof HS_STARTUP_FOLDED === 'undefined') {
var HS_STARTUP_FOLDED = false; // Show just the overview, or show all.
}
if (typeof HS_SHOW_ALL_TEXT === 'undefined') {
var HS_SHOW_ALL_TEXT = 'Expand';
}
if (typeof HS_HIDE_ALL_TEXT === 'undefined') {
var HS_HIDE_ALL_TEXT = 'Collapse';
}
if (typeof HS_ALWAYS_DISPLAY_ICON === 'undefined') {
var HS_ALWAYS_DISPLAY_ICON = false; // Display an icon for all states, or
// just when closed.
}
if (typeof HS_ICON_CLOSED === 'undefined') {
var HS_ICON_CLOSED = '&#x25BA;'; // black right-pointing pointer
}
if (typeof HS_ICON_OPEN === 'undefined') {
var HS_ICON_OPEN = '&#x25BC;'; // black down-pointing triangle
}
if (typeof HS_ICON_EMPTY === 'undefined') {
var HS_ICON_EMPTY = '&#x25A0;'; // black square
}
if (typeof HS_SHOW_ALL_OPEN_DONE_TREES === 'undefined') {
var HS_SHOW_ALL_OPEN_DONE_TREES = false; // Expand all will open DONE trees.
}
if (typeof HS_CLASS === 'undefined') {
var HS_CLASS = 'hsCollapsible';
}
// Expand a header
function hsExpand(header) {
hsExpand2(header, true);
}
// Expand a header
function hsExpand2(header, expandDoneHeader) {
// Ignore non collapsible entries
if (!header.parent().hasClass(HS_CLASS)) return;
// Do not expand DONE node if not required
if (hsIsDoneHeader(header) && !expandDoneHeader) return;
header.children('span[class="ellipsis"]').remove();
if (HS_ALWAYS_DISPLAY_ICON == true) {
header.append('<span class="ellipsis"> ' + HS_ICON_OPEN + '</span>');
}
header.parent().removeClass('hsCollapsed').addClass('hsExpanded');
header.nextAll().show();
}
// Expand a header and all its parents
function hsExpandParents(header) {
hsExpand(header);
header.parents('.hsCollapsed').each(function() {
hsExpand($(this).children(':header'));
});
}
// Collapse a header and all its parents
function hsCollapseParents(header) {
hsCollapse(header);
header.parents('.hsExpanded').each(function() {
hsCollapse($(this).children(':header'));
});
}
// Collapse a header
function hsCollapse(header) {
// Ignore non collapsible entries
if (!header.parent().hasClass(HS_CLASS)) return;
header.children('span[class="ellipsis"]').remove();
header.append('<span class="ellipsis"> ' + HS_ICON_CLOSED + '</span>');
header.parent().removeClass('hsExpanded').addClass('hsCollapsed');
// header.nextAll().hide('fast');
header.nextAll().hide();
}
// Toggle a header
function hsToggleCollapsing(header) {
if (header.parent().hasClass('hsCollapsed'))
hsExpand(header);
else if (header.parent().hasClass('hsExpanded'))
hsCollapse(header);
}
// Expand all headers
function hsExpandAll() {
$('#content .hsCollapsed').each(function() {
hsExpand2($(this).children(':header'), HS_SHOW_ALL_OPEN_DONE_TREES);
});
}
// Collapse all headers
function hsCollapseAll() {
$('#content .hsExpanded').each(function() {
hsCollapse($(this).children(':header'));
});
}
// Collapse all visible headers
function hsCollapseAllVisible() {
$('#content .hsExpanded:visible').each(function() {
hsCollapse($(this).children(':header'));
});
}
// Add click events to H3/H4/H5 headers which have contents.
function hsInit() {
for (var i = 3; i <= 5; i++) {
$('#content .outline-' + i).each(function() {
var header = $(this).children(':header');
if (header.siblings().length > 0) {
$(this).addClass(HS_CLASS);
header.css({cursor: 'pointer'});
header.click(function() {
hsToggleCollapsing($(this)); });
// Allow to override global Collapse/Expand default on an entry
// basis (see property `:HTML_CONTAINER_CLASS:')
if (header.parent().hasClass('hsCollapsed')) {
hsCollapse(header);
} else if (header.parent().hasClass('hsExpanded')) {
hsExpand(header);
} else {
hsSetDefaultVisibility(header);
}
}
else {
if (HS_ALWAYS_DISPLAY_ICON == true) {
header.append('<span class="ellipsis"> ' + HS_ICON_EMPTY
+ '</span>');
}
$(this).addClass('hsEmpty');
}
});
}
// Add div to hold minitoc content (so it can be cleared without deleting the buttons)
$('#minitoc').append($('<div id="minitoc-content"></div>'));
// Add buttons
$('#minitoc').append($('<div class="buttons dontprint"></div>'));
$('.buttons').append($('<span>' + HS_SHOW_ALL_TEXT + '</span>')
.addClass('hsButton')
.click(hsExpandAll));
$('.buttons').append($('<span>' + HS_HIDE_ALL_TEXT + '</span>')
.addClass('hsButton')
.click(hsCollapseAll));
}
// Returns true if a header is a DONE header
function hsIsDoneHeader(header) {
return $('span.done', header).length;
}
// Sets the default visibility state to a header
function hsSetDefaultVisibility(header) {
if (HS_STARTUP_FOLDED) {
hsCollapse(header);
}
else {
if (!hsIsDoneHeader(header) | HS_SHOW_ALL_OPEN_DONE_TREES) {
hsExpand(header);
}
else {
hsCollapse(header);
}
}
}
// Expands an anchor, i.e. expand all parent headers
function hsExpandAnchor(id) {
// alert(id);
if (id) {
// alert($(id + '.hsNode').length);
$(id).parents('.hsCollapsed').each(function() {
hsExpand2($(this).children(':header'), true);
});
}
}
// Search for next task to review, starting from beginning of current tab.
// If BACKWARD is true, search in the reverse direction.
function hsReviewTaskNext(backward) {
// If no tasks to review at all, do nothing.
if ($('.outline-2 span.todo').length == 0) return;
if ($('.hsReviewing').length == 0) { // reviewing is starting
$('body').addClass('hsReviewing');
$('.hsReviewPanel').addClass('hsReviewing');
$('body').prepend('<div id="hsOverlay"></div>');
hsAddReviewingPanels();
hsCollapseAll();
// Get first task to review on each tab and expand it
$('.outline-2').each(function(){
var firstTodo = $(this).find('span.todo:first').parent().parent();
firstTodo.addClass('hsReview');
hsExpandParents($(firstTodo).children(':header'));
});
}
else {
// Get all todos
var todosElements = $('.outline-2:visible span.todo').parent().parent();
// alert(todosElements.length);
var todos = jQuery.makeArray(todosElements);
if (backward) {
todos = todos.reverse();
}
// Find current review item and review the next one
var foundReview = false;
var index;
for (index = 0; index < todos.length; ++index) {
var todo = todos[index];
if (foundReview) {
$(todo).addClass('hsReview');
hsExpandParents($(todo).children(':header'));
break;
}
if ($(todo).hasClass('hsReview')) {
foundReview = true;
if (index < todos.length - 1) {
$(todo).removeClass('hsReview');
hsCollapseParents($(todo).children(':header'));
}
}
}
// Update reviewing panel
if (index < todos.length) {
var reviewItem = index + 1;
if (backward) {
reviewItem = todos.length - index;
}
$('.outline-2:visible .hsReviewingPanel .hsReviewItem').text(reviewItem);
}
}
// Scroll to the current review item
$('html, body').animate({
scrollTop: $(".hsReview:visible").offset().top
}, 200);
}
// go to previous task to review
function hsReviewTaskPrev() {
hsReviewTaskNext(true);
}
// stop reviewing tasks
function hsReviewTaskQuit() {
$('body').removeClass('hsReviewing');
$('.hsReviewPanel').removeClass('hsReviewing');
$('.hsReview').removeClass('hsReview');
$('#hsOverlay').remove();
$('.hsReviewingPanel').remove();
}
function hsHideTodoKeyword(kw) {
$('span.' + kw).addClass('hsHidden').parent().parent().hide();
}
function hsShowTodoKeyword(kw) {
$('span.' + kw).removeClass('hsHidden').parent().parent().show();
// XXX Show if parent is not collapsed!
}
function hsAddReviewPanels() {
$('.outline-2').each(function(e) {
var nbItems = $(this).find('span.todo').length;
if (nbItems > 0) {
$(this).prepend('<div class="hsReviewPanel hsUnselectable" onclick="hsReviewTaskNext()">'
+ 'Press r or click here<br>'
+ 'to review ' + nbItems + ' tasks<br>'
+ '(out of ' + nbReviewTotalTasks + ' tasks)</div>');
}
});
}
function hsAddReviewingPanels() {
$('.outline-2').each(function(e) {
var nbItems = $(this).find('span.todo').length;
if (nbItems > 0) {
$(this).prepend('<div class="hsReviewingPanel hsUnselectable">Reviewing task <span class="hsReviewItem">1</span> / ' + nbItems + '<br>'
+ '(out of ' + nbReviewTotalTasks + ' tasks)<br>'
+ 'Shortcuts: '
+ '<span class="hsReviewButton" onclick="hsReviewTaskNext()">r (next)</span> - '
+ '<span class="hsReviewButton" onclick="hsReviewTaskPrev()">R (previous)</span>'
+ '</div>');
}
else {
$(this).prepend('<div class="hsReviewingPanel hsUnselectable">No task to review<br>'
+ '(out of ' + nbReviewTotalTasks + ' tasks)<br>'
+ 'Shortcuts: '
+ '<span class="hsReviewButton" onclick="hsReviewTaskNext()">r (next)</span> - '
+ '<span class="hsReviewButton" onclick="hsReviewTaskPrev()">R (previous)</span>'
+ '</div>');
}
});
}
var nbReviewTotalTasks;
$(document).ready(function() {
nbReviewTotalTasks = $('.outline-2 span.todo').length;
hsAddReviewPanels();
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
/**
* jQuery.LocalScroll - Animated scrolling navigation, using anchors.
* Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 3/11/2009
* @author Ariel Flesler
* @version 1.2.7
**/
;(function($){var l=location.href.replace(/#.*/,'');var g=$.localScroll=function(a){$('body').localScroll(a)};g.defaults={duration:1e3,axis:'y',event:'click',stop:true,target:window,reset:true};g.hash=function(a){if(location.hash){a=$.extend({},g.defaults,a);a.hash=false;if(a.reset){var e=a.duration;delete a.duration;$(a.target).scrollTo(0,a);a.duration=e}i(0,location,a)}};$.fn.localScroll=function(b){b=$.extend({},g.defaults,b);return b.lazy?this.bind(b.event,function(a){var e=$([a.target,a.target.parentNode]).filter(d)[0];if(e)i(a,e,b)}):this.find('a,area').filter(d).bind(b.event,function(a){i(a,this,b)}).end().end();function d(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,'')==l&&(!b.filter||$(this).is(b.filter))}};function i(a,e,b){var d=e.hash.slice(1),f=document.getElementById(d)||document.getElementsByName(d)[0];if(!f)return;if(a)a.preventDefault();var h=$(b.target);if(b.lock&&h.is(':animated')||b.onBefore&&b.onBefore.call(b,a,f,h)===false)return;if(b.stop)h.stop(true);if(b.hash){var j=f.id==d?'id':'name',k=$('<a> </a>').attr(j,d).css({position:'absolute',top:$(window).scrollTop(),left:$(window).scrollLeft()});f[j]='';$('body').prepend(k);location=e.hash;k.remove();f[j]=d}h.scrollTo(f,b).trigger('notify.serialScroll',[f])}})(jQuery);

View File

@@ -0,0 +1,7 @@
/**
* Copyright (c) 2007-2012 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* @author Ariel Flesler
* @version 1.4.3.1
*/
;(function($){var h=$.scrollTo=function(a,b,c){$(window).scrollTo(a,b,c)};h.defaults={axis:'xy',duration:parseFloat($.fn.jquery)>=1.3?0:1,limit:true};h.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(e,f,g){if(typeof f=='object'){g=f;f=0}if(typeof g=='function')g={onAfter:g};if(e=='max')e=9e9;g=$.extend({},h.defaults,g);f=f||g.duration;g.queue=g.queue&&g.axis.length>1;if(g.queue)f/=2;g.offset=both(g.offset);g.over=both(g.over);return this._scrollable().each(function(){if(e==null)return;var d=this,$elem=$(d),targ=e,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}$.each(g.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=h.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(g.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=g.offset[pos]||0;if(g.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*g.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(g.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&g.queue){if(old!=attr[key])animate(g.onAfterFirst);delete attr[key]}});animate(g.onAfter);function animate(a){$elem.animate(attr,f,g.easing,a&&function(){a.call(this,e,g)})}}).end()};h.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
e068393cead7419aa9bee846e3a7923c jquery.stickytableheaders.min.js 1442808908
c7f142ff5177bd6c359f85a0e19a19b1 stickytableheaders-license.txt 1442808908

View File

@@ -0,0 +1 @@
!function(a,b){"use strict";function c(c,g){var h=this;h.$el=a(c),h.el=c,h.id=e++,h.$window=a(b),h.$document=a(document),h.$el.bind("destroyed",a.proxy(h.teardown,h)),h.$clonedHeader=null,h.$originalHeader=null,h.isSticky=!1,h.hasBeenSticky=!1,h.leftOffset=null,h.topOffset=null,h.init=function(){h.$el.each(function(){var b=a(this);b.css("padding",0),h.$originalHeader=a("thead:first",this),h.$clonedHeader=h.$originalHeader.clone(),b.trigger("clonedHeader."+d,[h.$clonedHeader]),h.$clonedHeader.addClass("tableFloatingHeader"),h.$clonedHeader.css("display","none"),h.$originalHeader.addClass("tableFloatingHeaderOriginal"),h.$originalHeader.after(h.$clonedHeader),h.$printStyle=a('<style type="text/css" media="print">.tableFloatingHeader{display:none !important;}.tableFloatingHeaderOriginal{position:static !important;}</style>'),a("head").append(h.$printStyle)}),h.setOptions(g),h.updateWidth(),h.toggleHeaders(),h.bind()},h.destroy=function(){h.$el.unbind("destroyed",h.teardown),h.teardown()},h.teardown=function(){h.isSticky&&h.$originalHeader.css("position","static"),a.removeData(h.el,"plugin_"+d),h.unbind(),h.$clonedHeader.remove(),h.$originalHeader.removeClass("tableFloatingHeaderOriginal"),h.$originalHeader.css("visibility","visible"),h.$printStyle.remove(),h.el=null,h.$el=null},h.bind=function(){h.$scrollableArea.on("scroll."+d,h.toggleHeaders),h.isWindowScrolling||(h.$window.on("scroll."+d+h.id,h.setPositionValues),h.$window.on("resize."+d+h.id,h.toggleHeaders)),h.$scrollableArea.on("resize."+d,h.toggleHeaders),h.$scrollableArea.on("resize."+d,h.updateWidth)},h.unbind=function(){h.$scrollableArea.off("."+d,h.toggleHeaders),h.isWindowScrolling||(h.$window.off("."+d+h.id,h.setPositionValues),h.$window.off("."+d+h.id,h.toggleHeaders)),h.$scrollableArea.off("."+d,h.updateWidth)},h.toggleHeaders=function(){h.$el&&h.$el.each(function(){var b,c=a(this),d=h.isWindowScrolling?isNaN(h.options.fixedOffset)?h.options.fixedOffset.outerHeight():h.options.fixedOffset:h.$scrollableArea.offset().top+(isNaN(h.options.fixedOffset)?0:h.options.fixedOffset),e=c.offset(),f=h.$scrollableArea.scrollTop()+d,g=h.$scrollableArea.scrollLeft(),i=h.isWindowScrolling?f>e.top:d>e.top,j=(h.isWindowScrolling?f:0)<e.top+c.height()-h.$clonedHeader.height()-(h.isWindowScrolling?0:d);i&&j?(b=e.left-g+h.options.leftOffset,h.$originalHeader.css({position:"fixed","margin-top":h.options.marginTop,left:b,"z-index":3}),h.leftOffset=b,h.topOffset=d,h.$clonedHeader.css("display",""),h.isSticky||(h.isSticky=!0,h.updateWidth()),h.setPositionValues()):h.isSticky&&(h.$originalHeader.css("position","static"),h.$clonedHeader.css("display","none"),h.isSticky=!1,h.resetWidth(a("td,th",h.$clonedHeader),a("td,th",h.$originalHeader)))})},h.setPositionValues=function(){var a=h.$window.scrollTop(),b=h.$window.scrollLeft();!h.isSticky||0>a||a+h.$window.height()>h.$document.height()||0>b||b+h.$window.width()>h.$document.width()||h.$originalHeader.css({top:h.topOffset-(h.isWindowScrolling?0:a),left:h.leftOffset-(h.isWindowScrolling?0:b)})},h.updateWidth=function(){if(h.isSticky){h.$originalHeaderCells||(h.$originalHeaderCells=a("th,td",h.$originalHeader)),h.$clonedHeaderCells||(h.$clonedHeaderCells=a("th,td",h.$clonedHeader));var b=h.getWidth(h.$clonedHeaderCells);h.setWidth(b,h.$clonedHeaderCells,h.$originalHeaderCells),h.$originalHeader.css("width",h.$clonedHeader.width())}},h.getWidth=function(c){var d=[];return c.each(function(c){var e,f=a(this);if("border-box"===f.css("box-sizing"))e=f[0].getBoundingClientRect().width;else{var g=a("th",h.$originalHeader);if("collapse"===g.css("border-collapse"))if(b.getComputedStyle)e=parseFloat(b.getComputedStyle(this,null).width);else{var i=parseFloat(f.css("padding-left")),j=parseFloat(f.css("padding-right")),k=parseFloat(f.css("border-width"));e=f.outerWidth()-i-j-k}else e=f.width()}d[c]=e}),d},h.setWidth=function(a,b,c){b.each(function(b){var d=a[b];c.eq(b).css({"min-width":d,"max-width":d})})},h.resetWidth=function(b,c){b.each(function(b){var d=a(this);c.eq(b).css({"min-width":d.css("min-width"),"max-width":d.css("max-width")})})},h.setOptions=function(c){h.options=a.extend({},f,c),h.$scrollableArea=a(h.options.scrollableArea),h.isWindowScrolling=h.$scrollableArea[0]===b},h.updateOptions=function(a){h.setOptions(a),h.unbind(),h.bind(),h.updateWidth(),h.toggleHeaders()},h.init()}var d="stickyTableHeaders",e=0,f={fixedOffset:0,leftOffset:0,marginTop:0,scrollableArea:b};a.fn[d]=function(b){return this.each(function(){var e=a.data(this,"plugin_"+d);e?"string"==typeof b?e[b].apply(e):e.updateOptions(b):"destroy"!==b&&a.data(this,"plugin_"+d,new c(this,b))})}}(jQuery,window);

View File

@@ -0,0 +1,20 @@
Copyright (c) 2011 Jonas Mosbech
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

132
org-templates/example.org Normal file
View File

@@ -0,0 +1,132 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html
#+TITLE: <name of style>
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* <name of style>
Includes:
- [ ] CSS
- [ ] JAVASCRIPT
Available as:
- [ ] CSS FILE
- [ ] JS FILE
- [ ] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* Headings
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,168 @@
@import url('https://fonts.googleapis.com/css?family=Elsie&display=swap');
/* Variables. Feel free to edit these! */
:root {
--color-primary: #028090;
--color-secondary: #00A896;
--color-soft-white: #FFFFF0;
--color-soft-black: #444;
--color-hard-black: #222;
--color-special-todo: #790604;
--font-normal: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman";
--font-headings: 'Elsie', cursive;
--font-size-1: 33.57px;
--font-size-2: 26.86px;
--font-size-3: 21.48px;
--font-size-4: 17.19px;
--font-size-small: 11px;
}
/* Selection color */
::selection {
background-color: var(--color-primary);
color: var(--color-soft-white);
}
/* Remove outer padding */
html, body{
margin: 0;
}
/* Heading styles */
h1, h2, h3, h4, h5, h6{
color: var(--color-hard-black);
font-family: var(--font-headings)
}
/* Scaled font sizes */
h1{font-size: var(--font-size-1);}
h2{font-size: var(--font-size-2);}
h3{font-size: var(--font-size-3);}
h3{font-size: var(--font-size-4);}
h4{font-size: var(--font-size-4);}
h5{font-size: var(--font-size-4);}
h1 > .subtitle{
font-size: 21.48px;
}
/* Normal text style(including code) */
p, pre, ol, ul, table, code{
color: #444;
font-size: var(--font-size-4);
font-family: var(--font-normal)
}
/* Better anchor tags */
a{
color: inherit;
}
a:hover{
color: var(--color-secondary);
}
/* Force footer to bottom and center */
#postamble{
text-align: center;
width: 100%;
}
#postamble > p{
display: inline;
}
.title{
padding: 2vh 5vw;
}
/* Responsive images */
img{
max-width: 100%;
height: auto;
}
/* Responsive code blocks and tables */
pre, .outline-text-2, .outline-text-3, outline-text-4{
max-width: 100%;
overflow-x: auto;
}
/* Responsive content positioning */
@media only screen and (min-width: 750px) /* Large screens */
{
.outline-2{
padding: 2vh 20vw;
}
}
@media only screen and (max-width: 750px) /* Small screens */
{
.outline-2{
padding: 2vh 5vw;
}
}
/* Code blocks */
.org-keyword{
color: var(--color-primary);
}
.org-rainbow-delimiters-depth-1{
color: var(--color-secondary);
}
.org-org-meta-line{
color: var(--color-primary);
}
blockquote{
border-left:5px solid var(--color-primary);
padding-left: 10px;
}
.todo{
color: var(--color-special-todo);
}
.done{
color: var(--color-primary);
}
/* Tags.
The way org exports tags is a little strange.
They are exported as a span with class "tag" containing each
of the tags in its own span with class and contents equal to
the tags name. This is actually really useful as it allows
for targeting both the "tag group" and each tag individually */
.tag{
margin-top: 5px;
display: block;
color: var(--color-soft-white);
font-size: var(--font-size-small);
font-family: var(--font-normal)
}
.tag > span{
background-color: var(--color-secondary);
text-transform: uppercase;
border-radius: 2px;
width: fit-content;
height: auto;
padding: 1px 5px;
margin: 1px;
}
.underline{
text-decoration: underline;
}

View File

@@ -0,0 +1,134 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/imagine_light.theme
#+TITLE: Imagine Light
#+AUTHOR: Jesse Kelly (jessekelly881)
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Imagine Light
Original: https://github.com/jessekelly881/Imagine
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [X] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,3 @@
#+HTML_HEAD: <style type="text/css">
#+HTML_HEAD: /* Variables. Feel free to edit these! */:root { --color-primary: #028090; --color-secondary: #00A896; --color-soft-white: #FFFFF0; --color-soft-black: #444; --color-hard-black: #222; --color-special-todo: #790604; --font-normal: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman"; --font-headings: 'Elsie', cursive; --font-size-1: 33.57px; --font-size-2: 26.86px; --font-size-3: 21.48px; --font-size-4: 17.19px; --font-size-small: 11px;}/* Selection color */::selection { background-color: var(--color-primary); color: var(--color-soft-white);}/* Remove outer padding */html, body{ margin: 0;}/* Heading styles */h1, h2, h3, h4, h5, h6{ color: var(--color-hard-black); font-family: var(--font-headings)}/* Scaled font sizes */h1{font-size: var(--font-size-1);}h2{font-size: var(--font-size-2);}h3{font-size: var(--font-size-3);}h3{font-size: var(--font-size-4);}h4{font-size: var(--font-size-4);}h5{font-size: var(--font-size-4);}h1 > .subtitle{ font-size: 21.48px;}/* Normal text style(including code) */p, pre, ol, ul, table, code{ color: #444; font-size: var(--font-size-4); font-family: var(--font-normal)}/* Better anchor tags */a{ color: inherit;}a:hover{ color: var(--color-secondary);}/* Force footer to bottom and center */#postamble{ text-align: center; width: 100%;}#postamble > p{ display: inline;}.title{ padding: 2vh 5vw;}/* Responsive images */img{ max-width: 100%; height: auto;}/* Responsive code blocks and tables */pre, .outline-text-2, .outline-text-3, outline-text-4{ max-width: 100%; overflow-x: auto;}/* Responsive content positioning */@media only screen and (min-width: 750px) /* Large screens */{ .outline-2{ padding: 2vh 20vw; }}@media only screen and (max-width: 750px) /* Small screens */{ .outline-2{ padding: 2vh 5vw; }}/* Code blocks */.org-keyword{ color: var(--color-primary);}.org-rainbow-delimiters-depth-1{ color: var(--color-secondary);}.org-org-meta-line{ color: var(--color-primary);}blockquote{ border-left:5px solid var(--color-primary); padding-left: 10px;}.todo{ color: var(--color-special-todo);}.done{ color: var(--color-primary);}/* Tags. The way org exports tags is a little strange. They are exported as a span with class "tag" containing each of the tags in its own span with class and contents equal to the tags name. This is actually really useful as it allows for targeting both the "tag group" and each tag individually */.tag{ margin-top: 5px; display: block; color: var(--color-soft-white); font-size: var(--font-size-small); font-family: var(--font-normal)}.tag > span{ background-color: var(--color-secondary); text-transform: uppercase; border-radius: 2px; width: fit-content; height: auto; padding: 1px 5px; margin: 1px;}.underline{ text-decoration: underline;}
#+HTML_HEAD: </style>

109
org-templates/index.org Normal file
View File

@@ -0,0 +1,109 @@
#+TITLE: Org Themes collection
#+AUTHOR: Marco Pawłowski
#+EMAIL: pawlowski.marco@gmail.com
#+OPTIONS: ^:nil toc:nil \n:t
* Introduction
This is a collection of org html themes.
I collected them in the past years and used them personally. So they should work.
There are two ways to use them [not all themes include both solutions]:
- as extern css/js files
- embedded inside an html file
For the embedded version there is a SETUPFILE with the extension ".theme". This file has all needed css and js
inside =style= and =script= tags.
Include it by using:
#+begin_src emacs-lisp
#+SETUPFILE: <path to .theme file>
#+end_src
Every theme is rendered with the same org file. A plane version is also included.
The git repository with all files is here: [[https://gitlab.com/OlMon/org-themes/][Gitlab Repo]]
** Credits and apology
I used them mainly embedded, with custom created SETUPFILES.
This means I not always have the source files.
This also means I probably don't know from where I got the themes. So I apologize when your work is listed here
without your name. Please contact me, so I can credit you.
** Contributions
I am happy to include any theme.
** The list of Themes:
#+NAME: Themes list
#+begin_src emacs-lisp :exports results
;; https://kitchingroup.cheme.cmu.edu/blog/2014/03/23/Make-a-list-of-org-files-in-all-the-subdirectories-of-the-current-working-directory/
(defun os-walk (root)
(let ((files '()) ;empty list to store results
(current-list (directory-files root t)))
;;process current-list
(while current-list
(let ((fn (car current-list))) ; get next entry
(cond
;; regular files
((file-regular-p fn)
(add-to-list 'files fn))
;; directories
((and
(file-directory-p fn)
;; ignore . and ..
(not (string-equal ".." (substring fn -2)))
(not (string-equal "." (substring fn -1))))
;; we have to recurse into this directory
(setq files (append files (os-walk fn))))
)
;; cut list down by an element
(setq current-list (cdr current-list)))
)
files))
(mapcar
(lambda (x) (princ (format "[[%s][%s]]\n" x (replace-regexp-in-string "\.org$" "" (replace-regexp-in-string "_" " " (replace-regexp-in-string ".*/" "" (file-relative-name x ".")))))))
(remove-if-not
(lambda (x) (and (string= (file-name-extension x) "org") (not (string-match "example" x)) (not (string-match "index" x))))
(os-walk "")))
#+end_src
#+RESULTS: Themes list
| [[file:/home/olmon/Workplace/Org/Themes/src/bigblow_inline/bigblow.org][bigblow]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/comfy_inline/comfy_inline.org][comfy inline]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/darksun/darksun.org][darksun]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/imagine_light/imagine_light.org][imagine light]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/plain/plain.org][plain]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/readtheorg_inline/readtheorg_inline.org][readtheorg inline]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/rethink_inline/rethink_inline.org][rethink inline]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/retro_dark/retro_dark.org][retro dark]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/simple_gray/simple_gray.org][simple gray]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/simple_inline/simple_inline.org][simple inline]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/simple_white/simple_white.org][simple white]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/simple_whiteblue/simple_whiteblue.org][simple whiteblue]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/solarized_dark/solarized_dark.org][solarized dark]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/solarized_light/solarized_light.org][solarized light]] |
| [[file:/home/olmon/Workplace/Org/Themes/src/stylish_white/stylish_white.org][stylish white]] |
#+begin_src emacs-lisp :exports none
(setq org-publish-project-alist
'(("orgfiles"
:base-directory "~/Workplace/Org/Themes/src/"
:base-extension "org" ;; get all files
:exclude "example"
:publishing-directory "~/Workplace/Org/Themes/public/"
:publishing-function org-html-publish-to-html
:html-preamble t
:recursive t)
("website" :components ("orgfiles"))))
#+end_src
#+RESULTS:
| orgfiles | :base-directory | ~/Workplace/Org/Themes/src/ | :base-extension | org | :exclude | example | :publishing-directory | ~/Workplace/Org/Themes/public/ | :publishing-function | org-html-publish-to-html | :html-preamble | t | :recursive | t |
| website | :components | (orgfiles) | | | | | | | | | | | | |
** Irony
There is a reason that this page has no custom css.

View File

@@ -0,0 +1,131 @@
#+TITLE: Plain Org
#+AUTHOR: Marco Pawłowski
#+EMAIL: pawlowski.marco@gmail.com
#+OPTIONS: ^:nil <:t
* Plain Org
Includes:
- [ ] CSS
- [ ] JAVASCRIPT
Available as:
- [ ] CSS FILE
- [ ] JS FILE
- [ ] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,145 @@
.org-bold { /* bold */ font-weight: bold; }
.org-bold-italic { /* bold-italic */ font-weight: bold; font-style: italic; }
.org-buffer-menu-buffer { /* buffer-menu-buffer */ font-weight: bold; }
.org-builtin { /* font-lock-builtin-face */ color: #7a378b; }
.org-button { /* button */ text-decoration: underline; }
.org-calendar-today { /* calendar-today */ text-decoration: underline; }
.org-change-log-acknowledgement { /* change-log-acknowledgement */ color: #b22222; }
.org-change-log-conditionals { /* change-log-conditionals */ color: #a0522d; }
.org-change-log-date { /* change-log-date */ color: #8b2252; }
.org-change-log-email { /* change-log-email */ color: #a0522d; }
.org-change-log-file { /* change-log-file */ color: #0000ff; }
.org-change-log-function { /* change-log-function */ color: #a0522d; }
.org-change-log-list { /* change-log-list */ color: #a020f0; }
.org-change-log-name { /* change-log-name */ color: #008b8b; }
.org-comint-highlight-input { /* comint-highlight-input */ font-weight: bold; }
.org-comint-highlight-prompt { /* comint-highlight-prompt */ color: #00008b; }
.org-comment { /* font-lock-comment-face */ color: #999988; font-style: italic; }
.org-comment-delimiter { /* font-lock-comment-delimiter-face */ color: #999988; font-style: italic; }
.org-completions-annotations { /* completions-annotations */ font-style: italic; }
.org-completions-common-part { /* completions-common-part */ color: #000000; background-color: #ffffff; }
.org-completions-first-difference { /* completions-first-difference */ font-weight: bold; }
.org-constant { /* font-lock-constant-face */ color: #008b8b; }
.org-diary { /* diary */ color: #ff0000; }
.org-diff-context { /* diff-context */ color: #7f7f7f; }
.org-diff-file-header { /* diff-file-header */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-function { /* diff-function */ background-color: #cccccc; }
.org-diff-header { /* diff-header */ background-color: #cccccc; }
.org-diff-hunk-header { /* diff-hunk-header */ background-color: #cccccc; }
.org-diff-index { /* diff-index */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-nonexistent { /* diff-nonexistent */ background-color: #b3b3b3; font-weight: bold; }
.org-diff-refine-change { /* diff-refine-change */ background-color: #d9d9d9; }
.org-dired-directory { /* dired-directory */ color: #0000ff; }
.org-dired-flagged { /* dired-flagged */ color: #ff0000; font-weight: bold; }
.org-dired-header { /* dired-header */ color: #228b22; }
.org-dired-ignored { /* dired-ignored */ color: #7f7f7f; }
.org-dired-mark { /* dired-mark */ color: #008b8b; }
.org-dired-marked { /* dired-marked */ color: #ff0000; font-weight: bold; }
.org-dired-perm-write { /* dired-perm-write */ color: #b22222; }
.org-dired-symlink { /* dired-symlink */ color: #a020f0; }
.org-dired-warning { /* dired-warning */ color: #ff0000; font-weight: bold; }
.org-doc { /* font-lock-doc-face */ color: #8b2252; }
.org-escape-glyph { /* escape-glyph */ color: #a52a2a; }
.org-file-name-shadow { /* file-name-shadow */ color: #7f7f7f; }
.org-flyspell-duplicate { /* flyspell-duplicate */ color: #cdad00; font-weight: bold; text-decoration: underline; }
.org-flyspell-incorrect { /* flyspell-incorrect */ color: #ff4500; font-weight: bold; text-decoration: underline; }
.org-fringe { /* fringe */ background-color: #f2f2f2; }
.org-function-name { /* font-lock-function-name-face */ color: teal; }
.org-header-line { /* header-line */ color: #333333; background-color: #e5e5e5; }
.org-help-argument-name { /* help-argument-name */ font-style: italic; }
.org-highlight { /* highlight */ background-color: #b4eeb4; }
.org-holiday { /* holiday */ background-color: #ffc0cb; }
.org-isearch { /* isearch */ color: #b0e2ff; background-color: #cd00cd; }
.org-isearch-fail { /* isearch-fail */ background-color: #ffc1c1; }
.org-italic { /* italic */ font-style: italic; }
.org-keyword { /* font-lock-keyword-face */ color: #0086b3; }
.org-lazy-highlight { /* lazy-highlight */ background-color: #afeeee; }
.org-link { /* link */ color: #0000ff; text-decoration: underline; }
.org-link-visited { /* link-visited */ color: #8b008b; text-decoration: underline; }
.org-log-edit-header { /* log-edit-header */ color: #a020f0; }
.org-log-edit-summary { /* log-edit-summary */ color: #0000ff; }
.org-log-edit-unknown-header { /* log-edit-unknown-header */ color: #b22222; }
.org-match { /* match */ background-color: #ffff00; }
.org-next-error { /* next-error */ background-color: #eedc82; }
.org-nobreak-space { /* nobreak-space */ color: #a52a2a; text-decoration: underline; }
.org-org-archived { /* org-archived */ color: #7f7f7f; }
.org-org-block { /* org-block */ color: #7f7f7f; }
.org-org-block-begin-line { /* org-block-begin-line */ color: #b22222; }
.org-org-block-end-line { /* org-block-end-line */ color: #b22222; }
.org-org-checkbox { /* org-checkbox */ font-weight: bold; }
.org-org-checkbox-statistics-done { /* org-checkbox-statistics-done */ color: #228b22; font-weight: bold; }
.org-org-checkbox-statistics-todo { /* org-checkbox-statistics-todo */ color: #ff0000; font-weight: bold; }
.org-org-clock-overlay { /* org-clock-overlay */ background-color: #ffff00; }
.org-org-code { /* org-code */ color: #7f7f7f; }
.org-org-column { /* org-column */ background-color: #e5e5e5; }
.org-org-column-title { /* org-column-title */ background-color: #e5e5e5; font-weight: bold; text-decoration: underline; }
.org-org-date { /* org-date */ color: #a020f0; text-decoration: underline; }
.org-org-document-info { /* org-document-info */ color: #191970; }
.org-org-document-info-keyword { /* org-document-info-keyword */ color: #7f7f7f; }
.org-org-document-title { /* org-document-title */ color: #191970; font-size: 144%; font-weight: bold; }
.org-org-done { /* org-done */ color: #228b22; font-weight: bold; }
.org-org-drawer { /* org-drawer */ color: #0000ff; }
.org-org-ellipsis { /* org-ellipsis */ color: #b8860b; text-decoration: underline; }
.org-org-footnote { /* org-footnote */ color: #a020f0; text-decoration: underline; }
.org-org-formula { /* org-formula */ color: #b22222; }
.org-org-headline-done { /* org-headline-done */ color: #bc8f8f; }
.org-org-hide { /* org-hide */ color: #ffffff; }
.org-org-latex-and-export-specials { /* org-latex-and-export-specials */ color: #8b4513; }
.org-org-level-1 { /* org-level-1 */ color: #0000ff; }
.org-org-level-2 { /* org-level-2 */ color: #a0522d; }
.org-org-level-3 { /* org-level-3 */ color: #a020f0; }
.org-org-level-4 { /* org-level-4 */ color: #b22222; }
.org-org-level-5 { /* org-level-5 */ color: #228b22; }
.org-org-level-6 { /* org-level-6 */ color: #008b8b; }
.org-org-level-7 { /* org-level-7 */ color: #7a378b; }
.org-org-level-8 { /* org-level-8 */ color: #8b2252; }
.org-org-link { /* org-link */ color: #0000ff; text-decoration: underline; }
.org-org-meta-line { /* org-meta-line */ color: #b22222; }
.org-org-mode-line-clock { /* org-mode-line-clock */ color: #000000; background-color: #bfbfbf; }
.org-org-mode-line-clock-overrun { /* org-mode-line-clock-overrun */ color: #000000; background-color: #ff0000; }
.org-org-quote { /* org-quote */ color: #7f7f7f; }
.org-org-scheduled { /* org-scheduled */ color: #006400; }
.org-org-scheduled-previously { /* org-scheduled-previously */ color: #b22222; }
.org-org-scheduled-today { /* org-scheduled-today */ color: #006400; }
.org-org-sexp-date { /* org-sexp-date */ color: #a020f0; }
.org-org-special-keyword { /* org-special-keyword */ color: #a020f0; }
.org-org-table { /* org-table */ color: #0000ff; }
.org-org-tag { /* org-tag */ font-weight: bold; }
.org-org-target { /* org-target */ text-decoration: underline; }
.org-org-time-grid { /* org-time-grid */ color: #b8860b; }
.org-org-todo { /* org-todo */ color: #ff0000; font-weight: bold; }
.org-org-upcoming-deadline { /* org-upcoming-deadline */ color: #b22222; }
.org-org-verbatim { /* org-verbatim */ color: #7f7f7f; }
.org-org-verse { /* org-verse */ color: #7f7f7f; }
.org-org-warning { /* org-warning */ color: #ff0000; font-weight: bold; }
.org-outline-1 { /* outline-1 */ color: #0000ff; }
.org-outline-2 { /* outline-2 */ color: #a0522d; }
.org-outline-3 { /* outline-3 */ color: #a020f0; }
.org-outline-4 { /* outline-4 */ color: #b22222; }
.org-outline-5 { /* outline-5 */ color: #228b22; }
.org-outline-6 { /* outline-6 */ color: #008b8b; }
.org-outline-7 { /* outline-7 */ color: #7a378b; }
.org-outline-8 { /* outline-8 */ color: #8b2252; }
.org-preprocessor { /* font-lock-preprocessor-face */ color: #7a378b; }
.org-query-replace { /* query-replace */ color: #b0e2ff; background-color: #cd00cd; }
.org-regexp-grouping-backslash { /* font-lock-regexp-grouping-backslash */ font-weight: bold; }
.org-regexp-grouping-construct { /* font-lock-regexp-grouping-construct */ font-weight: bold; }
.org-region { /* region */ background-color: #eedc82; }
.org-secondary-selection { /* secondary-selection */ background-color: #ffff00; }
.org-shadow { /* shadow */ color: #7f7f7f; }
.org-show-paren-match { /* show-paren-match */ background-color: #40e0d0; }
.org-show-paren-mismatch { /* show-paren-mismatch */ color: #ffffff; background-color: #a020f0; }
.org-string { /* font-lock-string-face */ color: #dd1144; }
.org-tool-bar { /* tool-bar */ color: #000000; background-color: #bfbfbf; }
.org-tooltip { /* tooltip */ color: #000000; background-color: #ffffe0; }
.org-trailing-whitespace { /* trailing-whitespace */ background-color: #ff0000; }
.org-type { /* font-lock-type-face */ color: #228b22; }
.org-underline { /* underline */ text-decoration: underline; }
.org-variable-name { /* font-lock-variable-name-face */ color: teal; }
.org-warning { /* font-lock-warning-face */ color: #ff0000; font-weight: bold; }
.org-widget-button { /* widget-button */ font-weight: bold; }
.org-widget-button-pressed { /* widget-button-pressed */ color: #ff0000; }
.org-widget-documentation { /* widget-documentation */ color: #006400; }
.org-widget-field { /* widget-field */ background-color: #d9d9d9; }
.org-widget-inactive { /* widget-inactive */ color: #7f7f7f; }
.org-widget-single-line-field { /* widget-single-line-field */ background-color: #d9d9d9; }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,105 @@
function collapse_toc_elements_on_click (nav_li_a){
/*
When an `a' element in the TOC is clicked, its parent
`li' element's active attribute is toggled. This causes
the element to toggle between minimized and maximized
states. The active attribute is documented in bootstrap.
https://getbootstrap.com/docs/4.0/components/navbar/#nav
*/
$(nav_li_el).parent().toggleClass("active");
}
$( document ).ready(function() {
// When the document is loaded and ready, bind the
// function `collapse_toc_elements_on_click' to the
// `a' elements in the table of contents.
$("#text-table-of-contents a").click(function() {
collapse_toc_elements_on_click(this);
});
});
$(function() {
$('.note').before("<p class='admonition-title note'>Note</p>");
$('.seealso').before("<p class='admonition-title seealso'>See also</p>");
$('.warning').before("<p class='admonition-title warning'>Warning</p>");
$('.caution').before("<p class='admonition-title caution'>Caution</p>");
$('.attention').before("<p class='admonition-title attention'>Attention</p>");
$('.tip').before("<p class='admonition-title tip'>Tip</p>");
$('.important').before("<p class='admonition-title important'>Important</p>");
$('.hint').before("<p class='admonition-title hint'>Hint</p>");
$('.error').before("<p class='admonition-title error'>Error</p>");
$('.danger').before("<p class='admonition-title danger'>Danger</p>");
});
$( document ).ready(function() {
// Shift nav in mobile when clicking the menu.
$(document).on('click', "[data-toggle='wy-nav-top']", function() {
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
// Close menu when you click a link.
$(document).on('click', ".wy-menu-vertical .current ul li a", function() {
$("[data-toggle='wy-nav-shift']").removeClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
});
$(document).on('click', "[data-toggle='rst-current-version']", function() {
$("[data-toggle='rst-versions']").toggleClass("shift-up");
});
// Make tables responsive
$("table.docutils:not(.field-list)").wrap("<div class='wy-table-responsive'></div>");
});
$( document ).ready(function() {
$('#text-table-of-contents ul').first().addClass('nav');
// ScrollSpy also requires that we use
// a Bootstrap nav component.
$('body').scrollspy({target: '#text-table-of-contents'});
// DON'T add sticky table headers (Fix issue #69?)
// $('table').stickyTableHeaders();
// set the height of tableOfContents
var $postamble = $('#postamble');
var $tableOfContents = $('#table-of-contents');
$tableOfContents.css({paddingBottom: $postamble.outerHeight()});
// add TOC button
var toggleSidebar = $('<div id="toggle-sidebar"><a href="#table-of-contents"><h2>Table of Contents</h2></a></div>');
$('#content').prepend(toggleSidebar);
// add close button when sidebar showed in mobile screen
var closeBtn = $('<a class="close-sidebar" href="#">Close</a>');
var tocTitle = $('#table-of-contents').find('h2');
tocTitle.append(closeBtn);
});
window.SphinxRtdTheme = (function (jquery) {
var stickyNav = (function () {
var navBar,
win,
stickyNavCssClass = 'stickynav',
applyStickNav = function () {
if (navBar.height() <= win.height()) {
navBar.addClass(stickyNavCssClass);
} else {
navBar.removeClass(stickyNavCssClass);
}
},
enable = function () {
applyStickNav();
win.on('resize', applyStickNav);
},
init = function () {
navBar = jquery('nav.wy-nav-side:first');
win = jquery(window);
};
jquery(init);
return {
enable : enable
};
}());
return {
StickyNav : stickyNav
};
}($));

View File

@@ -0,0 +1,135 @@
#+SETUPFILE: ~/Workplace/Org/Themes/src/readtheorg_inline/readtheorg_inline.theme
#+TITLE: Read the org
#+AUTHOR: fniessen
#+CREATOR: https://github.com/fniessen/org-html-themes
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Read the org
Original: https://github.com/fniessen/org-html-themes
Includes:
- [X] CSS
- [X] JAVASCRIPT
Available as:
- [X] CSS FILE
- [X] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,193 @@
/* Set variables */:root {
--font-size-1: 2rem;
--font-size-2: 1.5rem;
--font-size-3: 1.15rem;
--font-size-4: 1rem;
--font-size-small: 0.8rem;
--font-size-xsmall: 0.6rem;
}
/* Set padding and margin */html, body{
padding: 0; margin: 0; background-color: #fdfdfd;
}
/* Header margin */h2{
margin-top: 2rem; margin-bottom: 1.5rem;
}
h3{
margin-top: 1rem; margin-bottom: 1rem;
}
h4{
margin-top: 1rem; margin-bottom: 1rem;
}
/* ------------------------- */::selection {
background-color: purple; color: white;
}
html, body{
font-family: "Source Sans Pro", Helvetica, sans-serif; font-weight: 300;
}
h1{
font-size: var(--font-size-1);
}
h2{
font-size: var(--font-size-2);
}
h3{
font-size: var(--font-size-3);
}
h4{
font-size: var(--font-size-3);
}
h5{
font-size: var(--font-size-3);
}
h1 > .subtitle{
font-size: var(--font-size-3);
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300; letter-spacing: -0.03em;
}
.outline-2 > h2, #table-of-contents > h2{
text-align: center;
}
/* Table of contents */#table-of-contents ul{
list-style-type:none; margin: 0;
}
#table-of-contents .tag{
display: none;
}
.outline-3{
border-bottom: 1px solid #CCC;
}
.outline-2 > h2{
grid-row-start: 1; grid-row-end: 2;
}
.outline-2{
grid-row-start: 2; grid-row-end: 3;
}
img{
max-width: 100%;
}
/* Code */pre{
margin: 1rem; background-color: #EEE; padding: 0.5rem; border-radius: 0.2rem; font-size: var(--font-size-small) !important;
}
.outline-3{
display: grid; grid-template-columns: 40fr 60fr;
}
/* Responsive content positioning */@media only screen and (min-width: 750px) /* Large screens */{
.outline-3{
margin: 0vh 10vw;
}
.outline-text-2, #table-of-contents{
padding: 0vh 10vw;
}
}
@media only screen and (max-width: 750px) /* Small screens */{
.outline-3{
margin: 0vh 5vw; display: block;
}
.outline-text-2, #table-of-contents{
padding: 0vh 5vw;
}
}
blockquote{
border-left: 0.2rem solid purple; padding-left: 1rem; font-style: italic;
}
p, pre, ol, ul, table, code{
color: #1A1A1A;
}
table, blockquote, pre, ol, ul, p, #postamble{
margin-top: 1rem; margin-bottom: 1rem;
}
h1, h2, h3, h4, h5, h6{
color: #0A0A0A;
}
.tag{
margin-top: 0.5rem; display: block; color: white; font-size: var(--font-size-xsmall);
}
.tag > span{
font-weight: 400; font-size: 0.6rem; background-color: purple; text-transform: uppercase; border-radius: 2px; width: fit-content; height: auto; padding: 1px 5px; margin: 1px;
}
/* Stripe table */tr:nth-child(even) {
background-color: #EEE;
}
.title{
padding: 2vh 5vw;
}
pre{
font-family: "Courier New", monospace; font-size: var(--font-size-4)
}
.org-org-meta-line{
color: purple;
}
.org-keyword{
color: purple;
}
a{
color: purple;
}
.underline{
text-decoration: underline;
}
.todo{
color: #7D161A; font-weight: 400;
}
.done{
color: purple; font-weight: 400;
}
/* Postamble */#postamble{
text-align: center; width: 100%;
}
#postamble > p{
display: inline; font-size: var(--font-size-4)
}
.outline-text-2, .outline-text-3, .outline-text-4{
max-width: 100%;
overflow-x: auto;
}

View File

@@ -0,0 +1,134 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/rethink_inline.theme
#+TITLE: Rethink
#+AUTHOR: Jesse Kelly (jessekelly881)
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Rethink
Original: https://github.com/jessekelly881/Rethink
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [X] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,7 @@
# Turn off default internal styles
#+OPTIONS: html-style:nil html5-fancy:t
#+HTML_HEAD: <style type="text/css">
#+HTML_HEAD: @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i");
#+HTML_HEAD: /* Set variables */:root { --font-size-1: 2rem; --font-size-2: 1.5rem; --font-size-3: 1.15rem; --font-size-4: 1rem; --font-size-small: 0.8rem; --font-size-xsmall: 0.6rem;}/* Set padding and margin */html, body{ padding: 0; margin: 0; background-color: #fdfdfd;}/* Header margin */h2{margin-top: 2rem; margin-bottom: 1.5rem;}h3{margin-top: 1rem; margin-bottom: 1rem;}h4{margin-top: 1rem; margin-bottom: 1rem;}/* ------------------------- */::selection { background-color: purple; color: white;}html, body{ font-family: "Source Sans Pro", Helvetica, sans-serif; font-weight: 300;}h1{font-size: var(--font-size-1);}h2{font-size: var(--font-size-2);}h3{font-size: var(--font-size-3);}h4{font-size: var(--font-size-3);}h5{font-size: var(--font-size-3);}h1 > .subtitle{ font-size: var(--font-size-3);}h1, h2, h3, h4, h5, h6 { font-weight: 300; letter-spacing: -0.03em;}.outline-2 > h2, #table-of-contents > h2{ text-align: center;}/* Table of contents */#table-of-contents ul{ list-style-type:none; margin: 0;}#table-of-contents .tag{ display: none;}.outline-3{ border-bottom: 1px solid #CCC;}.outline-2 > h2{ grid-row-start: 1; grid-row-end: 2;}.outline-2{ grid-row-start: 2; grid-row-end: 3;}img{ max-width: 100%;}/* Code */pre{ margin: 1rem; background-color: #EEE; padding: 0.5rem; border-radius: 0.2rem; font-size: var(--font-size-small) !important;}.outline-3{ display: grid; grid-template-columns: 40fr 60fr;} /* Responsive content positioning */@media only screen and (min-width: 750px) /* Large screens */{ .outline-3{ margin: 0vh 10vw; } .outline-text-2, #table-of-contents{ padding: 0vh 10vw; }}@media only screen and (max-width: 750px) /* Small screens */{ .outline-3{ margin: 0vh 5vw; display: block; } .outline-text-2, #table-of-contents{ padding: 0vh 5vw; }}blockquote{ border-left: 0.2rem solid purple; padding-left: 1rem; font-style: italic;}p, pre, ol, ul, table, code{ color: #1A1A1A;}table, blockquote, pre, ol, ul, p, #postamble{ margin-top: 1rem; margin-bottom: 1rem;}h1, h2, h3, h4, h5, h6{ color: #0A0A0A;}.tag{ margin-top: 0.5rem; display: block; color: white; font-size: var(--font-size-xsmall);}.tag > span{ font-weight: 400; font-size: 0.6rem; background-color: purple; text-transform: uppercase; border-radius: 2px; width: fit-content; height: auto; padding: 1px 5px; margin: 1px;}/* Stripe table */tr:nth-child(even) { background-color: #EEE;}.title{ padding: 2vh 5vw;}pre{ font-family: "Courier New", monospace; font-size: var(--font-size-4)}.org-org-meta-line{ color: purple;}.org-keyword{ color: purple;}a{ color: purple;}.underline{ text-decoration: underline;}.todo{ color: #7D161A; font-weight: 400;}.done{ color: purple; font-weight: 400;}/* Postamble */#postamble{ text-align: center; width: 100%;}#postamble > p{ display: inline; font-size: var(--font-size-4)} .outline-text-2, .outline-text-3, .outline-text-4{ max-width: 100%; overflow-x: auto;}
#+HTML_HEAD: </style>

View File

@@ -0,0 +1,155 @@
/* Base */
html,
body {
background-color: #222;
min-height: 100%;
line-height: 1.5;
}
body {
color: #fafafa;
font-family: "Courier New";
}
::selection {
background-color: #2ecc40;
color: white;
}
/* Responsive content positioning */
@media only screen and (min-width: 1020px) /* Large screens */
{
body{
padding: 10vh 25vw;
}
}
@media only screen and (max-width: 1020px) and (min-width: 750px) /* Small screens */
{
body{
padding: 5vh 10vw;
}
}
@media only screen and (max-width: 750px) /* Small screens */
{
body{
padding: 2vh 5vw;
}
}
/* Headers */
h1{font-size: 2.5rem;}
h2{font-size: 1.7rem;}
h1 > .subtitle, h3, h4, h5, h6{font-size: 1.3rem;}
.title{
margin-bottom: 2.5rem;
}
/* Padding & Margin */
* {margin: 0; padding: 0;}
pre, blockquote, ul, ol, p, table{
margin: 1rem 0;
}
h1, h2{margin-top: 2rem; line-height: 2rem;}
h3, h4, h5, h6{margin-top: 1rem;}
/* Links */
a, a:visited {
color: #01ff70;
text-decoration: underline;
}
a:hover, a:focus, a:active {
color: #2ecc40;
}
/* Code */
pre {
font-family: "Courier New";
padding: .5rem;
background-color: #333;
padding: 0.5rem;
border-radius: 0.2rem;
font-size: 0.9rem;
color: #EEE;
overflow-x: auto;
}
.org-keyword{
color: #01ff70;
}
.org-rainbow-delimiters-depth-1{
color: #2ecc40;
}
.org-rainbow-delimiters-depth-2{
color: #01ff70;
}
/* Blockquotes */
blockquote {
border-left: 3px solid #01ff70;
padding-left: 1rem;
}
li{
list-style-position: inside;
}
/* Tags */
.tag{
margin-top: 0.5rem;
display: block;
color: white;
font-size: var(--font-size-xsmall);
}
.tag > span{
font-weight: 400;
font-size: 0.8rem;
background-color: #444;
text-transform: uppercase;
border-radius: 2px;
width: fit-content;
height: auto;
padding: 1px 5px;
}
/* Keywords */
.todo{
color: #2ecc40;
}
.done{
color: #444;
}
/* Overflows */
.outline-text-2, .outline-text-3, .outline-text-4{
max-width: 100%;
overflow-x: auto;
}
/* Table */
tr:nth-child(even) {
background-color: #333;
}
th, td{
padding: 0.5rem;
text-align: center;
}
.underline{
text-decoration: underline;
}
img{
max-width: 100%;
height: auto;
}

View File

@@ -0,0 +1,134 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/retro_dark.theme
#+TITLE: Retro Dark
#+AUTHOR: Jesse Kelly (jessekelly881)
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Retro Dark
Original: https://github.com/jessekelly881/Theme-Retro
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [X] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,3 @@
#+HTML_HEAD: <style type="text/css">
#+HTML_HEAD: /* Base */html,body { background-color: #222; min-height: 100%; line-height: 1.5;}body { color: #fafafa; font-family: "Courier New";}::selection { background-color: #2ecc40; color: white;}/* Responsive content positioning */@media only screen and (min-width: 1020px) /* Large screens */{ body{ padding: 10vh 25vw; }}@media only screen and (max-width: 1020px) and (min-width: 750px) /* Small screens */{ body{ padding: 5vh 10vw; }}@media only screen and (max-width: 750px) /* Small screens */{ body{ padding: 2vh 5vw; }}/* Headers */h1{font-size: 2.5rem;}h2{font-size: 1.7rem;}h1 > .subtitle, h3, h4, h5, h6{font-size: 1.3rem;}.title{ margin-bottom: 2.5rem;}/* Padding & Margin */* {margin: 0; padding: 0;}pre, blockquote, ul, ol, p, table{ margin: 1rem 0;}h1, h2{margin-top: 2rem; line-height: 2rem;}h3, h4, h5, h6{margin-top: 1rem;}/* Links */a, a:visited { color: #01ff70; text-decoration: underline;}a:hover, a:focus, a:active { color: #2ecc40;}/* Code */pre { font-family: "Courier New"; padding: .5rem; background-color: #333; padding: 0.5rem; border-radius: 0.2rem; font-size: 0.9rem; color: #EEE; overflow-x: auto;}.org-keyword{ color: #01ff70;}.org-rainbow-delimiters-depth-1{ color: #2ecc40;}.org-rainbow-delimiters-depth-2{ color: #01ff70;}/* Blockquotes */blockquote { border-left: 3px solid #01ff70; padding-left: 1rem;}li{ list-style-position: inside;}/* Tags */.tag{ margin-top: 0.5rem; display: block; color: white; font-size: var(--font-size-xsmall);}.tag > span{ font-weight: 400; font-size: 0.8rem; background-color: #444; text-transform: uppercase; border-radius: 2px; width: fit-content; height: auto; padding: 1px 5px;}/* Keywords */.todo{ color: #2ecc40;}.done{ color: #444;}/* Overflows */.outline-text-2, .outline-text-3, .outline-text-4{ max-width: 100%; overflow-x: auto;}/* Table */tr:nth-child(even) { background-color: #333;}th, td{ padding: 0.5rem; text-align: center;}.underline{ text-decoration: underline;}img{ max-width: 100%; height: auto;}
#+HTML_HEAD: </style>

View File

@@ -0,0 +1,62 @@
html,body,div,span,dl,dt,dd,ul,ol,li,a,table,h1,h2,h3,h4,h5,h6,p,pre,form,fieldset,blockquote,.src,.example{margin:0px;padding:0px;font-weight:normal;text-decoration:none;font-size:inherit;color:inherit;}
.section-number-1,.section-number-2,.section-number-3,.section-number-4,.section-number-5,.section-number-6{font-weight:inherit;}
.float-right{float:right;}
.author{color:#666;line-height:3em;}
body{ font:87.5% "Georgia Serif", Times, Palatino, "Times New Roman", serif; background: #DCDCDC;}
a{color:blue;}
html>body{font-size:14px;}
body{ width:54em; padding:1.5em; padding-top:6em; margin: auto;}
p{ line-height:1.5em; font-size:1em; margin-top:1.5em; margin-bottom:1.5em;}
.post_list{ margin-top:1.5em;}
.title{text-align:left;}
h1{font-size:2.5em;line-height:1.2em;}
h2{font-size:1.5em;line-height:1em;margin-top:2em;margin-bottom:1em;}
h3{ font-size:1.1667em; line-height: 1.286em; margin-top:1.929em; margin-bottom:0.643em; font-weight:bolder;}
h4{ font-weight:bold; line-height:3em;}
/*p + dl{ margin-top:-1.5em; border:1px solid red;}
*/dt{font-weight:bold;}
dd{padding-left:1.5em;}
li{ font-size:100%; line-height:1.5em;}
div{margin:0!important;padding:0!important;}
/*table{display:none;}
*/.src,.example{margin:0;padding:1em;font-size:1em;line-height:1.5em;}
.src{background:#444;color:#fff;}
.example{background:#242834;color:#fff;padding:.75em}
.header{ font-family:Arial,Helvetica,Verdana,sans-serif; vertical-align:text-top; position:absolute; top:0px;left:0px; right:0px; background:#345; padding:.75em 1.5em!important; border-bottom:1.5em solid #EBD6D6; border-bottom-color:#9FB8D3; background:#0F4D92; border-bottom:1em solid #cdf; background:#444; background:#49A; background:transparent; background:#eef0ff; background:#933; background:#A55; border-color:#EDD; /*background: #939; border-color:#EDE;*/ /* background:#359; */ /* border-color:#9AC; */}
.header h1{font:1.75em Arial,Helvetica,Verdana,sans-serif;line-height:1.166em;font-weight:bold;color:#b90;color:#06a;color:#fff;text-shadow: #822 0px 0px 2px;font-weight:normal;display:inline;}
.header h1 em{ color:#b90; color:#fc2; color:#b90; color:#db2; color:#fd4; font-weight:bold; font-style:normal;}
.header * {vertical-align:middle;}
.header ul { display:inline; padding-left:1.5em; margin-left:0!important;}
.header li { display:inline; padding:0 .75em;}
.header li a{ text-decoration:none; color:#ffd;}
/*dl{display:none;}
*/ol{margin-left:1.5em;}
ul{ list-style-type: disc; margin-left:1.5em;}
ul ul{ list-style-type:circle;}
#table-of-contents ul{list-style-type:none;}
#text-table-of-contents > ul:first-child > li > a{ font-weight:bold;}
#postamble p,#postamble a{ font-size:.857em; line-height:1.75em; padding:0; margin:0;}
#postamble{ margin:1.75em 0!important; border-top:1px solid #888;}
blockquote{ margin-left:1em;}
/*** blue **/a{}
.header a{background:inherit;}
h1,h2,h3,h4,h5,h6, #text-table-of-contents li{ color:#026; color:#0A3361; font-weight:normal;}
.header{background:#0F4D92;border-bottom-color:#AFC4DB}
/*.header h1{text-shadow: #228 0px 0px 2px;}
*/h1,h2,h3,h4,h5,h6{ color:#373737; font-weight:bolder;}
h1.title{font-weight:normal;font-size:3em;line-height:1em;}
body{width:48em;}
img{max-width:48em;}
body{text-align:justify; font:12px "Lucida Grande","Trebuchet MS","Bitstream Vera Sans",Verdana,Helvetica,sans-serif !important; color:#272727;}
code{ font-weight:inherit; color:#048; color:black;}
a{color:#00e}
a:visited{color:#551A8B}
.figure { background:#ddd; border:1px solid #ccc; font-size:.90em; line-height:1.666em; padding:1.5em!important; text-align:left!important; margin-bottom:1.666em;}
.outline-2{ margin:3em 0!important;}
body{padding-top:9em;padding-left:3em;}
.header{ padding-left:3!important;}
.header h1, .header h1 em { text-shadow:none; font-size:1.5em!important;}
.header { background:transparent; padding-left:3em!important; border-bottom:none; color:inherit!important; background:#dde8ff; border-bottom:1px solid #c3d9ff;}
.header h1, .header h1 em { text-shadow:none; color:#06c; font-family:"Georgia Serif", Times, Palatino, "Times New Roman", serif;}
.header li a { color:inherit!important; text-decoration:underline;}
#text-table-of-contents a {}

View File

@@ -0,0 +1,132 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/simple_gray.theme
#+TITLE: Simple Gray
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Simple Gray
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [X] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,3 @@
#+HTML_HEAD: <style type="text/css">
#+HTML_HEAD: html,body,div,span,dl,dt,dd,ul,ol,li,a,table,h1,h2,h3,h4,h5,h6,p,pre,form,fieldset,blockquote,.src,.example{margin:0px;padding:0px;font-weight:normal;text-decoration:none;font-size:inherit;color:inherit;}.section-number-1,.section-number-2,.section-number-3,.section-number-4,.section-number-5,.section-number-6{font-weight:inherit;}.float-right{float:right;}.author{color:#666;line-height:3em;}body{ font:87.5% "Georgia Serif", Times, Palatino, "Times New Roman", serif; background: #DCDCDC;}a{color:blue;}html>body{font-size:14px;}body{ width:54em; padding:1.5em; padding-top:6em; margin: auto;}p{ line-height:1.5em; font-size:1em; margin-top:1.5em; margin-bottom:1.5em;}.post_list{ margin-top:1.5em;}.title{text-align:left;}h1{font-size:2.5em;line-height:1.2em;}h2{font-size:1.5em;line-height:1em;margin-top:2em;margin-bottom:1em;}h3{ font-size:1.1667em; line-height: 1.286em; margin-top:1.929em; margin-bottom:0.643em; font-weight:bolder;}h4{ font-weight:bold; line-height:3em;}/*p + dl{ margin-top:-1.5em; border:1px solid red;}*/dt{font-weight:bold;}dd{padding-left:1.5em;}li{ font-size:100%; line-height:1.5em;}div{margin:0!important;padding:0!important;}/*table{display:none;}*/.src,.example{margin:0;padding:1em;font-size:1em;line-height:1.5em;}.src{background:#444;color:#fff;}.example{background:#242834;color:#fff;padding:.75em}.header{ font-family:Arial,Helvetica,Verdana,sans-serif; vertical-align:text-top; position:absolute; top:0px;left:0px; right:0px; background:#345; padding:.75em 1.5em!important; border-bottom:1.5em solid #EBD6D6; border-bottom-color:#9FB8D3; background:#0F4D92; border-bottom:1em solid #cdf; background:#444; background:#49A; background:transparent; background:#eef0ff; background:#933; background:#A55; border-color:#EDD; /*background: #939; border-color:#EDE;*/ /* background:#359; */ /* border-color:#9AC; */}.header h1{font:1.75em Arial,Helvetica,Verdana,sans-serif;line-height:1.166em;font-weight:bold;color:#b90;color:#06a;color:#fff;text-shadow: #822 0px 0px 2px;font-weight:normal;display:inline;}.header h1 em{ color:#b90; color:#fc2; color:#b90; color:#db2; color:#fd4; font-weight:bold; font-style:normal;}.header * {vertical-align:middle;}.header ul { display:inline; padding-left:1.5em; margin-left:0!important;}.header li { display:inline; padding:0 .75em;}.header li a{ text-decoration:none; color:#ffd;}/*dl{display:none;}*/ol{margin-left:1.5em;}ul{ list-style-type: disc; margin-left:1.5em;}ul ul{ list-style-type:circle;}#table-of-contents ul{list-style-type:none;}#text-table-of-contents > ul:first-child > li > a{ font-weight:bold;}#postamble p,#postamble a{ font-size:.857em; line-height:1.75em; padding:0; margin:0;}#postamble{ margin:1.75em 0!important; border-top:1px solid #888;}blockquote{ margin-left:1em;}/*** blue **/a{}.header a{background:inherit;}h1,h2,h3,h4,h5,h6, #text-table-of-contents li{ color:#026; color:#0A3361; font-weight:normal;}.header{background:#0F4D92;border-bottom-color:#AFC4DB}/*.header h1{text-shadow: #228 0px 0px 2px;}*/h1,h2,h3,h4,h5,h6{ color:#373737; font-weight:bolder;}h1.title{font-weight:normal;font-size:3em;line-height:1em;}body{width:48em;}img{max-width:48em;}body{text-align:justify; font:12px "Lucida Grande","Trebuchet MS","Bitstream Vera Sans",Verdana,Helvetica,sans-serif !important; color:#272727;}code{ font-weight:inherit; color:#048; color:black;}a{color:#00e}a:visited{color:#551A8B}.figure { background:#ddd; border:1px solid #ccc; font-size:.90em; line-height:1.666em; padding:1.5em!important; text-align:left!important; margin-bottom:1.666em;}.outline-2{ margin:3em 0!important;}body{padding-top:9em;padding-left:3em;}.header{ padding-left:3!important;}.header h1, .header h1 em { text-shadow:none; font-size:1.5em!important;}.header { background:transparent; padding-left:3em!important; border-bottom:none; color:inherit!important; background:#dde8ff; border-bottom:1px solid #c3d9ff;}.header h1, .header h1 em { text-shadow:none; color:#06c; font-family:"Georgia Serif", Times, Palatino, "Times New Roman", serif;}.header li a { color:inherit!important; text-decoration:underline;}#text-table-of-contents a {}
#+HTML_HEAD: </style>

View File

@@ -0,0 +1,132 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/simple_inline.theme
#+TITLE: Simple Inline
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Simple Inline
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [ ] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,132 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/simple_white.theme
#+TITLE: Simple White
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Simple White
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [ ] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,3 @@
#+OPTIONS: org-html-head-include-default-style:nil
#+HTML_HEAD: <style type="text/css"> * { font-family: "Georgia";}h1, h2, h3, h4, h5, h6,h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-family: "Arial";}pre, code { font-family: Monaco, "Courier New", Courier;}#text-table-of-contents a { font-family: "Arial";}/* @end *//* @group Baseline */body { font-size: 14px; line-height: 1.5em; padding: 0; margin: 0;}h1 { margin: 0; font-size: 1.6666666666666667em; line-height: 0.9em; margin-bottom: 0.9em;}h2 { margin: 0; font-size: 1.5em; line-height: 1em; margin-bottom: 1em;}h3 { margin: 0; font-size: 1.3333333333333333em; line-height: 1.125em; margin-bottom: 1.125em;}h4 { margin: 0; font-size: 1.1666666666666667em; line-height: 1.2857142857142858em; margin-bottom: 1.2857142857142858em;}p, ul, blockquote, pre, td, th, label { margin: 0; font-size: 1em; line-height: 1.5em; margin-bottom: 1.5em;}p.small, #postamble { margin: 0; font-size: 0.8333333333333334em; line-height: 1.8em; margin-bottom: 1.8em;}table { border-collapse: collapse; margin-bottom: 1.5em;}/* @end *//* @group Layout */#content { width: 70em; margin-left: auto; margin-right: auto;}/* #header { height: 10em;}*/#table-of-contents { width: 15em; float: left; overflow: auto;}/* #main { */div.outline-2 { width: 52em; float: right; /* The lines below are useful if the "main" div isn't available and div.outline-2 has to be used. */ position: relative;}#postamble { clear: both; text-align: center;}div.outline-2 pre { width: 40em; overflow: auto;}/* @end *//* @group Header */h1.title { margin-top: 10px; text-align: center;}h1.title { font-size: 3em; font-weight: bold; margin-bottom: 0.8em;}/* @end *//* @group Org Keywords */.todo { color: red;}.done { color: green;}.tag { color: blue; text-transform: lowercase; /* This will be obscured by the surrounding span tag, so blank everything. */ background: #fff; border: none; /* position: relative; text-align: right; right: 1em; */}.timestamp {}.timestamp-kwd { /* keyword associated with a time stamp, like SCHEDULED */}.target { /* target for links */}/* @end *//* @group Table of Contents */#table-of-contents h2 { letter-spacing: -0.1em;}#table-of-contents ul,#table-of-contents ol { padding-left: 1em;}/* @end *//* @group Outline Level 2 */.outline-2 h2 { background: #ffc; border-bottom: 1px solid #ccc;}.outline-2 h2, .outline-2 h3 { letter-spacing: -0.05em;}.outline-2 { padding: 5px; /* margin-bottom: 10px; */ /* border-top: 1px solid #ccc; */}/* @end */td { border: 1px solid #ccc;}h1 span, h2 span, h3 span, h4 span, h5 span, h6 span { background-color: #eee; padding: 2px; border: 1px solid #ccc;}.outline-1, .outline-2, .outline-3, .outline-4, .outline-5, .outline-6 { margin-left: 2em;}a { text-decoration: none; color: #57d; /* TODO: Find a better colour for this. */}a:hover { border-bottom: 1px dotted #57d;}#postamble p { margin: 0px;}.footpara { display: inline; }.footdef { margin-bottom: 3em; font-size: 80%; }/*]]>*/--></style><script type="text/javascript">/*@licstart The following is the entire license notice for theJavaScript code in this tag.Copyright (C) 2012-2013 Free Software Foundation, Inc.The JavaScript code in this tag is free software: you canredistribute it and/or modify it under the terms of the GNUGeneral Public License (GNU GPL) as published by the Free SoftwareFoundation, either version 3 of the License, or (at your option)any later version. The code is distributed WITHOUT ANY WARRANTY;without even the implied warranty of MERCHANTABILITY or FITNESSFOR A PARTICULAR PURPOSE. See the GNU GPL for more details.As additional permission under GNU GPL version 3 section 7, youmay distribute non-source (e.g., minimized or compacted) forms ofthat code without the copy of the GNU GPL normally required bysection 4, provided you include this license notice and a URLthrough which recipients can access the Corresponding Source.@licend The above is the entire license noticefor the JavaScript code in this tag.*/<!--/*--><![CDATA[/*><!--*/ function CodeHighlightOn(elem, id) { var target = document.getElementById(id); if(null != target) { elem.cacheClassElem = elem.className; elem.cacheClassTarget = target.className; target.className = "code-highlighted"; elem.className = "code-highlighted"; } } function CodeHighlightOff(elem, id) { var target = document.getElementById(id); if(elem.cacheClassElem) elem.className = elem.cacheClassElem; if(elem.cacheClassTarget) target.className = elem.cacheClassTarget; }</script>

View File

@@ -0,0 +1,132 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/simple_whiteblue.theme
#+TITLE: Simple Whiteblue
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Simple Whiteblue
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [ ] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,132 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/solarized_dark.theme
#+TITLE: Solarized Dark
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Solarized Dark
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [ ] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,5 @@
#+OPTIONS: org-html-head-include-default-style:nil
#+HTML_HEAD: <style type="text/css">
#+HTML_HEAD: article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap;word-wrap:break-word}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}html{font-family:'PT Sans',sans-serif}pre,code{font-family:'Inconsolata',sans-serif}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif;font-weight:700}html{background-color:#073642;color:#839496;margin:1em}body{background-color:#002b36;margin:0 auto;max-width:23cm;border:1pt solid #586e75;padding:1em}code{background-color:#073642;padding:2px}a{color:#b58900}a:visited{color:#cb4b16}a:hover{color:#cb4b16}h1{color:#d33682}h2,h3,h4,h5,h6{color:#859900}pre{background-color:#002b36;color:#839496;border:1pt solid #586e75;padding:1em;box-shadow:5pt 5pt 8pt #073642}pre code{background-color:#002b36}h1{font-size:2.8em}h2{font-size:2.4em}h3{font-size:1.8em}h4{font-size:1.4em}h5{font-size:1.3em}h6{font-size:1.15em}.tag{background-color:#073642;color:#d33682;padding:0 .2em}.todo,.next,.done{color:#002b36;background-color:#dc322f;padding:0 .2em}.tag{-webkit-border-radius:.35em;-moz-border-radius:.35em;border-radius:.35em}.TODO{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#2aa198}.NEXT{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#268bd2}.ACTIVE{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#268bd2}.DONE{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#859900}.WAITING{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#cb4b16}.HOLD{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#d33682}.NOTE{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#d33682}.CANCELLED{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#859900}
#+HTML_HEAD: </style>

View File

@@ -0,0 +1,132 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/solarized_light.theme
#+TITLE: Solarized light
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Solarized light
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [ ] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

View File

@@ -0,0 +1,5 @@
#+OPTIONS: org-html-head-include-default-style:nil
#+HTML_HEAD: <style type="text/css">
#+HTML_HEAD: article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap;word-wrap:break-word}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}html{font-family:'PT Sans',sans-serif}pre,code{font-family:'Inconsolata',sans-serif}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif;font-weight:700}html{background-color:#eee8d5;color:#657b83;margin:1em}body{background-color:#fdf6e3;margin:0 auto;max-width:23cm;border:1pt solid #93a1a1;padding:1em}code{background-color:#eee8d5;padding:2px}a{color:#b58900}a:visited{color:#cb4b16}a:hover{color:#cb4b16}h1{color:#d33682}h2,h3,h4,h5,h6{color:#859900}pre{background-color:#fdf6e3;color:#657b83;border:1pt solid #93a1a1;padding:1em;box-shadow:5pt 5pt 8pt #eee8d5}pre code{background-color:#fdf6e3}h1{font-size:2.8em}h2{font-size:2.4em}h3{font-size:1.8em}h4{font-size:1.4em}h5{font-size:1.3em}h6{font-size:1.15em}.tag{background-color:#eee8d5;color:#d33682;padding:0 .2em}.todo,.next,.done{color:#fdf6e3;background-color:#dc322f;padding:0 .2em}.tag{-webkit-border-radius:.35em;-moz-border-radius:.35em;border-radius:.35em}.TODO{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#2aa198}.NEXT{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#268bd2}.ACTIVE{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#268bd2}.DONE{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#859900}.WAITING{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#cb4b16}.HOLD{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#d33682}.NOTE{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#d33682}.CANCELLED{-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;background-color:#859900}
#+HTML_HEAD: </style>

View File

@@ -0,0 +1,132 @@
#+SETUPFILE: ~/.emacs.d/org-styles/html/stylish_white.theme
#+TITLE: Stylish White
#+AUTHOR: Unknown
#+EMAIL: mail@blablub.nil
#+OPTIONS: ^:nil p:t
* Stylish White
Includes:
- [X] CSS
- [ ] JAVASCRIPT
Available as:
- [ ] CSS FILE
- [ ] JS FILE
- [X] SETUPFILE
* Lists
** Todo List
*** TODO First todo
*** DONE First Done with Date
CLOSED: [2021-02-18 Thu 10:12]
*** TODO Scheduled
SCHEDULED: <2021-02-18 Thu>
*** TODO Deadline
DEADLINE: <2021-02-18 Thu>
*** TODO Date
<2021-02-18 Thu>
** Simple list
- List item
- List item
- List item
- List item
** Sorted List
1. List item
2. List item
3. List item
4. List item
** Checkbox
- [ ] List item
- [X] List item
- [ ] List item
- [X] List item
* H1
H1 Text
** H2
H2 Text
*** H3
H3 Text
**** H4
H4 Text
***** H5
H5 Text
****** H6
H6 Text
******* H7
H7 Text
* Table
| a | b | c | d | e | f |
|----+----+----+----+----+----|
| 0 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 |
* Blocks
** Center
#+begin_center
This is a center block
#+end_center
** Comment
#+begin_comment
This is a comment block
#+end_comment
** Example
#+begin_example
This is an example block
#+end_example
** Quote
#+begin_quote
This is a quote block
#+end_quote
** Verse
#+begin_verse
This is a verse block
#+end_verse
** Source Blocks
*** Python
#+begin_src python :results output :exports both
for i in range(10):
print(i)
#+end_src
#+RESULTS:
#+begin_example
0
1
2
3
4
5
6
7
8
9
#+end_example
*** Elisp
#+begin_src emacs-lisp :exports both
(car '(a b c d))
#+end_src
#+RESULTS:
: a

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
;; yas-snippet
# -*- mode: snippet -*-
# name: Org Html Export with readtheorg_inline
# key: readtheorg
# --
#+SETUPFILE: ~/.emacs.d/org-templates/readtheorg_inline/readtheorg_inline.theme