54f1edfb13a587ccccba30254a52b75d7387d4ad
Marco Ricci Import initial project files

Marco Ricci authored 7 months ago

1) /* Indentation. */
2) div.doc-contents:not(.first) {
3)   padding-left: 25px;
4)   border-left: .05rem solid var(--md-typeset-table-color);
5) }
6) 
7) /* Mark external links as such. */
Marco Ricci Unmark icon- and badge-type...

Marco Ricci authored 3 weeks ago

8) div[data-md-component="content"] a:not(.md-icon):is([href^="https://"], [href^="http://"], [href^="//"])::after,
Marco Ricci Import initial project files

Marco Ricci authored 7 months ago

9) a.external::after,
10) a.autorefs-external::after {
11)   /* https://primer.style/octicons/arrow-up-right-24 */
12)   mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>');
13)   -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>');
14)   content: ' ';
15) 
16)   display: inline-block;
17)   vertical-align: middle;
18)   position: relative;
19) 
20)   height: 1em;
21)   width: 1em;
22)   background-color: currentColor;
23) }
24) 
Marco Ricci Unmark icon- and badge-type...

Marco Ricci authored 3 weeks ago

25) /* ... but don't mark badges as external */
26) div[data-md-component="content"] a:not(.md-icon):is([href^="https://"], [href^="http://"], [href^="//"]):has(img[src^="https://img.shields.io/"], img[src="Keep_a_changelog-E05735.svg"], img[src="SemVer-3F4551.svg"])::after {
27)     content: '';
28)     width: 0em;
29)     height: 0em;
30) }
31) 
Marco Ricci Import initial project files

Marco Ricci authored 7 months ago

32) a.external:hover::after,
33) a.autorefs-external:hover::after {
34)   background-color: var(--md-accent-fg-color);