Skip to content

Commit c82cf78

Browse files
committed
Different dev indicator
1 parent 9163b12 commit c82cf78

4 files changed

Lines changed: 26 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: pkgdownconfig
22
Title: Stan pkgdown Website Styling
3-
Version: 2.0.0
3+
Version: 2.0.1:9000
44
Authors@R:
55
person("Visruth", "Srimath Kandali", , "public@visruth.com", role = c("aut", "cre"))
66
Description: This package is a template package, built off of the Stan

_pkgdown.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
url: https://mc-stan.org/pkgdown-config
22
template:
33
package: pkgdownconfig
4+
development:
5+
mode: auto

inst/pkgdown/extra.scss

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
// Fix code chunk backgrounds and text color
22
html[data-bs-theme="light"] {
3-
div.sourceCode > pre,
3+
4+
div.sourceCode>pre,
45
pre.sourceCode,
56
pre.downlit,
67
pre {
78
background-color: $code-bg !important;
89
}
10+
911
#search-input {
1012
&::placeholder {
1113
color: var(--body-secondary-color) !important;
1214
}
1315
}
16+
1417
.navbar {
1518
--bs-secondary-color: #ece5cf;
1619
}
1720
}
1821

1922
html[data-bs-theme="dark"] {
20-
div.sourceCode > pre,
23+
24+
div.sourceCode>pre,
2125
pre.sourceCode,
2226
pre.downlit,
2327
pre {
@@ -34,3 +38,18 @@ pre {
3438
width: auto;
3539
vertical-align: middle;
3640
}
41+
42+
.navbar .nav-text.text-danger {
43+
color: var(--bs-navbar-color) !important;
44+
}
45+
46+
.navbar .nav-text.text-danger::after {
47+
content: "DEV";
48+
display: inline-block;
49+
border: 2px solid var(--bs-navbar-color);
50+
border-radius: 999px;
51+
padding: .05rem .4rem;
52+
margin-left: .4rem;
53+
line-height: 1;
54+
font-weight: 800;
55+
}

vignettes/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
*_files
44

55
/.quarto/
6+
7+
**/*.quarto_ipynb

0 commit comments

Comments
 (0)