diff options
author | ubq323 <ubq323@ubq323.website> | 2022-07-20 18:40:37 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-07-20 18:40:37 +0100 |
commit | f9fe76a083a1d3f5a62e5e569b3794679da5cfb8 (patch) | |
tree | d7e42767abaeefa981ae7cd96f24089d66fe652e | |
parent | ea32223eb5cbe692ca0d99ab76bf24fbebc8a696 (diff) |
allow changing the underline colour via url parameters
-rwxr-xr-x | embed.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -12,7 +12,9 @@ if __name__ == "__main__": "bg": 'white', "fg": 'black', "george": '#3d3db8', - "links": 'blue' + "links": 'blue', + "underline": "blue", + } print("Content-Type: text/html") @@ -77,6 +79,7 @@ f"""<!DOCTYPE html> box-shadow: 5px 5px black; background-color: {colors["bg"]}; color: {colors["fg"]}; + display: flex; flex-wrap: nowrap; justify-content: space-between; @@ -84,7 +87,7 @@ f"""<!DOCTYPE html> #george {{ color: {colors["george"]}; text-decoration: underline; - text-decoration-color: blue; + text-decoration-color: {colors["underline"]}; text-decoration-thickness: 2px; font-style: oblique; animation: 2s infinite alternate george; |