Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _extensions/quartoorg/assets/scripts/page-tweaks.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script type="text/javascript">

// replace cmd keyboard shortcut w/ control on non-Mac platforms
const kPlatformMac = typeof navigator !== 'undefined' ? /Mac/.test(navigator.platform) : false;
const kPlatformMac = /Macintosh/.test(navigator.userAgent);
if (!kPlatformMac) {
var kbds = document.querySelectorAll("kbd")
kbds.forEach(function(kbd) {
Expand All @@ -12,7 +12,7 @@
// tweak headings in pymd
document.querySelectorAll(".pymd span.co").forEach(el => {
if (!el.innerText.startsWith("#|")) {
el.style.fontWeight = 1000;
el.classList.add("pymd-comment");
}
});

Expand Down
11 changes: 11 additions & 0 deletions _extensions/quartoorg/scss/partials/_announcement.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#quarto-announcement {
padding: 1em;
font-size: 1em;
font-weight: bold;
color: $white;
background-color: #447099;
}

#quarto-announcement a {
color: $white;
}
6 changes: 6 additions & 0 deletions _extensions/quartoorg/scss/partials/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,9 @@ table.quarto-listing-table .listing-description a {
pre.sourceCode.visually-hidden {
overflow: hidden !important;
}

/* page-tweaks.html marks the comments in .pymd blocks that are not
`#|` cell options. */
.pymd-comment {
font-weight: 1000;
}
12 changes: 0 additions & 12 deletions _extensions/quartoorg/scss/partials/_dark-rules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,6 @@ details > summary {
color: $text-muted;
}

#quarto-announcement {
padding: 1em;
font-size: 1em;
font-weight: bold;
color: $white;
background-color: #447099;
}

#quarto-announcement a {
color: $white;
}

/*Footer Posit logo color for dark mode*/

img.footer-logo {
Expand Down
12 changes: 0 additions & 12 deletions _extensions/quartoorg/scss/partials/_light-rules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,3 @@
text-align: right;
padding-right: 1em;
}

#quarto-announcement {
padding: 1em;
font-size: 1em;
font-weight: bold;
color: $white;
background-color: #447099;
}

#quarto-announcement a {
color: $white;
}
1 change: 0 additions & 1 deletion _extensions/quartoorg/scss/partials/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
margin-left: .1em;
}

.navbar .bi-twitter,
.navbar .bi-github,
.navbar .bi-rss
{
Expand Down
1 change: 1 addition & 0 deletions _extensions/quartoorg/scss/partials/_site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
@import "figures";
@import "color-box";
@import "home";
@import "announcement";
3 changes: 0 additions & 3 deletions _extensions/quartoorg/scss/prerelease-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@
// #e60033 gives white text 4.76:1 (WCAG 1.4.3 needs 4.5:1).
// Cosmo's $danger (#ff0039) gives only 3.95:1.
#quarto-announcement {
font-size: 1em;
font-weight: bold;
color: $white;
background-color: #e60033;
}
Binary file removed images/demo-jupyter.png
Binary file not shown.
Binary file removed images/hello-julia.bak2.png
Binary file not shown.
Binary file removed images/hello-jupyter-notebook.png
Binary file not shown.
Binary file removed images/hello-jupyter.bak.png
Binary file not shown.
Loading