diff options
-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"]}; |