File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ def read_text(path):
9
9
10
10
11
11
def compile_assets (html , css , js ):
12
- compilation_time = datetime .datetime .now ().astimezone (pytz .timezone ('Europe/Warsaw' )).strftime ("%Y-%m-%d %H:%M" )
13
- img_background = f'background: url("data:image/jpeg;base64,{ base64 .b64encode (open ("background.jpg" , "rb" ).read ()).decode ()} ");'
12
+ compilation_time = datetime .datetime .now ().astimezone (pytz .timezone ('Europe/Warsaw' )).strftime ("%Y-%m-%d_ %H:%M" )
13
+ img_background = f' background: url("data:image/jpeg;base64,{ base64 .b64encode (open ("background.jpg" , "rb" ).read ()).decode ()} ");'
14
14
css = css .replace (f" background: url('background.jpg');" , img_background )
15
- html = html .replace (f'<span id="tool-version"></span>' , f'<span id="tool-version">compilation <strong>{ compilation_time } </strong></span>' )
15
+ html = html .replace (f'<span id="tool-version"></span>' , f'<span id="tool-version"> <strong>v. { compilation_time } </strong></span>' )
16
16
html = html .replace (f'<link rel="stylesheet" href="style.css">' , f'' )
17
17
html = html .replace (f'</head>' , f'<style>\n { css } \n </style>\n </head>' )
18
18
html = html .replace (f'<script src="app.js"></script>' , f'' )
Original file line number Diff line number Diff line change 324
324
}
325
325
326
326
a : hover {
327
- color : var (--color-primary-hover );
327
+ color : var (--hacker-secondary );
328
328
}
329
329
330
330
code ,
You can’t perform that action at this time.
0 commit comments