This commit is contained in:
Jacky Zhao 2023-08-23 15:16:04 -07:00
parent 2c38375975
commit ce8f150883
3 changed files with 9 additions and 3 deletions

View File

@ -43,7 +43,9 @@
visibility: hidden; visibility: hidden;
opacity: 0; opacity: 0;
transition: opacity 0.3s ease, visibility 0.3s ease; transition:
opacity 0.3s ease,
visibility 0.3s ease;
@media all and (max-width: $mobileBreakpoint) { @media all and (max-width: $mobileBreakpoint) {
display: none !important; display: none !important;

View File

@ -67,7 +67,9 @@
width: 100%; width: 100%;
border-radius: 5px; border-radius: 5px;
background: var(--light); background: var(--light);
box-shadow: 0 14px 50px rgba(27, 33, 48, 0.12), 0 10px 30px rgba(27, 33, 48, 0.16); box-shadow:
0 14px 50px rgba(27, 33, 48, 0.12),
0 10px 30px rgba(27, 33, 48, 0.16);
margin-bottom: 2em; margin-bottom: 2em;
} }

View File

@ -42,7 +42,9 @@ button#toc {
& > li > a { & > li > a {
color: var(--dark); color: var(--dark);
opacity: 0.35; opacity: 0.35;
transition: 0.5s ease opacity, 0.3s ease color; transition:
0.5s ease opacity,
0.3s ease color;
&.in-view { &.in-view {
opacity: 0.75; opacity: 0.75;
} }