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
3 changes: 3 additions & 0 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
permissions: write-all
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Set preview path for PRs
run: echo 'PRID=${{ env.PREVIEWS_PREFIX}}${{ github.event.number}}' >> $GITHUB_ENV
Expand All @@ -23,6 +25,7 @@ jobs:
SITE_FOLDER: "./"
BASE_URL_PREFIX: BioTutorials
PREVIEW: ${{ env.PRID }}
JULIA_PRE: 'import Pkg; Pkg.setprotocol!(protocol="https")'

- name: Comment PR preview URL
uses: thollander/actions-comment-pull-request@v2
Expand Down
117 changes: 39 additions & 78 deletions Manifest.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

61 changes: 61 additions & 0 deletions _css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,67 @@ img {
font-size: 14px;
}

/* ==================================================================
Series Cards (from utils.jl hfun_list_series)
================================================================== */

.series-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
gap: 1.25rem;
margin: 1.5rem 0;
}

.series-card {
border: 1px solid var(--color-border);
border-top: 3px solid var(--color-brand);
border-radius: 6px;
padding: 1.25rem 1.25rem 1rem;
display: flex;
flex-direction: column;
transition: box-shadow 0.15s ease;
}

.series-card:hover {
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.series-card h2 {
margin: 0 0 0.5rem;
padding: 0;
border: none;
font-size: 1.05rem;
}

.series-card h2 a {
color: var(--color-text);
font-weight: 600;
}

.series-card h2 a:hover {
color: var(--color-brand);
text-decoration: none;
}

.series-card .description {
margin: 0 0 0.75rem;
font-size: 0.875rem;
color: var(--color-text-light);
line-height: 1.6;
flex-grow: 1;
}

.series-card .series-count {
display: inline-block;
font-size: 0.75rem;
font-weight: 600;
color: var(--color-brand);
background-color: var(--color-bg-soft);
border-radius: 4px;
padding: 0.15rem 0.5rem;
align-self: flex-start;
}

/* ==================================================================
Footer
================================================================== */
Expand Down
2 changes: 1 addition & 1 deletion _layout/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header class="site-header">
<div class="header-content">
<div class="header-left">
<a href="https://biojulia.dev/BioTutorials" class="logo-link">
<a href="/" class="logo-link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 136.48101 51.472999" height="32" aria-label="BioJulia">
<g id="bubble-helix">
<circle cx="5.9792" cy="20.3" r="5.9792" fill="#945bb0"/>
Expand Down
8 changes: 0 additions & 8 deletions _sass/adjust.scss

This file was deleted.

Loading
Loading