fix padding
This commit is contained in:
parent
b2a7beb0a2
commit
36449d4446
Binary file not shown.
Before Width: | Height: | Size: 210 KiB After Width: | Height: | Size: 243 KiB |
|
@ -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 += "</style>";
|
||||
|
||||
|
|
Loading…
Reference in a new issue