mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f3974406a0
commit
71cb3f1f97
@ -94,11 +94,10 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
/* XXX not sure about this yet... */
|
/* hide span content but show before/after -- keep bulets and touch zones... */
|
||||||
.editor .outline [tabindex]>textarea:focus+span {
|
.editor .outline [tabindex]>textarea:focus+span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
margin-top: 0;
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
.editor .outline [tabindex]>textarea:focus+span:before,
|
.editor .outline [tabindex]>textarea:focus+span:before,
|
||||||
@ -235,6 +234,14 @@ editor .outline [tabindex]:focus {
|
|||||||
/********************************************************** Styles ***/
|
/********************************************************** Styles ***/
|
||||||
|
|
||||||
/* Headings... */
|
/* Headings... */
|
||||||
|
.editor .outline .heading-1,
|
||||||
|
.editor .outline .heading-2,
|
||||||
|
.editor .outline .heading-3,
|
||||||
|
.editor .outline .heading-4,
|
||||||
|
.editor .outline .heading-5,
|
||||||
|
.editor .outline .heading-6 {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
.editor .outline .heading-1>span,
|
.editor .outline .heading-1>span,
|
||||||
.editor .outline .heading-1>textarea,
|
.editor .outline .heading-1>textarea,
|
||||||
.editor .outline .heading-2>span,
|
.editor .outline .heading-2>span,
|
||||||
@ -247,7 +254,6 @@ editor .outline [tabindex]:focus {
|
|||||||
.editor .outline .heading-5>textarea,
|
.editor .outline .heading-5>textarea,
|
||||||
.editor .outline .heading-6>span,
|
.editor .outline .heading-6>span,
|
||||||
.editor .outline .heading-6>textarea {
|
.editor .outline .heading-6>textarea {
|
||||||
margin-top: 1rem;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.editor .outline .heading-1>span,
|
.editor .outline .heading-1>span,
|
||||||
|
|||||||
@ -380,6 +380,9 @@ var Outline = {
|
|||||||
.replace(/((?:https?:|ftps?:)[^\s]*)(\s*)/g, '<a href="$1">$1</a>$2')
|
.replace(/((?:https?:|ftps?:)[^\s]*)(\s*)/g, '<a href="$1">$1</a>$2')
|
||||||
// characters...
|
// characters...
|
||||||
// XXX use ligatures for these???
|
// XXX use ligatures for these???
|
||||||
|
.replace(/(?<!\\)\(i\)/gm, '🛈')
|
||||||
|
.replace(/(?<!\\)\(c\)/gm, '©')
|
||||||
|
.replace(/(?<!\\)\/!\\/gm, '⚠')
|
||||||
.replace(/(?<!\\)---(?!-)/gm, '—')
|
.replace(/(?<!\\)---(?!-)/gm, '—')
|
||||||
.replace(/(?<!\\)--(?!-)/gm, '–')
|
.replace(/(?<!\\)--(?!-)/gm, '–')
|
||||||
// quoting...
|
// quoting...
|
||||||
|
|||||||
@ -138,6 +138,9 @@ var setup = function(){
|
|||||||
- | a | b | c |
|
- | a | b | c |
|
||||||
| 1 | 2 | 3 |
|
| 1 | 2 | 3 |
|
||||||
| 11 | 22 | 33 |
|
| 11 | 22 | 33 |
|
||||||
|
- Symbols -- should these be ligatures?
|
||||||
|
- (i), (c), /!\, ...
|
||||||
|
- -- and ---
|
||||||
- markdown:
|
- markdown:
|
||||||
- numbered lists
|
- numbered lists
|
||||||
- ~tables~
|
- ~tables~
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user