diff --git a/src/css/common.css b/src/css/common.css index 91f862e..4b4b410 100644 --- a/src/css/common.css +++ b/src/css/common.css @@ -11,12 +11,6 @@ table.terminal { border: 0; } -td.skin pre -{ - color: #BABABA; - background-color: #000000; -} - td.left, td.right { width: 2px; @@ -31,7 +25,7 @@ td.top, td.bottom /* Editor UI */ -button, select{ +button#btn-apply, select#skins{ font-size: 20px; } diff --git a/src/img/alpha-stripes.png b/src/img/alpha-stripes.png new file mode 100644 index 0000000..3ce55ff Binary files /dev/null and b/src/img/alpha-stripes.png differ diff --git a/src/img/alpha-stripes.py b/src/img/alpha-stripes.py new file mode 100755 index 0000000..23fce0e --- /dev/null +++ b/src/img/alpha-stripes.py @@ -0,0 +1,24 @@ +#!/usr/bin/python3 + +from PIL import Image + +N = 10 + +GRAY = 0xD0 +ALPHA = 0x38 + +img = Image.new('RGBA', (2 * N, 2 * N)) + +for y in range(2 * N): + for x in range(2 * N): + + if (x + y) % N == 0: + # antialiased edge + alpha = ALPHA // 2 + else: + on = ((x + y) // N) % 2 # 0 or 1 + alpha = ALPHA * on # 0 or ALPHA + + img.putpixel((x, y), (GRAY, GRAY, GRAY, alpha)) + +img.save('alpha-stripes.png', 'PNG') diff --git a/src/index.html b/src/index.html index c63e237..8577fe0 100644 --- a/src/index.html +++ b/src/index.html @@ -13,12 +13,12 @@ - + - +