Skip to content

Commit 6456b54

Browse files
committed
README
1 parent cf99614 commit 6456b54

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ With [a nice CSS](https://github.com/amelki/json-pretty-html/blob/master/style.c
3737

3838
## CSS
3939

40-
We provide a ['darcula' like stylesheet](https://github.com/amelki/json-pretty-html/blob/master/style.css) that you can use.
40+
You can use the default ['darcula' like stylesheet](https://github.com/amelki/json-pretty-html/blob/master/style.css).
4141

42-
You can also define your own styles for each CSS class used in the generated HTML:
42+
Or you can define your own styles. See below the list of CSS classes used in the generated HTML:
4343

4444
*CSS Class* | *Purpose*
4545
--- | ---

style.css

+7-8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ body {
1212
padding-bottom: 10px;
1313
margin: 0;
1414
}
15+
.json-pretty {
16+
padding-left: 30px;
17+
padding-right: 30px;
18+
}
19+
.json-selected {
20+
background-color: rgba(139, 191, 228, 0.19999999999999996);
21+
}
1522

1623
.json-string {
1724
color: #6caedd;
@@ -29,11 +36,3 @@ body {
2936
color: #99c794;
3037
}
3138

32-
.json-pretty {
33-
padding-left: 30px;
34-
padding-right: 30px;
35-
}
36-
37-
.json-selected {
38-
background-color: rgba(139, 191, 228, 0.19999999999999996);
39-
}

0 commit comments

Comments
 (0)