diff --git a/templates/base.html b/templates/base.html index bf235b3..a2921bf 100644 --- a/templates/base.html +++ b/templates/base.html @@ -12,10 +12,6 @@ flex-direction: column; min-height: 100vh; } - .navbar { - box-shadow: 0 2px 4px rgba(0,0,0,.1); - background-color: rgb(124 146 157) !important; - } .main-content { flex: 1; padding-top: 20px; @@ -26,9 +22,27 @@ padding: 20px 0; margin-top: auto; } + .navbar { + box-shadow: 0 2px 4px rgba(0,0,0,.1); + background-color: rgb(124 146 157) !important; + } + .nav-item.active { + position: relative; + } + .nav-item.active::after { + content: ''; + position: absolute; + bottom: 0; + left: 50%; + transform: translateX(-50%); + width: 50%; + height: 3px; + background-color: #333333; + border-radius: 3px 3px 0 0; + } .nav-item.active .nav-link { font-weight: 500; - color: #333333 !important; + color: #333333 !important; } {% block styles %}{% endblock %} diff --git a/templates/ca_detail.html b/templates/ca_detail.html index f1e2f30..1b597a4 100644 --- a/templates/ca_detail.html +++ b/templates/ca_detail.html @@ -97,7 +97,7 @@
{{ ca.cert_path|to_pinyin }}
{{ cert.cert_path }}