diff --git a/src/containers/App/App.css b/src/containers/App/App.css index f3ee128afd9bce8f276b986f6c5af3b22eb39e6a..21db3fa4ac824ad5ac2b9b3ccfa93b9277a65402 100644 --- a/src/containers/App/App.css +++ b/src/containers/App/App.css @@ -24,7 +24,7 @@ body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - font-size: 25px !important; + font-size: 2.1vh !important; /* cursor: help; */ } @@ -403,7 +403,9 @@ footer a:hover { .sticky-container { position: sticky; - top: 120px; /* è®¾ç½®å…ƒç´ åœ¨æ»šåŠ¨æ—¶ä¿æŒä¸Žé¡µé¢é¡¶éƒ¨çš„è·ç¦» */ + display: flex; + flex-direction: column; + top: 70px; /* è®¾ç½®å…ƒç´ åœ¨æ»šåŠ¨æ—¶ä¿æŒä¸Žé¡µé¢é¡¶éƒ¨çš„è·ç¦» */ margin: 10px; margin-bottom: 150px; padding: 30px; @@ -411,7 +413,10 @@ footer a:hover { border-radius: 10px; background-color: #f77001a6; height: auto; + max-height: 100vh; padding-bottom: 0px; + align-items: center; + justify-content: center; } .sticky-words { @@ -421,9 +426,8 @@ footer a:hover { justify-items: center; */ } .sticky-img { - width: 100%; /* 图片宽度自适应容器 */ - height: auto; /* ä¿æŒå›¾ç‰‡çºµæ¨ªæ¯” */ - /* display: block; 去掉图片下方的空隙 */ + width: auto; + height: 50vh; margin: 2px; /* max-height: 60vh; */ }