File tree 2 files changed +9
-10
lines changed
2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ With [a nice CSS](https://github.com/amelki/json-pretty-html/blob/master/style.c
37
37
38
38
## CSS
39
39
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 ) .
41
41
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:
43
43
44
44
* CSS Class* | * Purpose*
45
45
--- | ---
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ body {
12
12
padding-bottom : 10px ;
13
13
margin : 0 ;
14
14
}
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
+ }
15
22
16
23
.json-string {
17
24
color : # 6caedd ;
@@ -29,11 +36,3 @@ body {
29
36
color : # 99c794 ;
30
37
}
31
38
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
- }
You can’t perform that action at this time.
0 commit comments