use new dotfile's theme for site

This commit is contained in:
davidovski 2023-12-04 03:03:01 +00:00
parent 8597ecec09
commit c8294e0aeb
3 changed files with 12 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -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)

View File

@ -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;
}