mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-17 11:07:07 +02:00
parent
e95c3a87b7
commit
c85228b830
14 changed files with 100 additions and 90 deletions
20
css/main.css
20
css/main.css
|
@ -82,13 +82,19 @@ a.anchor {
|
|||
}
|
||||
|
||||
a.hash-link {
|
||||
float: left;
|
||||
padding-right: 4px;
|
||||
margin-top: 4px;
|
||||
margin-left: -20px;
|
||||
line-height: 1.2;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
h1:hover a.hash-link,
|
||||
h2:hover a.hash-link,
|
||||
h3:hover a.hash-link,
|
||||
h4:hover a.hash-link {
|
||||
|
||||
h1:hover .hash-link,
|
||||
h2:hover .hash-link,
|
||||
h3:hover .hash-link,
|
||||
h4:hover .hash-link {
|
||||
opacity: 0.5;
|
||||
transition: none;
|
||||
}
|
||||
|
@ -158,7 +164,7 @@ header h2 {
|
|||
.wrapper {
|
||||
margin: 0px auto;
|
||||
max-width: 1024px;
|
||||
padding: 0 10px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.projectLogo {
|
||||
|
@ -1262,6 +1268,10 @@ nav.toc:last-child {
|
|||
nav.toc:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
a.anchor {
|
||||
top: -144px;
|
||||
}
|
||||
}
|
||||
.docsNavContainer nav.toc .navWrapper {
|
||||
padding: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue