Skip to content
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

Fix styling issues caused by mdbook update #181

Merged
merged 2 commits into from
Mar 11, 2025
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
12 changes: 5 additions & 7 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install latest mdbook
run: |
tag=$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')
url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz"
mkdir mdbook
curl -sSL $url | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install mdbook
run: cargo install --version 0.4.47 mdbook
- name: Build Book
run: |
cd garble_docs && mdbook build
Expand Down
29 changes: 0 additions & 29 deletions docs/pages/index.md

This file was deleted.

6 changes: 5 additions & 1 deletion garble_docs/theme/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@ code * {
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace !important;
}

:not(pre):not(a)>code.hljs {
color: #ccc;
}

p {
line-height: 1.6em !important;
margin-block-start: 1.6em;
Expand Down Expand Up @@ -372,7 +376,7 @@ a,
padding: 0.1em 0.3em;
border-radius: 3px;
border: 1px solid #333;
background-color: #fff;
background-color: #666;
line-height: 1.8;
}

Expand Down
Loading