[Update] 修改terminal字体

pull/3370/head
ibuler 2019-10-22 19:30:53 +08:00
parent b3502a9291
commit 6b8b0f4a0b
1 changed files with 26 additions and 26 deletions

View File

@ -8,35 +8,35 @@
<link rel="stylesheet" href="{% static 'js/plugins/xterm/xterm.css' %}" /> <link rel="stylesheet" href="{% static 'js/plugins/xterm/xterm.css' %}" />
<link rel="shortcut icon" href="{{ FAVICON_URL }}" type="image/x-icon"> <link rel="shortcut icon" href="{{ FAVICON_URL }}" type="image/x-icon">
<style> <style>
{#body {#} body {
{# background-color: black;#} background-color: black;
{#}#} }
{#.xterm-rows {#} .xterm-rows {
{# font-family: "Bitstream Vera Sans Mono", Monaco, "Consolas", Courier, monospace;#} font-family: "Bitstream Vera Sans Mono", Monaco, "Consolas", Courier, monospace;
{# font-size: 13px;#} font-size: 13px;
{#}#} }
{#.terminal .xterm-viewport {#} .terminal .xterm-viewport {
{# background-color: #1f1b1b;#} background-color: #1f1b1b;
{# overflow: auto;#} overflow: auto;
{#}#} }
{#body ::-webkit-scrollbar-track {#} body ::-webkit-scrollbar-track {
{# -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);#} -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
{# background-color: #272323;#} background-color: #272323;
{# border-radius: 6px;#} border-radius: 6px;
{#}#} }
{##}
{#body ::-webkit-scrollbar {#} body ::-webkit-scrollbar {
{# width: 8px;#} width: 8px;
{# height: 8px;#} height: 8px;
{#}#} }
{##}
{#body ::-webkit-scrollbar-thumb {#} body ::-webkit-scrollbar-thumb {
{# background-color: #494141;#} background-color: #494141;
{# border-radius: 6px;#} border-radius: 6px;
{#}#} }
</style> </style>
</head> </head>
<div id="term" style="height: 100%;width: 100%"> <div id="term" style="height: 100%;width: 100%">