@hackersheet/react-document-content-styles 0.1.0-alpha.7 → 0.1.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/basic.module.css +26 -14
- package/package.json +5 -1
package/dist/basic.module.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
.main > :first-child {
|
|
3
|
-
margin-top: 0;
|
|
3
|
+
margin-top: 0 !important;
|
|
4
4
|
}
|
|
5
5
|
.main > :last-child {
|
|
6
|
-
margin-bottom: 0;
|
|
6
|
+
margin-bottom: 0 !important;
|
|
7
7
|
}
|
|
8
8
|
.main * {
|
|
9
9
|
word-break: break-word;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
.main ol ul ul {
|
|
85
85
|
list-style-type: square;
|
|
86
86
|
}
|
|
87
|
-
.main table {
|
|
87
|
+
.main table:not(:global .gist-block table) {
|
|
88
88
|
margin: 1.5rem 0;
|
|
89
89
|
width: 100%;
|
|
90
90
|
table-layout: fixed;
|
|
@@ -94,31 +94,31 @@
|
|
|
94
94
|
border: 1px solid hsl(var(--hsdc-border));
|
|
95
95
|
overflow: hidden;
|
|
96
96
|
}
|
|
97
|
-
.main table thead {
|
|
97
|
+
.main table:not(:global .gist-block table) thead {
|
|
98
98
|
background-color: hsl(var(--hsdc-muted));
|
|
99
99
|
}
|
|
100
|
-
.main table tbody td {
|
|
100
|
+
.main table:not(:global .gist-block table) tbody td {
|
|
101
101
|
border-top: 1px solid hsl(var(--hsdc-border));
|
|
102
102
|
}
|
|
103
|
-
.main table tbody tr:hover {
|
|
103
|
+
.main table:not(:global .gist-block table) tbody tr:hover {
|
|
104
104
|
background-color: hsl(var(--hsdc-muted)/0.5);
|
|
105
105
|
}
|
|
106
|
-
.main table th,
|
|
107
|
-
.main table td {
|
|
106
|
+
.main table:not(:global .gist-block table) th,
|
|
107
|
+
.main table:not(:global .gist-block table) td {
|
|
108
108
|
padding: 0.5rem;
|
|
109
109
|
font-size: 0.875rem;
|
|
110
110
|
text-align: left;
|
|
111
111
|
}
|
|
112
|
-
.main table th :global(&.left),
|
|
113
|
-
.main table td :global(&.left) {
|
|
112
|
+
.main table:not(:global .gist-block table) th :global(&.left),
|
|
113
|
+
.main table:not(:global .gist-block table) td :global(&.left) {
|
|
114
114
|
text-align: left;
|
|
115
115
|
}
|
|
116
|
-
.main table th :global(&.center),
|
|
117
|
-
.main table td :global(&.center) {
|
|
116
|
+
.main table:not(:global .gist-block table) th :global(&.center),
|
|
117
|
+
.main table:not(:global .gist-block table) td :global(&.center) {
|
|
118
118
|
text-align: center;
|
|
119
119
|
}
|
|
120
|
-
.main table th :global(&.right),
|
|
121
|
-
.main table td :global(&.right) {
|
|
120
|
+
.main table:not(:global .gist-block table) th :global(&.right),
|
|
121
|
+
.main table:not(:global .gist-block table) td :global(&.right) {
|
|
122
122
|
text-align: right;
|
|
123
123
|
}
|
|
124
124
|
.main del {
|
|
@@ -177,6 +177,7 @@
|
|
|
177
177
|
width: 1em;
|
|
178
178
|
height: 1em;
|
|
179
179
|
vertical-align: middle;
|
|
180
|
+
color: hsl(var(--hsdc-muted-foreground));
|
|
180
181
|
}
|
|
181
182
|
.main :global .heading:hover .heading-link-icon {
|
|
182
183
|
display: inline-block;
|
|
@@ -474,3 +475,14 @@
|
|
|
474
475
|
margin-right: auto;
|
|
475
476
|
margin-left: auto;
|
|
476
477
|
}
|
|
478
|
+
.main :global .gist-block {
|
|
479
|
+
margin: 1.5rem 0;
|
|
480
|
+
}
|
|
481
|
+
.main :global .gist-block .gist-file {
|
|
482
|
+
border-radius: 0.25rem;
|
|
483
|
+
overflow: hidden;
|
|
484
|
+
border: 1px solid hsl(var(--hsdc-border));
|
|
485
|
+
}
|
|
486
|
+
.main :global .gist-block .gist-file:last-child {
|
|
487
|
+
margin-bottom: 0;
|
|
488
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hackersheet/react-document-content-styles",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.9",
|
|
4
4
|
"description": "Hacker Sheet document content styles.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"repository": {
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"import": "./dist/basic.module.css",
|
|
19
19
|
"require": "./dist/basic.module.css",
|
|
20
20
|
"types": "./dist/basic.module.scss.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./gist-theme": {
|
|
23
|
+
"import": "./dist/gist-theme.css",
|
|
24
|
+
"require": "./dist/gist-theme.css"
|
|
21
25
|
}
|
|
22
26
|
},
|
|
23
27
|
"main": "",
|