Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 86200b1

Browse files
committed
Change bullets for browser messages & website lists
This character is working on Chrome Windows !
1 parent 0ac3104 commit 86200b1

File tree

3 files changed

+69
-56
lines changed

3 files changed

+69
-56
lines changed

docs/src/index.css

Lines changed: 67 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@charset "UTF-8";
2+
13
/* base */
24
@import "normalize.css/normalize.css";
35
@import "cssrecipes-defaults";
@@ -114,6 +116,67 @@ h6 {
114116
/*@media (--r-minM) { .r-Grid { width: 70rem } }*/
115117
/*@media (--r-minXL) { .r-Grid { width: 70rem } }*/
116118

119+
/**
120+
* mardown plugins
121+
*/
122+
.markdownIt-Anchor {
123+
opacity: .4;
124+
}
125+
126+
@media (--r-minL) {
127+
.markdownIt-Anchor {
128+
margin-left: -1.5rem;
129+
}
130+
}
131+
132+
.markdownIt-Anchor:hover {
133+
opacity: .8;
134+
}
135+
136+
.markdownIt-TOC {
137+
list-style: none;
138+
padding: .8rem 1rem;
139+
140+
font-size: var(--r-small-fontSize);
141+
142+
border: 1px solid color(#000 a(.2));
143+
border-radius: 3px;
144+
opacity: .7;
145+
146+
transition: .2s;
147+
}
148+
149+
.markdownIt-TOC:hover {
150+
opacity: .85;
151+
}
152+
153+
.markdownIt-TOC li::before {
154+
content: "› ";
155+
padding-right: .4rem;
156+
opacity: .6;
157+
font-size: var(--r-small-fontSize);
158+
}
159+
160+
.markdownIt-TOC ul {
161+
list-style: none;
162+
margin: 0;
163+
padding: 0 1rem;
164+
}
165+
166+
@media (--r-minM) {
167+
/* use sticky when it's on the right */
168+
.js-markdownIt-TOCPlaceholder {
169+
position: sticky;
170+
top: 3rem;
171+
}
172+
173+
.js-markdownIt-TOCPlaceholder .markdownIt-TOC {
174+
margin: 2rem 0 2rem 1rem;
175+
/* cheat a little about t he layout */
176+
width: 120%;
177+
}
178+
}
179+
117180

118181
/**
119182
* cssnext stuff
@@ -148,8 +211,6 @@ h6 {
148211
.cssnext-Body {padding-top: var(--cssnext-Header-height)}
149212
}
150213

151-
152-
153214
.cssnext-Center { text-align: center }
154215

155216
.cssnext-Light {
@@ -261,6 +322,7 @@ h6 {
261322
}
262323

263324
.cssnext-FeaturesList {
325+
264326
}
265327
@media (--r-maxS) {
266328
.cssnext-FeaturesList {
@@ -269,14 +331,14 @@ h6 {
269331
}
270332

271333
.cssnext-FeaturesList li::before {
272-
content: " ";
334+
content: " ";
273335
padding-right: .4rem;
274-
opacity: .4;
336+
opacity: .6;
275337
font-size: var(--r-small-fontSize);
276338
}
277339

278340
.cssnext-FeaturesList-small {
279-
opacity: .4;
341+
opacity: .6;
280342
font-size: var(--r-small-fontSize);
281343
}
282344

@@ -368,52 +430,3 @@ pre {
368430
.hljs-function {
369431
color: var(--cssnext-Color-purple);
370432
}
371-
372-
.markdownIt-Anchor {
373-
opacity: .4;
374-
}
375-
376-
@media (--r-minL) {
377-
.markdownIt-Anchor {
378-
margin-left: -1.5rem;
379-
}
380-
}
381-
382-
.markdownIt-Anchor:hover {
383-
opacity: .8;
384-
}
385-
386-
.markdownIt-TOC {
387-
padding: 1rem 1rem 1rem 2rem;
388-
389-
font-size: var(--r-small-fontSize);
390-
391-
list-style-type: "⟩ ";
392-
393-
border: 1px solid color(#000 a(.2));
394-
border-radius: 3px;
395-
opacity: .6;
396-
}
397-
398-
.markdownIt-TOC:hover {
399-
opacity: .8;
400-
}
401-
402-
.markdownIt-TOC ul {
403-
margin: 0;
404-
padding: 0 1rem;
405-
}
406-
407-
@media (--r-minM) {
408-
/* use sticky when it's on the right */
409-
.js-markdownIt-TOCPlaceholder {
410-
position: sticky;
411-
top: 3rem;
412-
}
413-
414-
.js-markdownIt-TOCPlaceholder .markdownIt-TOC {
415-
margin: 2rem 0 2rem 1rem;
416-
/* cheat a little about t he layout */
417-
width: 120%;
418-
}
419-
}

docs/src/modules/playground/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import cssnext from "../../../../src/index"
22
import {version as cssnextVersion} from "../../../../package"
33
import messagesStyles from "../../../../src/option.messages.browser.styles"
44

5-
const bullet = ""
5+
const bullet = ""
66

77
import colors from "chalk"
88

src/plugins/messages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default postcss.plugin(
8787
})
8888
})
8989

90-
const bullet = ""
90+
const bullet = ""
9191
const content = messages.map(message => message.toString())
9292
.join(`\n\n\n${ bullet } `)
9393

0 commit comments

Comments
 (0)