mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 09:37:43 +02:00
chore(v2): fixes website styles (#3769)
This commit is contained in:
parent
de87eb5ca0
commit
5872bbc735
2 changed files with 7 additions and 3 deletions
|
@ -21,14 +21,14 @@ html[data-theme='dark'] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.docusaurus-highlight-code-line {
|
.docusaurus-highlight-code-line {
|
||||||
background-color: rgb(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
||||||
padding: 0 var(--ifm-pre-padding);
|
padding: 0 var(--ifm-pre-padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
html[data-theme='dark'] .docusaurus-highlight-code-line {
|
html[data-theme='dark'] .docusaurus-highlight-code-line {
|
||||||
background-color: rgb(0, 0, 0, 0.3);
|
background-color: rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-github-link:hover {
|
.header-github-link:hover {
|
||||||
|
@ -49,6 +49,10 @@ html[data-theme='dark'] .header-github-link:before {
|
||||||
no-repeat;
|
no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.footer--dark {
|
||||||
|
--ifm-footer-background-color: #2b3137;
|
||||||
|
}
|
||||||
|
|
||||||
.unique-tabs .tabs__item {
|
.unique-tabs .tabs__item {
|
||||||
height: 18px;
|
height: 18px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.sectionAlt {
|
.sectionAlt {
|
||||||
background-color: var(--ifm-color-emphasis-inverse-alpha-30);
|
background-color: var(--ifm-color-emphasis-100);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sectionInner {
|
.sectionInner {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue