diff options
author | ubq323 <ubq323@ubq323.website> | 2023-10-02 21:07:13 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-10-02 21:07:16 +0100 |
commit | c20bbe2b56f870b980c6e51556204b2b08bba4bd (patch) | |
tree | 0ea0b83d3c9f0c182abd7b4fc36eb70b01aac0aa | |
parent | 1b4ec11dd85a075183547481d37c30bdb87b7b5a (diff) |
allow override of border colour
-rw-r--r-- | doc.txt | 3 | ||||
-rwxr-xr-x | embed.cgi | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ GEORGE documentation -last updated 2022-07-20 +last updated 2023-10-02 GET https://george.gh0.pw/data.cgi returns a json array of current GEORGE members. @@ -18,6 +18,7 @@ c_george #3d3db8 text colour of the word "GEORGE" c_links blue text colour of the NEXT and PREV links c_underline blue underline colour of the word "GEORGE" c_fg black text colour of all other text +c_border black border colour for the entire embed it is recommended that you embed the widget using an iframe tag like this: <iframe height="50" src="https://george.gh0.pw/embed.cgi?membername" style="border:none;width:100%" sandbox="allow-top-navigation"></iframe> @@ -14,6 +14,7 @@ if __name__ == "__main__": "george": '#3d3db8', "links": 'blue', "underline": "blue", + "border": "black", } @@ -75,7 +76,7 @@ f"""<!DOCTYPE html> padding-left: 5px; padding-right: 5px; height: 45px; - border: 1px solid black; + border: 1px solid {colors["border"]}; box-shadow: 5px 5px black; background-color: {colors["bg"]}; color: {colors["fg"]}; |