Skip to content

Commit 450d15b

Browse files
committed
Fix logo height in doc navbar
1 parent d2dc162 commit 450d15b

File tree

1 file changed

+36
-42
lines changed

1 file changed

+36
-42
lines changed

docs/_static/custom.css

Lines changed: 36 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,400;0,600;1,400;1,600&display=swap');
22

3-
.navbar-brand img {
4-
height: 75px;
5-
}
6-
.navbar-brand {
7-
height: 75px;
8-
}
9-
103
body {
11-
font-family: 'Open Sans', sans-serif;
4+
font-family: 'Open Sans', sans-serif;
125
}
136

14-
pre, code {
15-
font-size: 100%;
16-
line-height: 155%;
7+
pre,
8+
code {
9+
font-size: 100%;
10+
line-height: 155%;
1711
}
1812

1913
/* Style the active version button.
@@ -30,64 +24,64 @@ Nat Methods 8, 441 (2011). https://doi.org/10.1038/nmeth.1618
3024

3125
/* If the active version has the name "dev", style it orange */
3226
#version_switcher_button[data-active-version-name*="dev"] {
33-
background-color: #E69F00;
34-
border-color: #E69F00;
35-
color:#000000;
27+
background-color: #E69F00;
28+
border-color: #E69F00;
29+
color: #000000;
3630
}
3731

3832
/* green for `stable` */
3933
#version_switcher_button[data-active-version-name*="stable"] {
40-
background-color: #009E73;
41-
border-color: #009E73;
34+
background-color: #009E73;
35+
border-color: #009E73;
4236
}
4337

4438
/* red for `old` */
4539
#version_switcher_button:not([data-active-version-name*="stable"], [data-active-version-name*="dev"], [data-active-version-name=""]) {
46-
background-color: #980F0F;
47-
border-color: #980F0F;
40+
background-color: #980F0F;
41+
border-color: #980F0F;
4842
}
4943

5044
/* Main page overview cards */
5145

5246
.sd-card {
53-
background: #fff;
54-
border-radius: 0;
55-
padding: 30px 10px 20px 10px;
56-
margin: 10px 0px;
47+
background: #fff;
48+
border-radius: 0;
49+
padding: 30px 10px 20px 10px;
50+
margin: 10px 0px;
5751
}
5852

5953
.sd-card .sd-card-header {
60-
text-align: center;
54+
text-align: center;
6155
}
6256

6357
.sd-card .sd-card-header .sd-card-text {
64-
margin: 0px;
58+
margin: 0px;
6559
}
6660

6761
.sd-card .sd-card-img-top {
68-
height: 52px;
69-
width: 52px;
70-
margin-left: auto;
71-
margin-right: auto;
62+
height: 52px;
63+
width: 52px;
64+
margin-left: auto;
65+
margin-right: auto;
7266
}
7367

7468
.sd-card .sd-card-header {
75-
border: none;
76-
background-color: white;
77-
font-size: var(--pst-font-size-h5);
78-
font-weight: bold;
79-
padding: 2.5rem 0rem 0.5rem 0rem;
69+
border: none;
70+
background-color: white;
71+
font-size: var(--pst-font-size-h5);
72+
font-weight: bold;
73+
padding: 2.5rem 0rem 0.5rem 0rem;
8074
}
8175

8276
.sd-card .sd-card-footer {
83-
border: none;
84-
background-color: white;
77+
border: none;
78+
background-color: white;
8579
}
8680

8781
.sd-card .sd-card-footer .sd-card-text {
88-
max-width: 220px;
89-
margin-left: auto;
90-
margin-right: auto;
82+
max-width: 220px;
83+
margin-left: auto;
84+
margin-right: auto;
9185
}
9286

9387
/* Dark theme tweaking */
@@ -97,21 +91,21 @@ html[data-theme=dark] .sd-card img[src*='.svg'] {
9791

9892
/* Main index page overview cards */
9993
html[data-theme=dark] .sd-card {
100-
background-color:var(--pst-color-background);
94+
background-color: var(--pst-color-background);
10195
}
10296

10397
html[data-theme=dark] .sd-shadow-sm {
10498
box-shadow: 0 .1rem 1rem rgba(250, 250, 250, .6) !important
10599
}
106100

107101
html[data-theme=dark] .sd-card .sd-card-header {
108-
background-color:var(--pst-color-background);
102+
background-color: var(--pst-color-background);
109103
}
110104

111105
html[data-theme=dark] .sd-card .sd-card-footer {
112-
background-color:var(--pst-color-background);
106+
background-color: var(--pst-color-background);
113107
}
114108

115109
html[data-theme=dark] h1 {
116-
color: var(--pst-color-primary);
110+
color: var(--pst-color-primary);
117111
}

0 commit comments

Comments
 (0)