diff options
-rw-r--r-- | site/images/bg.png | bin | 2416724 -> 1589838 bytes | |||
-rwxr-xr-x | site/images/gif.py | 4 | ||||
-rw-r--r-- | site/style.css | 20 |
3 files changed, 12 insertions, 12 deletions
diff --git a/site/images/bg.png b/site/images/bg.png Binary files differindex d08f9ed..4f08434 100644 --- a/site/images/bg.png +++ b/site/images/bg.png diff --git a/site/images/gif.py b/site/images/gif.py index 3baead5..e259525 100755 --- a/site/images/gif.py +++ b/site/images/gif.py @@ -55,13 +55,13 @@ def make(colors, inp=None): frames.append(image.convert("P")) - frames[0].save(sys.stdout, mode="P", format="GIF", append_images=frames[1:], save_all=True, duration=250, loop=0) + frames[0].save(sys.stdout, mode="P", format="GIF", append_images=frames[1:], save_all=True, duration=50, loop=0) template = None if len(sys.argv) > 1 and os.path.exists(sys.argv[1]): template = sys.argv[1] - colors = colors + [ color("#f58f44") ] + colors = colors + [ color("#fefefe") ] sorted(colors, key=rgb_to_v) make(colors, inp=template) diff --git a/site/style.css b/site/style.css index 47b7d40..48d93bb 100644 --- a/site/style.css +++ b/site/style.css @@ -20,16 +20,18 @@ } body { - background-color: #303030; - background-image: url("/images/bg.gif"); - background-repeat: repeat; + background-color: #373b41; + background-image: url("/images/bg.png"); + background-repeat: repeat-x; background-attachment: fixed; + background-position: center bottom; + background-size: 100%; image-rendering: pixelated; image-rendering: optimizeSpeed; /*background-image: url("https://davidovski.xyz/images/bg.png");*/ - color: #f58f44; + color: #fefefe; font-family: mononoki; font-size: 16px; padding: 0; @@ -76,9 +78,8 @@ h3 { padding: 2%; height: 100%; - border-left: 2px solid #f58f44; - border-right: 2px solid #f58f44; - border-bottom: 2px solid #f58f44; + border-radius: 6px; + box-shadow: 0px 0px 50px black; } .header { @@ -94,12 +95,12 @@ h3 { hr { width: 100%; border: 0; - border-bottom: 2px solid #f58f44; + border-bottom: 2px solid #fefefe; } .title { font-size: 45px; - color: #f58f44; + color: #fefefe; } .small { @@ -132,7 +133,6 @@ pre { background-color: #303030; white-space: pre-wrap; padding: 5px; - border: 2px solid #f58f44; } |