Skip to content

Instantly share code, notes, and snippets.

@HuangXiZhou
Created February 8, 2019 05:13
Show Gist options
  • Save HuangXiZhou/4549afdc5a294bec198067d5cd24c849 to your computer and use it in GitHub Desktop.
Save HuangXiZhou/4549afdc5a294bec198067d5cd24c849 to your computer and use it in GitHub Desktop.
former doc style
.vuepress-plugin-demo-block__wrapper .vuepress-plugin-demo-block__footer:hover .vuepress-plugin-demo-block__expand::before,
.vuepress-plugin-demo-block__wrapper .vuepress-plugin-demo-block__footer:focus .vuepress-plugin-demo-block__expand::before,
.vuepress-plugin-demo-block__wrapper .vuepress-plugin-demo-block__footer:visited .vuepress-plugin-demo-block__expand::before {
border-top-color: #2B66C4 !important;
border-bottom-color: #2B66C4 !important;
}
.vuepress-plugin-demo-block__wrapper .vuepress-plugin-demo-block__footer .vuepress-plugin-demo-block__expand::before,
.vuepress-plugin-demo-block__wrapper .vuepress-plugin-demo-block__footer svg {
transition: all .2s ease;
}
.vuepress-plugin-demo-block__wrapper .vuepress-plugin-demo-block__footer:hover svg {
fill: #2B66C4 !important;
}
.vuepress-plugin-demo-block__wrapper .vuepress-plugin-demo-block__display {
max-height: none !important;
}
@media (max-width: 414px) {
.vuepress-plugin-demo-block__code div[class*="language-"]::before {
top: -0.4em !important;
right: 1.25em !important;
}
.vuepress-plugin-demo-block__wrapper .vuepress-plugin-demo-block__code {
padding: 0 20px !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment