Pop-up dictionary browser extension for language learning. Successor to Yomichan. (PERSONAL FORK)
1/*
2 * Copyright (C) 2023-2025 Yomitan Authors
3 * Copyright (C) 2021-2022 Yomichan Authors
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the entrys of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
19.gloss-image-container {
20 font-size: 1px;
21}
22.gloss-image-link[data-background=true]>.gloss-image-container {
23 /* remove-property background-color */
24}
25.gloss-image-link {
26 color: inherit;
27}
28.gloss-image-link:hover {
29 /* remove-rule */
30}
31.gloss-sc-thead,
32.gloss-sc-tfoot,
33.gloss-sc-th {
34 /* remove-property background-color */
35}
36.gloss-sc-th,
37.gloss-sc-td {
38 border-width: 1px;
39 border-color: currentColor;
40}
41.gloss-link-text {
42 /* remove-rule */
43}
44.gloss-link-external-icon {
45 display: none;
46 /* remove-property background-color vertical-align width height margin-left background-color position */
47}
48.gloss-sc-ol,
49.gloss-sc-ul {
50 /* remove-property padding-left */
51}
52:root[data-glossary-layout-mode^=compact] .gloss-sc-ul[data-sc-content=glossary] {
53 /* remove-rule */
54}
55:root[data-glossary-layout-mode^=compact] .gloss-sc-ul[data-sc-content=glossary] .gloss-sc-li {
56 /* remove-rule */
57}
58:root[data-glossary-layout-mode^=compact] .gloss-sc-ul[data-sc-content=glossary] .gloss-sc-li:not(:first-child)::before {
59 /* remove-rule */
60}
61.gloss-sc-details {
62 /* remove-rule */
63}
64.gloss-sc-summary {
65 /* remove-rule */
66}
67.gloss-image-background {
68 background-color: currentColor;
69 /* remove-property display */
70}
71.gloss-image-link:not([data-appearance=monochrome]) .gloss-image-background {
72 display: none;
73}
74.gloss-image-link[data-appearance=monochrome] .gloss-image {
75 opacity: 0;
76}