Thomas-PEYROT/japanese-webtranslate / content / styles.css
/* Japanese Web Translate — styles des furigana et du tooltip */
ruby.jwt-ruby rt {
font-size: 0.55em;
color: #666;
user-select: none;
}
ruby.jwt-ruby:hover {
background: rgba(74, 144, 217, 0.12);
border-radius: 2px;
}
#jwt-tooltip {
position: absolute;
z-index: 2147483647;
max-width: 320px;
padding: 8px 10px;
background: #1f2430;
color: #f0f0f0;
border-radius: 6px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
font-family: system-ui, sans-serif;
font-size: 13px;
line-height: 1.45;
cursor: default;
}
#jwt-tooltip .jwt-tooltip-header {
margin-bottom: 4px;
}
#jwt-tooltip .jwt-tooltip-word {
font-size: 16px;
font-weight: 600;
}
#jwt-tooltip .jwt-tooltip-reading {
color: #8fb8e8;
font-size: 13px;
margin-left: 6px;
}
#jwt-tooltip .jwt-tooltip-glosses {
margin: 0;
padding-left: 18px;
}
#jwt-tooltip .jwt-tooltip-glosses li {
margin: 1px 0;
}