1
0

quickref: more fixes, remove old html

This commit is contained in:
Simon Michael
2022-06-18 16:17:51 +01:00
parent 3aa078697b
commit 3b1f55be5e
6 changed files with 23 additions and 1270 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +1,8 @@
<link href="quickref.css" rel="stylesheet">
<style>
body { line-height:revert; }
div.container { width:100%; max-width:revert; margin:1em; }
ul ul {margin-top:revert; margin-bottom:revert;}
ul li {margin-top:revert; margin-bottom:revert;}
p { margin:revert;}
h2 { white-space:revert; }
</style>
<a href="https://en.wikipedia.org/wiki/Rosetta_Stone" style="float:right; margin:0 2em;"><img width=100 src="images/image00.jpg"></a>
## Syntax Quick Reference for the Ledger-Likes
# Syntax Quick Reference for the Ledger-Likes
The journal file formats of Ledger, hledger and Beancount, side by side. Last tested: 2016.\
See also:
@@ -39,12 +30,12 @@ Contents:
- [commodity](#h.n9q16dsjsoye)
- [market price](#h.wya8r85tgqsx)
### Journal format
## Journal format
Things in square brackets are  optional. Some notes in the Ledger column are common to all.
<!-- table exported from google sheet -->
<table class="c22">
<table id="quickref3">
<tbody>
<tr class="c11">
<td class="c16" colspan="1" rowspan="1">

View File

@@ -1,4 +1,4 @@
% Syntax quick reference: Beancount
<link href="quickref.css" rel="stylesheet">
# Syntax quick reference: Beancount

View File

@@ -1,4 +1,4 @@
% Syntax quick reference: hledger
<link href="quickref.css" rel="stylesheet">
# Syntax quick reference: hledger

View File

@@ -1,4 +1,4 @@
% Syntax quick reference: Ledger
<link href="quickref.css" rel="stylesheet">
# Syntax quick reference: Ledger

View File

@@ -1,41 +1,22 @@
tr {
vertical-align:top;
}
/* TOC */
/* update these class ids on each save */
p { margin:0; }
p.c36 { visibility:hidden; }
p.c35 { margin-left:1em; }
p.c14 { margin-left:3em; }
p.c28 { margin-left:2em; }
/* heading cells */
tr:first-child {
font-weight:bold;
}
td:first-child {
/* font-weight:bold; */
}
tr:first-child a {
font-size:small;
/* white-space:nowrap; */
}
td:first-child {
width:10%;
}
/* body cells */
tr:not(:first-child) td:not(:first-child) span:first-child {
/* revert some skeleton styles, reduce whitespace */
body { line-height:revert; }
div.container { width:100%; max-width:revert; margin:1em; }
ul ul {margin-top:revert; margin-bottom:revert;}
ul li {margin-top:revert; margin-bottom:revert;}
p { margin:revert;}
h1,h2,h3 { white-space:revert; }
/* styles used by index.md's table */
table#quickref3 p { margin:0; }
table#quickref3 tr { vertical-align:top; }
table#quickref3 tr:first-child { font-weight:bold; }
table#quickref3 tr:first-child a { font-size:small; }
table#quickref3 td:first-child { width:10%; }
table#quickref3 tr:not(:first-child) td:not(:first-child) span:first-child {
white-space:nowrap;
font-weight:bold;
color:navy;
font-family:monospace;
/* font-family:monaco; */
/* font-size:small; */
}
tr:not(:first-child) td:not(:first-child) span:not(:first-child) {
/* white-space:nowrap; */
/* font-family:monospace; */
font-size:small;
}
td:not(:first-child) {
width:30%;
}
table#quickref3 tr:not(:first-child) td:not(:first-child) span:not(:first-child) { font-size:small; }
table#quickref3 td:not(:first-child) { width:30%; }