mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 13:34:30 -04:00
Updates text preview styling.
This commit is contained in:
parent
90b0b97e22
commit
f366779f7b
5 changed files with 13 additions and 6 deletions
|
@ -11,7 +11,7 @@
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<link rel="shortcut icon" type="image/png" href="/_h5ai/images/h5ai-16x16.png">
|
<link rel="shortcut icon" type="image/png" href="/_h5ai/images/h5ai-16x16.png">
|
||||||
<link rel="apple-touch-icon" type="image/png" href="/_h5ai/images/h5ai-48x48.png">
|
<link rel="apple-touch-icon" type="image/png" href="/_h5ai/images/h5ai-48x48.png">
|
||||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ubuntu:400">
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ubuntu:400;Ubuntu+Mono:400">
|
||||||
<link rel="stylesheet" href="/_h5ai/css/styles.css">
|
<link rel="stylesheet" href="/_h5ai/css/styles.css">
|
||||||
<script src="/_h5ai/js/modernizr.min.js"></script>
|
<script src="/_h5ai/js/modernizr.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -27,6 +27,11 @@
|
||||||
#pv-txt-text {
|
#pv-txt-text {
|
||||||
.syntaxhighlighter {
|
.syntaxhighlighter {
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
|
|
||||||
|
.gutter .line {
|
||||||
|
border-right: none !important;
|
||||||
|
// border-right: 3px solid #6CE26C !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,10 +44,12 @@
|
||||||
vertical-align: baseline !important;
|
vertical-align: baseline !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
box-sizing: content-box !important;
|
box-sizing: content-box !important;
|
||||||
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
// font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
||||||
|
font-family: "Ubuntu Mono", "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
font-style: normal !important;
|
font-style: normal !important;
|
||||||
font-size: 1em !important;
|
// font-size: 1em !important;
|
||||||
|
font-size: 16px !important;
|
||||||
min-height: inherit !important;
|
min-height: inherit !important;
|
||||||
min-height: auto !important;
|
min-height: auto !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,9 +42,9 @@ modulejs.define('ext/preview-txt', ['_', '$', 'sh', 'core/settings', 'core/resou
|
||||||
barheight = 31;
|
barheight = 31;
|
||||||
|
|
||||||
$container.css({
|
$container.css({
|
||||||
width: rect.width - 2 * margin,
|
// width: rect.width - 2 * margin,
|
||||||
height: rect.height - 2 * margin - barheight - 32,
|
height: rect.height - 2 * margin - barheight - 32,
|
||||||
left: margin,
|
// left: margin,
|
||||||
top: margin
|
top: margin
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<link rel="shortcut icon" type="image/png" href="/_h5ai/images/h5ai-16x16.png">
|
<link rel="shortcut icon" type="image/png" href="/_h5ai/images/h5ai-16x16.png">
|
||||||
<link rel="apple-touch-icon" type="image/png" href="/_h5ai/images/h5ai-48x48.png">
|
<link rel="apple-touch-icon" type="image/png" href="/_h5ai/images/h5ai-48x48.png">
|
||||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ubuntu:400">
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Ubuntu:400;Ubuntu+Mono:400">
|
||||||
<link rel="stylesheet" href="/_h5ai/css/styles.css">
|
<link rel="stylesheet" href="/_h5ai/css/styles.css">
|
||||||
<script src="/_h5ai/js/modernizr.min.js"></script>
|
<script src="/_h5ai/js/modernizr.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue