aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-30 00:58:32 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-30 00:58:32 +0800
commite80e7c85f970467957f72934b06e79db23ee14fb (patch)
tree88c188a1f31711624f4248c3ec6e68a30b0356e9 /static
parentIgnore static/index.html (diff)
downloadforge-e80e7c85f970467957f72934b06e79db23ee14fb.tar.gz
forge-e80e7c85f970467957f72934b06e79db23ee14fb.tar.zst
forge-e80e7c85f970467957f72934b06e79db23ee14fb.zip
Add basic tabs to repo index
Diffstat (limited to 'static')
-rw-r--r--static/style.css32
1 files changed, 31 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css
index a53dc17..8bfe351 100644
--- a/static/style.css
+++ b/static/style.css
@@ -345,7 +345,7 @@ a.btn, a.btn-white, a.btn-danger, a.btn-normal, a.btn-primary {
/* Header layout */
header#main-header {
- background-color: var(--lighter-box-background-color);
+ /* background-color: var(--lighter-box-background-color); */
display: flex;
flex-direction: row;
align-items: center;
@@ -354,6 +354,10 @@ header#main-header {
padding: 0.625rem 1rem;
gap: 0.5rem;
}
+#main-header a, #main-header a:link, main-header a:visited {
+ text-decoration: none;
+ color: inherit;
+}
#main-header-forge-title {
white-space: nowrap;
}
@@ -485,3 +489,29 @@ td > ul {
max-width: 100%;
width: fit-content;
}
+
+.nav-tabs-standalone {
+ border: none;
+ list-style: none;
+ margin: 0;
+ flex-grow: 1;
+ display: inline-flex;
+ flex-wrap: nowrap;
+ padding: 0;
+ border-bottom: 0.25rem var(--lighter-box-background-color) solid;
+}
+
+.nav-tabs-standalone li {
+ align-self: flex-end;
+ padding: 0 1rem;
+}
+
+.nav-item.active {
+ font-weigt: bold;
+ background-color: var(--lighter-box-background-color);
+}
+
+.nav-item a, .nav-item a:link, .nav-item a:visited {
+ text-decoration: none;
+ color: inherit;
+}