tokenizer-arena / css /style.css
xu-song's picture
update
7c73423
/* hidde legend of HighlightText, has been integrated in gradio.4.32.0 with `show_inline_category`
.category-legend {
display: none !important;
}
*/
/* show space in HighlightText:https://blog.csdn.net/liuxiao723846/article/details/118994673
TODO: integrate in gradio with `show_single_whitespace=True` or `strip_token=False`
*/
.space-show {
white-space: pre-wrap;
}
.cell-wrap {
white-space: pre-wrap;
}
/* white button */
.button-as-text {
background: #fff;
border-color: #fff;
}
.textbox-as-text {
border-style: hidden;
background: #fff;
border-color: #fff;
}
.h2-font {
font-size: 30px;
}
.no-border {
border: 0px none;
}
.statistics {
min-width: min(50px, 100%) !important;
}
.statistics textarea {
min-width: min(50px, 100%) !important;
font-size: 20px !important;
font-weight: 600 !important;
text-align: center !important;
border: none !important;
}
.statistics label {
text-align: center !important;
}
/* align-self: flex-end; */
.example-style {
max-width: 150px;
align-self: self-end;
}