Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.

Commit c51ec55

Browse files
update tabs to look more like GDS
1 parent d401abb commit c51ec55

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

docs/plugins/demo_table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide:
77

88
Uses the following plugins and customisation:
99

10-
- [mkdocs-table-reader-plugin](https://timvink.github.io/mkdocs-table-reader-plugin/) to convert [`example_table.csv`](./example_table.csv) into a markdown table.
10+
- [mkdocs-table-reader-plugin](https://timvink.github.io/mkdocs-table-reader-plugin/) to convert [`demo_table.csv`](./demo_table.csv) into a markdown table.
1111
- [tablesort](http://tristen.ca/tablesort/demo/) to make the table sortable
1212
- Custom javascript to filter by the first column in the table
1313

tech_docs_template/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.14"
1+
__version__ = "0.0.15"

tech_docs_template/assets/stylesheets/extra.css

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
text-underline-offset: 2px;
2929
}
3030

31+
.md-header{
32+
box-shadow: none;
33+
}
34+
3135
.md-header__title{
3236
font-size: 25px;
3337
}
@@ -37,14 +41,13 @@
3741
}
3842

3943
.md-footer{
40-
border: 1px solid;
44+
border-top: 1px solid;
4145
border-color: #b1b4b6;
4246
}
4347

4448
.md-copyright{
4549
font-size: 16px;
4650
color:#000000;
47-
/* display: flex; */
4851
}
4952

5053
.md-copyright a {
@@ -54,7 +57,7 @@
5457

5558
/* Configures the navigation bar */
5659
.md-nav {
57-
font-size: 16px;
60+
font-size: 15px;
5861
line-height: 1.5;
5962
}
6063

@@ -70,17 +73,18 @@
7073

7174
/* Configures the tabs below the header */
7275
.md-tabs {
73-
background-color: #1d70b8;
74-
line-height: 0;
75-
height: 35px;
76-
}
77-
78-
.md-tabs__list {
79-
height: 35px;
76+
color: #1d70b8;
77+
background-color: #f8f8f8;
78+
border-top: 10px solid;
79+
border-top-color: #1d70b8;
80+
border-bottom: 1px solid;
81+
border-bottom-color: #b1b4b6;
82+
line-height: 1;
8083
}
8184

8285
.md-tabs__link {
83-
font-size: 16px;
86+
font-size: 18px;
87+
font-weight: 700;
8488
}
8589

8690
.md-typeset .admonition,

0 commit comments

Comments
 (0)