From a36fece9bc29a555801cd7cb4e1a706626160f6d Mon Sep 17 00:00:00 2001 From: Linze Li <101081884+happylinze@users.noreply.github.com> Date: Thu, 8 Aug 2024 01:04:44 +0800 Subject: [PATCH] Update index.md --- index.md | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/index.md b/index.md index c489530..8c8d050 100644 --- a/index.md +++ b/index.md @@ -48,6 +48,26 @@ layout: default .content { margin-top: 60px; } + .image-container { + display: flex; + justify-content: center; + align-items: center; + gap: 20px; + margin-top: 20px; + } + + .image-wrapper { + width: 300px; + height: 300px; + overflow: hidden; + } + + .image-wrapper img { + width: 100%; + height: 100%; + object-fit: cover; + } + #back-to-top { display: none; position: fixed; @@ -80,25 +100,7 @@ layout: default .page { padding: 1.5rem; } - - .image-container { - display: flex; - justify-content: center; - align-items: center; - gap: 20px; - margin-top: 20px; - } - - .image-wrapper { - max-width: 300px; - } - -.image-wrapper img { - width: 100%; - height: auto; - display: block; -} - + #navbar { flex-direction: column; align-items: stretch;