Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :root {
- --background-color: #DEE4E7;
- --text-color: #000000;
- --tag-frequency-background-color: #8181C1;
- --tag-part-of-speech-background-color: #8181C1;
- --tag-text-color: #FFFFFF;
- --reason-text-color: #808080;
- --notification-text-color: #000000;
- --notification-background-color: #E5E9F0;
- --sidebar-background-color: #CFD9DC;
- --sidebar-button-background-color-hover: #9283C1;
- --sidebar-button-danger-background-color-hover: #BF616A;
- --sidebar-button-icon-color: #A89BD0;
- --accent-color: #8181C1;
- --dict-color: #9057AD;
- --dict-text-color: #FFFFFF;
- }
- :root[data-theme="dark"] {
- --background-color: #2E303E;
- --text-color: #FFFFFF;
- --tag-frequency-background-color: #67679A;
- --tag-part-of-speech-background-color: #67679A;
- --reason-text-color: #808080;
- --notification-text-color: #FFFFFF;
- --notification-background-color: #3B4252;
- --sidebar-background-color: #262733;
- --sidebar-button-background-color-hover: #644EA7;
- --sidebar-button-danger-background-color-hover: #BF616A;
- --sidebar-button-icon-color: #A89BD0;
- --accent-color: #67679A;
- --dict-color: #9057AD;
- --dict-text-color: #FFFFFF;
- }
- .definition-tag-list {
- line-height: 1;
- height: 1em;
- }
- .definition-list {
- padding: 0;
- }
- .definition-item {
- display: inline-block;
- margin-bottom: 10px;
- border-bottom: 1px solid;
- margin: 0 calc(0px - var(--entry-horizontal-padding));
- width: 100%;
- padding: 10px calc(var(--entry-horizontal-padding)) 10px calc(var(--entry-horizontal-padding));
- padding-top: 0.5px !important;
- }
- span.headword-term {
- font-family: "UD Digi Kyokasho N-R";
- }
- span.query-parser-term {
- font-family: "UD Digi Kyokasho N-R";
- }
- .gloss-content {
- font-family: "kaikoku PM M9N Medium";
- line-height: 1.3;
- font-size: 16px;
- }
- .tag-label-content {
- font-family: "DF教科書体W4";
- font-size: 11px;
- }
- .tag {
- --tag-height: 0;
- }
- .tag[data-details*="Jitendex.org"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .definition-item-content:has(.tag[data-details*="Jitendex.org"]) .gloss-sc-span {
- display: inline-block !important;
- padding: 0.1px 5px 3px 5px !important;
- }
- .definition-item-content:has(.tag[data-details*="Jitendex.org"]) .gloss-content {
- line-height: 1.1 !important;
- }
- /* Firefox */
- .definition-item-content .tag[data-details*="Jitendex.org"] + .gloss-sc-span {
- display: inline-block !important;
- padding: 0.1px 5px 3px 5px !important;
- }
- .definition-item-content .tag[data-details*="Jitendex.org"] + .gloss-content {
- line-height: 1.1 !important;
- }
- /* Firefox */
- .tag[data-details*="JMdict (English)"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- display: none;
- }
- .tag[data-details*="旺文社国語辞典"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .tag[data-details*="三省堂国語辞典"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .tag[data-details*="実用日本語表現辞典"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .tag[data-details*="新明解国語辞典"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .tag[data-details*="明鏡国語辞典"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .tag[data-details*="JMdict Forms"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- display: none;
- }
- .tag[data-details*="アクセント辞典"] {
- --tag-color: var(--accent-color);
- --tag-text-color: var(--dict-text-color);
- }
- .tag[data-details*="JPDB Kanji"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .tag[data-details*="KANJIDIC (English)"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .tag[data-details*="TheKanjiMap Kanji Radicals/Composition"] {
- --tag-color: var(--dict-color);
- --tag-text-color: var(--dict-text-color);
- }
- .top-progress-bar-container {
- display: none !important;
- }
- .kanji-glyph-data > tbody > tr:nth-child(n + 3) {
- display: none;
- }
- div.entry[data-type='kanji']:nth-child(n + 2) .kanji-glyph-container,
- div.entry[data-type='kanji']:nth-child(n + 2) [data-section-type='frequencies'],
- div.entry[data-type='kanji']:nth-child(n + 2) table.kanji-glyph-data > tbody > tr:first-child {
- display: none;
- }
- .kanji-info-table-item-value-empty {
- display: none;
- }
- .kanji-glyph-data,
- div.entry[data-type='kanji'],
- div.entry[data-type='kanji']:nth-child(n + 2) .kanji-glyph-data > tbody > tr > *,
- .kanji-glyph-data dl.kanji-readings-japanese,
- div.entry[data-type='kanji']:nth-child(n + 2)
- .kanji-glyph-data
- dl.kanji-readings-chinese[data-count='0'] {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- margin-bottom: 0em;
- margin-top: 0 !important;
- }
- .entry + .entry[data-type='kanji'],
- div#dictionary-entries > div.entry:nth-child(n + 2) .kanji-glyph-data > tbody > tr > * {
- border-top: none !important;
- }
- .kanji-gloss-list {
- list-style-type: circle;
- }
- #content-scroll::-webkit-scrollbar {
- width: 0; /* Hides the scrollbar */
- height: 0;
- }
- #content-scroll {
- scrollbar-width: none; /* Firefox */
- }
Add Comment
Please, Sign In to add comment