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 | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 46 insertions(+), 3 deletions(-) diff --git a/static/initialize.css b/static/initialize.css index 0b08a03..fa57458 100644 --- a/static/initialize.css +++ b/static/initialize.css @@ -1,7 +1,16 @@ * { margin: 0%; padding: 0; - /* box-sizing: border-box; */ + box-sizing: border-box; + } + + html { + font-size: calc(100 * 100vw / 1440) !important; + /* font-size: 10px; */ + } + + body { + font-size: .16rem !important; } .flex { @@ -38,18 +47,52 @@ .flex-start { justify-content: flex-start } - .flex-content{ + + .flex-content { justify-content: space-around; + } + + .flex-items-start { + align-items: flex-start; } .relative { 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