Skip to content

Commit 8ebeaca

Browse files
committed
simplifications
1 parent 84b1abe commit 8ebeaca

File tree

2 files changed

+1
-68
lines changed

2 files changed

+1
-68
lines changed

inst/pkgdown/_pkgdown.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ template:
1919
navbar-light-toggler-border-color: "$headings-color"
2020
dropdown-link-color: "$headings-color"
2121
dropdown-link-hover-bg: "#9411201a" # $primary w/ 10% opacity
22-
base_font_size: 1em
22+
dropdown-link-active-bg: "white"
2323
link-decoration: "none"
2424

2525
navbar:

inst/pkgdown/extra.scss

-67
Original file line numberDiff line numberDiff line change
@@ -30,62 +30,14 @@
3030
img.logo {
3131
width: 120px;
3232
}
33-
34-
@media screen and (min-width: 768px) {
35-
#hexlogo {
36-
height: 30px;
37-
}
38-
.navbar .navbar-brand {
39-
padding-top: 13px;
40-
line-height: 19px;
41-
padding-left: 10px;
42-
}
43-
.navbar .navbar-form {
44-
margin: 3px 5px 3px 5px;
45-
}
46-
}
47-
48-
@media screen and (max-width: 480px) {
49-
50-
/*
51-
.navbar .navbar-brand {
52-
padding-top: 10px;
53-
padding-right: 0;
54-
margin-right: -120px;
55-
padding-left: 0px;
56-
font-size: 1.2rem;
57-
}
58-
*/
59-
60-
/*
61-
.nav-text.text-muted.me-auto {
62-
font-size: 0.8rem;
63-
}
64-
*/
65-
66-
#logo img {
67-
height: 15px !important;
68-
}
69-
}
70-
7133
// undo designer choice in pkgdown to add a lot of whitespace under h1
7234
@media (min-width: 576px){
7335
.template-home .page-header {
7436
min-height: 0;
7537
}
7638
}
7739

78-
/*
79-
.nav-text.text-muted.me-auto {
80-
color: #3b88bfff !important;
81-
}
82-
*/
8340

84-
/*
85-
main h1 img {
86-
max-width: 120px;
87-
}
88-
*/
8941

9042
/* Reference index. To make it very different from h2 */
9143
.template-reference-index h3 {
@@ -99,13 +51,6 @@ main h1 img {
9951
}
10052

10153
/* table of contents -------------------------------------------------------- */
102-
/*
103-
$pkgdown-toc-border-width: 3px !default;
104-
$pkgdown-toc-border-color: $primary !default;
105-
$pkgdown-toc-active-color: $primary !default;
106-
$pkgdown-toc-hover-bg: change-color($primary, $alpha: 0.2) !default;
107-
$pkgdown-toc-hover-color: $primary !default;
108-
*/
10954

11055
// needed for scrollspy
11156
body {position: relative;}
@@ -186,18 +131,6 @@ aside {
186131

187132

188133

189-
@media screen and (max-width: 480px) {
190-
#logo > .img {
191-
192-
}
193-
.navbar .navbar-brand {
194-
padding-top: 10px;
195-
padding-right: 0;
196-
margin-right: -120px;
197-
}
198-
}
199-
200-
201134
/* Footer */
202135

203136

0 commit comments

Comments
 (0)