Skip to content

Commit 5408391

Browse files
committed
smaller improvements
1 parent a787fb9 commit 5408391

5 files changed

Lines changed: 37 additions & 7 deletions

File tree

_sass/pages/_home.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ body.landing{
243243
text-align: right;
244244
color: var(--main-text-tertiary-color, #B2B2B2);
245245
pointer-events: none;
246-
line-height: 19.68px !important;
246+
line-height: 22px;
247247
}
248-
code{
248+
pre, code{
249249
@include code-standard;
250-
line-height: 17px !important;
250+
line-height: 22px;
251251
}
252252
a{
253253
color: inherit;
804 KB
Loading

images/blog/thumbs/duckdb-release-1-5-0.svg

Lines changed: 31 additions & 1 deletion
Loading

js/hero_animation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if (canvas) {
66
// --- CONFIGURATION ---
77
const SNAKE_LENGTH = 400; // Gradient tail length
88
const SPEED = 500; // Pixels per second
9-
const SNAKE_WIDTH = 1.5;
9+
const SNAKE_WIDTH = 1;
1010

1111
const isDark = () => document.documentElement.classList.contains('darkmode');
1212
let COLOR = isDark() ? '#665D00' : '#EDDD0C';

js/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,11 +576,11 @@ $('body.documentation #main_content_wrap a.externallink').each(function () {
576576
$('.window .content.haslines').each(function(){
577577
var height = $(this).find('pre').height()
578578
var fontSize = $(this).find('pre').css('font-size');
579-
var lineHeight = 20;
579+
var lineHeight = 22;
580580
var lines = Math.ceil(height / lineHeight)
581581
var linenumbers = '';
582582
for (i = 1; i <= lines; i++) {
583-
linenumbers += i + '<br>'
583+
linenumbers += '<span>' + i + '</span><br>';
584584
}
585585
$(this).find('.lines').html(linenumbers);
586586
})

0 commit comments

Comments
 (0)