#48 : Update style names
This commit is contained in:
@@ -239,7 +239,7 @@
|
|||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|
||||||
## Use case!anchorId:features-use-cases;
|
## Use cases!anchorId:features-use-cases;
|
||||||
<AlbumsPreview />
|
<AlbumsPreview />
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<svelte:component this={titleComponent} id={anchorId} class="title">
|
<svelte:component this={titleComponent} id={anchorId} class="docs__title">
|
||||||
<a class="anchor" href={`#${anchorId}`}>
|
<a class="docs__anchor" href={`#${anchorId}`}>
|
||||||
{title}
|
{title}
|
||||||
{#if !title}
|
{#if !title}
|
||||||
<span bind:this={titleEl}><slot /></span>
|
<span bind:this={titleEl}><slot /></span>
|
||||||
@@ -26,19 +26,19 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:global(.title) {
|
:global(.docs__title) {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
:global(.title:hover .anchor::before) {
|
:global(.docs__title:hover .docs__anchor::before) {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
.anchor {
|
.docs__anchor {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
.anchor::before {
|
.docs__anchor::before {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
content: "\1F517";
|
content: "\1F517";
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
</H>
|
</H>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:global(h1.title) {
|
:global(h1.docs__title) {
|
||||||
margin: 16px 0;
|
margin: 16px 0;
|
||||||
}
|
}
|
||||||
:global(h1.title .anchor::before) {
|
:global(h1.docs__title .docs__anchor::before) {
|
||||||
top: 15px;
|
top: 15px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
</H>
|
</H>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:global(h2.title) {
|
:global(h2.docs__title) {
|
||||||
margin: 14px 0;
|
margin: 14px 0;
|
||||||
}
|
}
|
||||||
:global(h2.title .anchor::before) {
|
:global(h2.docs__title .docs__anchor::before) {
|
||||||
top: 8px;
|
top: 8px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
1
src/docs/README.md
Normal file
1
src/docs/README.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Source code for demo site
|
||||||
Reference in New Issue
Block a user