diff --git a/misc/2024-05-31_18-29.png b/misc/2024-05-31_18-29.png index 13343b6..f13abf2 100644 Binary files a/misc/2024-05-31_18-29.png and b/misc/2024-05-31_18-29.png differ diff --git a/src/hakurei.cpp b/src/hakurei.cpp index ebe13e8..2b0df59 100644 --- a/src/hakurei.cpp +++ b/src/hakurei.cpp @@ -204,10 +204,10 @@ inline void wrap_html_output( output_html += ".hakurei a { display: inline-block; font-weight: normal; color: royalblue; text-decoration: none; border-bottom: dashed max(1px, calc(1em / 16)) currentColor; }"; output_html += ".hakurei a.hakurei-headword { background-color: #ddeeff; border-radius: 0.2rem; font-weight: 500; }"; output_html += ".hakurei > ul { --size: 1rem; font-size: var(--size); padding-inline-start: var(--size); margin-block: 2px; }"; - output_html += ".hakurei .alternatives { --size: 1rem; display: grid; font-size: var(--size); gap: calc( var(--size) / 4); max-width: 100%; margin: 0 auto; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-content: start; justify-content: space-around; text-align: left; padding: 5px 0px; }"; + output_html += ".hakurei .alternatives { --size: 1rem; display: grid; font-size: var(--size); gap: calc( var(--size) / 10); max-width: 100%; margin: 0 auto; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); align-content: start; justify-content: space-around; text-align: left; padding: 5px 0px; }"; output_html += ".hakurei .alternatives > ul { list-style-type: none; margin: 0; padding: calc( var(--size) / 4); background-color: hsl(0 0% 50% / 0.05); box-shadow: 0 0 4px hsl(0 0% 0% / 0.1); border-radius: 0.2rem; }"; output_html += ".hakurei .alternatives > ul > li { margin-right: 1rem; }"; - output_html += ".container { display: flex; flex-wrap: wrap; gap: 10px; }"; + output_html += ".container { display: flex; flex-wrap: wrap; gap: 1px; }"; output_html += ".segment { display: inline-block; }"; output_html += "";