Hide example translation
Limit maximum learn display value
jpdb general by EfilLaer
Details
AuthorEfilLaer
LicenseNo License
Categoryjpdb.io
Created
Updated
Size1.4 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name jpdb general
@version 20230520.15.30
@namespace userstyles.world/user/EfilLaer
@description Hide example translation
Limit maximum learn display value
@author EfilLaer
@license No License
==/UserStyle== */
@-moz-document domain("jpdb.io") {
/*Hiding example translations*/
div.subsection-examples div.en {
color: black;
background-color: currentColor;
}
div.subsection-examples div.en:hover {
background-color: unset;
}
div.subsection-examples div.jp rt {
display: none;
}
div.subsection-examples div.jp:hover rt {
display: block;
}
ruby.v {
user-select: all;
}
rt {
user-select: none;
}
svg.kanji:hover > :not(.ch) {
visibility: hidden;
}
}
@-moz-document domain("jpdb.io") {
/*Hide Learn(#) until tampermonkey can update it*/
a.nav-item > span {
visibility: hidden;
}
}
@-moz-document domain("jpdb.io") {
/*No home page due count*/
p > span.strong:first-of-type:not(last-of-type) {
position: relative;
display: inline-block;
width: .5em;
left: 2em;
visibility: hidden;
&::before {
position: absolute;
visibility: visible;
right: 2em;
color: black;
content: '?';
}
}
p:hover > span.strong:first-of-type:not(last-of-type) {
position: unset;
display: unset;
left: unset;
visibility: unset;
&::before {
display: none;
}
}
}