From 7036ab9ba482b1862dbe19c35673606698415e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Thu, 8 Jun 2023 07:47:05 +0900 Subject: [PATCH] . --- public/css/global.css | 23 +++++++++++++---------- views/repo.html | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/public/css/global.css b/public/css/global.css index 815b4d2..b6de945 100644 --- a/public/css/global.css +++ b/public/css/global.css @@ -229,6 +229,19 @@ a:hover { color: var(--text); } +.lang-bar:last-child { + margin-bottom: 0; +} + +.lang-bar { + width: 100%; + display: inherit; + height: 10px; + border-radius:4px; + overflow: hidden; + user-select: none; +} + /* URI: /:user/:repo */ .button { background-color: var(--background); @@ -320,16 +333,6 @@ a:hover { display: none; } -.ui.segment:last-child { - margin-bottom: 0; -} - -.ui.segment { - width: 100%; - display: inherit; - height: 10px; -} - .right.stackable.menu { margin-left: auto; display: flex; diff --git a/views/repo.html b/views/repo.html index 3d1c6b6..4af9010 100644 --- a/views/repo.html +++ b/views/repo.html @@ -29,7 +29,7 @@ {{ end }} {{ if .Language }}

{{range $o := .Language}}{{$o.Name}} {{$o.Percent}}, {{end}} -

{{range $i, $o := .Language}} +
{{range $i, $o := .Language}}