From bac12a8d2d0397c5c8fee6bf1473ceea5a67cd42 Mon Sep 17 00:00:00 2001 From: OpenIhu Date: Mon, 11 Apr 2022 15:55:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8D=A1=E7=89=87=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E7=9A=84=E6=A0=B7=E5=BC=8F=E5=8F=8A=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/org/select_pro.tmpl | 18 +++++++++--------- web_src/less/openi.less | 13 +++++++++++++ 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/templates/org/select_pro.tmpl b/templates/org/select_pro.tmpl index a43e5eafe..8472d78dd 100755 --- a/templates/org/select_pro.tmpl +++ b/templates/org/select_pro.tmpl @@ -85,7 +85,7 @@
{{ range .RepoList}} -
+
@@ -103,14 +103,14 @@ {{end}}

{{end}} -
-
- - {{svg "octicon-eye" 16}} {{.NumWatches}}     - {{svg "octicon-star" 16}} {{.NumStars}}     - {{svg "octicon-git-branch" 16}} {{.NumForks}} - -
+
+
+
+ + {{svg "octicon-eye" 16}} {{.NumWatches}}     + {{svg "octicon-star" 16}} {{.NumStars}}     + {{svg "octicon-git-branch" 16}} {{.NumForks}} +
diff --git a/web_src/less/openi.less b/web_src/less/openi.less index 4f25e5ffd..54c4ec91e 100644 --- a/web_src/less/openi.less +++ b/web_src/less/openi.less @@ -12,6 +12,11 @@ a { .ui .text.yellow a:hover { color: #f2711c!important } +.ui.small.label.topic{ + margin-bottom: 0; + font-weight: 400; +} + .mb-1 { margin-bottom: 8px !important; } @@ -142,6 +147,14 @@ footer { width:auto; margin:10px auto; } +.ui.card>.extra, .ui.cards>.card>.extra{ + border-top:none; + padding: 0 .5em 1em; +} +.ui.card>.content + .extra.content, .ui.cards>.card>.content + .extra.content{ + padding-bottom: 0; +} + #index-project .ui.card>.content, #index-project.ui.cards>.card>.content{ padding: 0.5em 0.2em; }