toc switch visibility fix
This commit is contained in:
parent
5c7be1ca7a
commit
06c5c78c51
|
@ -1,15 +1,10 @@
|
||||||
.switch {
|
.switch {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
// display: inline-block;
|
||||||
width: 28px;
|
width: 28px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
margin-top: 0.7rem;
|
margin-top: 0.7rem;
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
|
|
||||||
@include animation('slide-in-down-little .2s .3s 1 ease-in backwards');
|
|
||||||
@media only screen and (max-width: 1300px) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.switch input {
|
.switch input {
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
top: 4.2rem;
|
top: 4.2rem;
|
||||||
left: 1rem;
|
left: 1rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
|
@include animation('slide-in-down-little .2s .3s 1 ease-in backwards');
|
||||||
|
@media only screen and (max-width: 1300px) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue