2023-09-30
This commit is contained in:
parent
853a6d51b9
commit
c528dc813b
3 changed files with 15 additions and 5 deletions
|
@ -8,6 +8,7 @@
|
|||
│ │ ├─ <a href='jekyll_theme/_includes/collapsed_block.html'>collapsed_block.html</a>
|
||||
│ │ ├─ <a href='jekyll_theme/_includes/counters_body.html'>counters_body.html</a>
|
||||
│ │ ├─ <a href='jekyll_theme/_includes/counters_head.html'>counters_head.html</a>
|
||||
│ │ ├─ <a href='jekyll_theme/_includes/heading.html'>heading.html</a>
|
||||
│ │ ├─ <a href='jekyll_theme/_includes/image_svg.html'>image_svg.html</a>
|
||||
│ │ ├─ <a href='jekyll_theme/_includes/main_page.html'>main_page.html</a>
|
||||
│ │ ├─ <a href='jekyll_theme/_includes/page_footer.html'>page_footer.html</a>
|
||||
|
|
5
jekyll_theme/_includes/heading.html
Normal file
5
jekyll_theme/_includes/heading.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{%- if include.type == "3" %}
|
||||
<h3 id="{{- include.hash -}}">{{- include.text -}}<a href="#{{- include.hash -}}"> #</a></h3>
|
||||
{%- else %}
|
||||
<h2 id="{{- include.hash -}}">{{- include.text -}}<a href="#{{- include.hash -}}"> #</a></h2>
|
||||
{%- endif %}
|
|
@ -18,19 +18,23 @@ a {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
p a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
h2 a, h3 a {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h2:hover a, h3:hover a {
|
||||
display: unset;
|
||||
}
|
||||
|
||||
.toolbar b {
|
||||
font-size: 22px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.container a {
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1012px;
|
||||
margin-right: auto;
|
||||
|
|
Loading…
Add table
Reference in a new issue