Skip to content

Commit a6a98dd

Browse files
committed
Change styles to use palette
1 parent 72eacb1 commit a6a98dd

File tree

5 files changed

+47
-42
lines changed

5 files changed

+47
-42
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"HelloThere": [
3-
"My very first note.\n\nLook ma, multiple lines!",
4-
"Another note, just to prove I can.",
5-
"Dummy text"
6-
],
7-
"Quick Start": [
8-
"And a note on another tiddler, with a [[link|Hard and Soft Links]] just for demo."
9-
]
2+
"HelloThere": [
3+
"My very first note.\n\nLook ma, multiple lines!",
4+
"Another note, just to prove I can.",
5+
"Dummy text"
6+
],
7+
"Quick Start": [
8+
"And a note on another tiddler, with a [[link|Hard and Soft Links]] just for demo."
9+
]
1010
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
caption: Supp Notes Content
22
created: 20251107151758434
3-
modified: 20251117224811306
3+
modified: 20251118124741220
44
tags: $:/tags/SupplementaryInfo
55
title: $:/supp-info/notes/content
66
type: application/json

tiddlers/$__supp-info_notes_styles_main.css

Lines changed: 0 additions & 27 deletions
This file was deleted.

tiddlers/$__supp-info_notes_styles_main.css.meta

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
caption: Supp Notes Stylesheet
2+
created: 20251115161726500
3+
modified: 20251118125608558
4+
tags: $:/tags/Stylesheet
5+
title: $:/supp-info/notes/styles/main
6+
type: text/vnd.tiddlywiki
7+
8+
/* TODO: find reasonably pleasing color entries so that contrasts work properly in all palettes.
9+
See for instance Contrast (Light) or Cupertino Dark for failures.
10+
The white and black below need to change. But to what? */
11+
.supp-notes {
12+
background-color: <<color message-background>>;
13+
margin-top: 3em;
14+
margin-bottom: -2em;
15+
padding: 0;
16+
.controls {
17+
display: inline-block;
18+
margin-left: 1em;
19+
svg {width: 1em; height: 1em; vertical-align: middle;}
20+
}
21+
.summary, .summary button.toggle {background-color: <<color message-foreground>>; color: white; padding: .5em; font-weight: bold;}
22+
.note-row {
23+
display: flex;
24+
flex-direction: row;
25+
gap: .75em;
26+
align-items: center;
27+
padding: .5em;
28+
color: black;
29+
&button {
30+
flex: 0 1 auto;
31+
width: 2em;
32+
svg {width: 1.5em; height: 1em; vertical-align: middle;}
33+
}
34+
textarea {width: 100%;}
35+
div.note {flex: 1 0 auto; min-height: 2em;}
36+
}
37+
.note {border: 1px solid #ccc; padding: .25em .5em; margin-top: .5em; &>:first-child {margin-top: 0;}}
38+
}

0 commit comments

Comments
 (0)