Templates and snippets for export
This commit is contained in:
155
org-templates/retro_dark/retro_dark.css
Normal file
155
org-templates/retro_dark/retro_dark.css
Normal 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;
|
||||
}
|
||||
134
org-templates/retro_dark/retro_dark.org
Normal file
134
org-templates/retro_dark/retro_dark.org
Normal 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
|
||||
|
||||
|
||||
3
org-templates/retro_dark/retro_dark.theme
Normal file
3
org-templates/retro_dark/retro_dark.theme
Normal 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>
|
||||
Reference in New Issue
Block a user