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):
99
1010
1111def 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 ()} ");'
1414 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>' )
1616 html = html .replace (f'<link rel="stylesheet" href="style.css">' , f'' )
1717 html = html .replace (f'</head>' , f'<style>\n { css } \n </style>\n </head>' )
1818 html = html .replace (f'<script src="app.js"></script>' , f'' )
Original file line number Diff line number Diff line change 324324}
325325
326326a : hover {
327- color : var (--color-primary-hover );
327+ color : var (--hacker-secondary );
328328}
329329
330330code ,
You can’t perform that action at this time.
0 commit comments