Skip to content

Instantly share code, notes, and snippets.

@popeyelau
Created June 13, 2020 09:22
Show Gist options
  • Save popeyelau/a8d26dbb6b795c64b2c543c8a833226e to your computer and use it in GitHub Desktop.
Save popeyelau/a8d26dbb6b795c64b2c543c8a833226e to your computer and use it in GitHub Desktop.
https://saladict.crimx.com/ 沙拉查词自定义样式
.dictPanel-Root {
--color-brand: #10A793 !important;
--color-background: white !important;
--color-font: black !important;
--color-divider: #4d4748 !important;
border-radius: 0px !important;
height: auto !important;
max-height: 400px !important;
}
.dictPanel-Head {
display: none !important;
}
.mtaBox-DrawerBtn {
display: none !important;
}
.dictItemHead {
display: none !important;
}
.entryBox {
border: none !important;
padding: 0 !important;
}
.entryBox-Wrap {
padding-top: 0 !important;
}
.entryBox-Title {
display: none !important;
}
.dictItem-FoldMask {
opacity: 1 !important;
}
.dictYoudao-Translation>p:not(:first-child) {
color: #f9690e !important;
}
.dictItem-FoldMask:after {
content: "";
position: absolute;
z-index: 1;
bottom: 0;
left: 0;
pointer-events: none;
background-image: linear-gradient(to bottom,
rgba(255,255,255, 0),
rgba(255,255,255, 1) 90%);
width: 100%;
height: 12em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment