Skip to content

Commit f4b0aae

Browse files
committed
page style
1 parent 05ba785 commit f4b0aae

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "app.opendocument.javascript",
3-
"version": "1.0.0",
3+
"version": "2.0.0-pre1",
44
"description": "",
55
"private": true,
66
"scripts": {

src/document.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@ x-s {
1414
display: inline;
1515
}
1616

17+
.odr-background {
18+
display: flex;
19+
background-color: lightgray;
20+
}
21+
.odr-pages {
22+
margin-left: auto;
23+
margin-right: auto;
24+
padding-top: 2cm;
25+
padding-left: 2cm;
26+
padding-right: 2cm;
27+
}
28+
.odr-page-outer {
29+
display: flex;
30+
background-color: white;
31+
margin-bottom: 2cm;
32+
margin-left: auto;
33+
margin-right: auto;
34+
}
35+
1736
/* https://github.com/marcelblanarik/js-keyword-highlighter/blob/dd69436bee06f8c658abe1e12e2abb35d3bf250b/index.html#L81-L82 */
1837
mark { background: yellow; }
1938
mark.current { background: orange; }

0 commit comments

Comments
 (0)