xP: produce a custom font for IRC formatting
Given that the generated file needs a manual adjustment, its small size, and the dependencies involved, it will be checked in to the repository.
This commit is contained in:
BIN
xP/public/ircfmt.woff2
Normal file
BIN
xP/public/ircfmt.woff2
Normal file
Binary file not shown.
@@ -1,7 +1,14 @@
|
||||
@font-face {
|
||||
src: url('ircfmt.woff2') format('woff2');
|
||||
font-family: 'IRC Formatting';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: sans-serif;
|
||||
/* Firefox only renders C0 within the textarea, why? */
|
||||
font-family: 'IRC Formatting', sans-serif;
|
||||
font-size: clamp(0.5rem, 2vw, 1rem);
|
||||
}
|
||||
.xP {
|
||||
@@ -133,7 +140,7 @@ button:hover:active {
|
||||
font-family: monospace;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.log, .content {
|
||||
.log, .content, .completions {
|
||||
/* Note: https://bugs.chromium.org/p/chromium/issues/detail?id=1261435 */
|
||||
white-space: break-spaces;
|
||||
overflow-wrap: break-word;
|
||||
|
||||
Reference in New Issue
Block a user