From 29a02350b873fa6339a7535fa929697fec9a8f84 Mon Sep 17 00:00:00 2001 From: mh-two-thousand-and-two <17391232786@163.com> Date: 星期三, 03 四月 2024 18:44:07 +0800 Subject: [PATCH] 三 --- static/initialize.css | 41 +++++++++++++++++++++++++++++++++++++---- 1 files changed, 37 insertions(+), 4 deletions(-) diff --git a/static/initialize.css b/static/initialize.css index 5def451..fa57458 100644 --- a/static/initialize.css +++ b/static/initialize.css @@ -3,14 +3,16 @@ padding: 0; box-sizing: border-box; } + html { font-size: calc(100 * 100vw / 1440) !important; /* font-size: 10px; */ } - + body { font-size: .16rem !important; } + .flex { display: flex; align-items: center; @@ -45,10 +47,12 @@ .flex-start { justify-content: flex-start } - .flex-content{ + + .flex-content { justify-content: space-around; } - .flex-items-start{ + + .flex-items-start { align-items: flex-start; } @@ -56,10 +60,39 @@ position: relative; z-index: 99999 !important; } + /* 瀛椾綋瀹嬩綋 */ - .font-family{ + .font-family { font-family: 瀹嬩綋; } + + /* 瓒呭嚭闅愯棌1 */ + .BeyondHiding1 { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + /* 瓒呭嚭闅愯棌2 */ + .BeyondHiding2 { + display: -webkit-box; + -webkit-line-clamp: 2; + /* 璁剧疆瑕佹樉绀虹殑琛屾暟 */ + -webkit-box-orient: vertical; + /* 璁剧疆鏄剧ず鏂瑰紡涓哄瀭鐩存柟鍚� */ + overflow: hidden; + /* 闅愯棌瓒呭嚭鐨勫唴瀹� */ + } + /* 瓒呭嚭闅愯棌3 */ + .BeyondHiding3 { + display: -webkit-box; + -webkit-line-clamp: 3; + /* 璁剧疆瑕佹樉绀虹殑琛屾暟 */ + -webkit-box-orient: vertical; + /* 璁剧疆鏄剧ず鏂瑰紡涓哄瀭鐩存柟鍚� */ + overflow: hidden; + /* 闅愯棌瓒呭嚭鐨勫唴瀹� */ + } + ul { list-style: none; } -- Gitblit v1.9.1