Skip to content

Commit 59a80df

Browse files
committed
foo
1 parent fe9db13 commit 59a80df

3 files changed

Lines changed: 47 additions & 36 deletions

File tree

assets/css/common.css

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
footer {
2-
display: flex !important;
3-
justify-content: center;
4-
color: #007fa2;
5-
margin-top: 0px;
6-
position: relative;
7-
z-index: 1;
8-
}
9-
101
.center {
112
margin: 0;
123
position: absolute;
@@ -19,3 +10,28 @@ footer {
1910
article#documenter-page.content{
2011
min-height: 66vh;
2112
}
13+
14+
/* Smooth hide and show top menu nav */
15+
#multi-page-nav.show-top-menu {
16+
transform: translateY(0);
17+
}
18+
19+
#multi-page-nav.hide-top-menu {
20+
transform: translateY(-100%);
21+
}
22+
23+
.smooth-show-hide {
24+
transition: 0.3s all ease-in-out !important;
25+
}
26+
27+
.docs-sidebar, .docs-sidebar.show-top-menu {
28+
padding-top: calc(var(--navbar-height) + 1rem) !important;
29+
}
30+
31+
.docs-sidebar.hide-top-menu {
32+
padding-top: 0 !important;
33+
}
34+
35+
.docs-main {
36+
padding-top: calc(var(--navbar-height)) !important;
37+
}

assets/css/documentation.css

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ nav.docs-sidebar {
1616
}
1717

1818
/* Sticky footer */
19+
footer {
20+
display: flex !important;
21+
justify-content: center;
22+
color: #007fa2;
23+
margin-top: 0px;
24+
position: relative;
25+
z-index: 1;
26+
}
27+
1928
* {
2029
margin: 0;
2130
}
@@ -40,29 +49,4 @@ html, body {
4049

4150
#documenter:after {
4251
height: 25px;
43-
}
44-
45-
/* Smooth hide and show top menu nav */
46-
#multi-page-nav.show-top-menu {
47-
transform: translateY(0);
48-
}
49-
50-
#multi-page-nav.hide-top-menu {
51-
transform: translateY(-100%);
52-
}
53-
54-
.smooth-show-hide {
55-
transition: 0.3s all ease-in-out !important;
56-
}
57-
58-
.docs-sidebar, .docs-sidebar.show-top-menu {
59-
padding-top: calc(var(--navbar-height) + 1rem) !important;
60-
}
61-
62-
.docs-sidebar.hide-top-menu {
63-
padding-top: 0 !important;
64-
}
65-
66-
.docs-main {
67-
padding-top: calc(var(--navbar-height)) !important;
6852
}

assets/css/style.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
@import "common.css";
66

77
/* Sticky footer */
8+
footer {
9+
display: flex !important;
10+
justify-content: center;
11+
background-color: #007fa2;
12+
color: #fff;
13+
margin-top: 0px;
14+
position: relative;
15+
z-index: 1;
16+
}
17+
818
footer {
919
margin-top: 0px;
1020
}
@@ -33,7 +43,7 @@ html, body {
3343

3444
/*! Logos of partners */
3545
.markdown-body img#partner {
36-
height: 80px;
46+
height: 60px;
3747
}
3848

3949
.partners{
@@ -42,7 +52,7 @@ html, body {
4252

4353
.partners .logo {
4454
display: inline-block;
45-
margin: 20px;
55+
margin: 10px;
4656
}
4757

4858
/*! navigation menu: bonne indentation des tab dans le menu */
@@ -53,6 +63,7 @@ html, body {
5363
}
5464

5565
#multi-page-nav {
66+
position: sticky !important;
5667
background-color: #007fa2 !important;
5768
border-bottom: none !important;
5869
}

0 commit comments

Comments
 (0)