From 74cf8dae86a8da932d063682f434777454de4f9f Mon Sep 17 00:00:00 2001 From: lifeadventurer Date: Sun, 7 Apr 2024 23:47:56 +0800 Subject: [PATCH] Feat: Share fortune results as image and close #15 Co-authored-by: tobiichi3227 --- fortune_generator/css/styles.css | 6 ++++++ fortune_generator/index.html | 8 ++++++-- fortune_generator/js/fortune.js | 24 +++++++++++++++++++++++- 3 files changed, 35 insertions(+), 3 deletions(-) diff --git a/fortune_generator/css/styles.css b/fortune_generator/css/styles.css index f96ccf5..4291e7f 100644 --- a/fortune_generator/css/styles.css +++ b/fortune_generator/css/styles.css @@ -108,4 +108,10 @@ button:hover { color: var(--dark-mode-icon-color); cursor: pointer; opacity: 85%; +} + +#copy-result { + margin-top: 20px; + font-size: 1.5rem; + color: var(--dark-mode-icon-color); } \ No newline at end of file diff --git a/fortune_generator/index.html b/fortune_generator/index.html index 45cc805..40d0616 100644 --- a/fortune_generator/index.html +++ b/fortune_generator/index.html @@ -12,6 +12,9 @@ + + +