Skip to content

PR preview for "Installation docs fixes" #744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .github/workflows/validate-docs-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
repository: validmind/installation
path: site/_source/installation
token: ${{ secrets.INSTALLATION_RO_PAT }}
ref: installation-docs-testing-fixes

- name: Set up Python 3.11
uses: actions/setup-python@v5
Expand Down
5 changes: 3 additions & 2 deletions site/_extensions/nrichers/slideover/_extension.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
title: Reveal.js Slideover
author: Nik Richers
version: 1.1.0
version: 1.3.1
quarto-required: ">=1.6.0"
contributes:
revealjs-plugins:
- name: slideover
script:
- slideover.js
stylesheet:
- slideover.css
- slideover.css
- custom-slideover.css
80 changes: 80 additions & 0 deletions site/_extensions/nrichers/slideover/custom-slideover.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/* Global variables */
:root {
--slideover-default-bg: #FAFAFA;
--slideover-default-text: #083e44;
--slideover-default-border: 1px solid #083e44;
--slideover-default-links: #DE257E;
--slideover-default-accent: #3E6C69;
}

/* Global slideover styling */
.slideover__content {
background: var(--slideover-default-bg) !important;
color: var(--slideover-default-text) !important;
border: var(--slideover-default-border) !important;
}

/* Right-aligned emphasis border */
.slideover--r.slideover__content {
border-left-width: 5px !important;
}

/* Left-aligned emphasis border */
.slideover--l.slideover__content {
border-right-width: 5px !important;
}

/* Top-aligned emphasis border */
.slideover--t.slideover__content {
border-bottom-width: 5px !important;
}

/* Bottom-aligned emphasis border */
.slideover--b.slideover__content {
border-top-width: 5px !important;
}

/* Link styling */
.slideover__content-area a {
color: var(--slideover-default-links);
text-decoration: none;
}

.slideover__content-area a:hover {
text-decoration: underline 2px solid var(--slideover-default-text);
}

/* Callout embed styling */
.slideover__content-area .embed {
background-color: #f5fcfd;
border: 1px solid rgba(8, 62, 68, 0.2);
}

/* Emphasis styling */
.slideover__content-area strong,
.slideover__content-area b,
.slideover__content-area i,
.slideover__content-area em {
color: var(--slideover-default-accent) !important;
}

/* Quotation styling */
q {
color: var(--slideover-default-accent) !important;
}

.slideover__content-area blockquote {
border-left: 4px solid var(--slideover-default-accent) !important;
color: var(--slideover-default-accent) !important;
}

/* Code styling */
.slideover__content-area div.sourceCode {
background-color: var(--slideover-default-bg) !important;
}

.slideover__content-area code {
color: var(--slideover-default-text) !important;
background-color: #EAF8FA;
border: 1px solid rgba(8, 62, 68, 0.2);
}
Loading
Loading