From d24f53005279da6e3a0f39220af3f6b61c457ece Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Fri, 7 Apr 2023 20:22:51 -0700 Subject: [PATCH] Add link to GitHub repository --- index.html | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 8baaa85..66edb1e 100644 --- a/index.html +++ b/index.html @@ -15,10 +15,34 @@ header { display: flex; - justify-content: center; + flex-direction: column; + align-items: center; margin-inline: 8px; } + h1 { + text-align: center; + font-size: 1.75rem; + margin: 0; + } + + a { + color: hsl(216deg 50% 50%); + font-weight: 700; + padding-block: 2px; + padding-inline: 4px; + border-radius: 4px; + text-decoration: none; + transition: background-color 500ms, color 800ms; + } + + a:hover, + a:focus { + color: hsl(216deg 50% 40%); + background: hsl(216deg 50% 90%); + transition: background-color 200ms, color 200ms; + } + main { inline-size: min(1080px, 100% - 16px); margin-inline: auto; @@ -69,6 +93,7 @@

CSS for line clamp ellipsis

+ GitHub
-- 2.47.3