Compare commits
No commits in common. "e4a2d0b68cc626914f3dda504ac1a7a70953e876" and "e545015e6d2246c480577727441467b5ffd8263e" have entirely different histories.
e4a2d0b68c
...
e545015e6d
3 changed files with 5 additions and 46 deletions
|
@ -1,7 +0,0 @@
|
||||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
|
||||||
<a class="anchor" href="#{{ .Anchor | safeURL }}">
|
|
||||||
#
|
|
||||||
<!-- {{ strings.Repeat .Level "#" }} -->
|
|
||||||
</a>
|
|
||||||
{{ .Text | safeHTML }}
|
|
||||||
</h{{ .Level }}>
|
|
|
@ -1,3 +0,0 @@
|
||||||
<div class="toc">
|
|
||||||
{{ .Page.TableOfContents }}
|
|
||||||
</div>
|
|
|
@ -40,24 +40,24 @@ p, ul, ol {
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************* Links *******************/
|
/******************* Links *******************/
|
||||||
a:not(.anchor) {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--font-color);
|
color: var(--font-color);
|
||||||
border-bottom: 1px dotted;
|
border-bottom: 1px dotted;
|
||||||
transition: box-shadow 0.2s ease, outline-offset 0.2s ease, transform 0.2s ease, background 0.4s ease;
|
transition: box-shadow 0.2s ease, outline-offset 0.2s ease, transform 0.2s ease, background 0.4s ease;
|
||||||
}
|
}
|
||||||
a:not(.anchor):visited {
|
a:visited {
|
||||||
color: var(--font-color);
|
color: var(--font-color);
|
||||||
}
|
}
|
||||||
a:not(.anchor):hover {
|
a:hover {
|
||||||
outline: 1px solid;
|
outline: 1px solid;
|
||||||
outline-offset: .3em;
|
outline-offset: .3em;
|
||||||
border-bottom: 1px dashed;
|
border-bottom: 1px dashed;
|
||||||
}
|
}
|
||||||
a:not(.anchor):active {
|
a:active {
|
||||||
border-bottom: 1px solid;
|
border-bottom: 1px solid;
|
||||||
}
|
}
|
||||||
a.not(.anchor):focus {
|
a:focus {
|
||||||
outline-offset: .3em;
|
outline-offset: .3em;
|
||||||
outline: 1px solid;
|
outline: 1px solid;
|
||||||
}
|
}
|
||||||
|
@ -398,7 +398,6 @@ a.not(.anchor):focus {
|
||||||
/******************* Article Body *******************/
|
/******************* Article Body *******************/
|
||||||
.article-body {
|
.article-body {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
.article-body img {
|
.article-body img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -454,36 +453,6 @@ a.not(.anchor):focus {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.anchor {
|
|
||||||
content: '#';
|
|
||||||
position: absolute;
|
|
||||||
opacity: 0%;
|
|
||||||
left: -1em;
|
|
||||||
width: 80%;
|
|
||||||
max-width: 600px;
|
|
||||||
border: none;
|
|
||||||
color: var(--font-color-em);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
@media only screen and (max-width: 500px) {
|
|
||||||
.anchor {
|
|
||||||
left: -0.8em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.anchor:hover {
|
|
||||||
opacity: 100%;
|
|
||||||
outline: none;
|
|
||||||
border: none;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width: 320px) {
|
|
||||||
.anchor:hover {
|
|
||||||
opacity: 0%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/******************* Article Footer *******************/
|
/******************* Article Footer *******************/
|
||||||
.article-footer {
|
.article-footer {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
Loading…
Reference in a new issue