Skip to content

Commit 2ae423e

Browse files
brabojclaude
andcommitted
style: add Code with Branko branding and custom CSS
Add extra.css for banner styling, card hover effects, and consistent brand appearance. Reference custom stylesheet in config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 59f4ab9 commit 2ae423e

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/* Code with Branko — Git Tutorial custom styles */
2+
3+
/* Hero banner on landing page */
4+
.md-content img[alt="Banner"] {
5+
display: block;
6+
margin: 0 auto 1.5rem;
7+
max-width: 600px;
8+
border-radius: 8px;
9+
}
10+
11+
/* Card grid styling for landing page */
12+
.md-typeset .grid.cards > ul > li {
13+
border: 1px solid var(--md-default-fg-color--lightest);
14+
border-radius: 8px;
15+
transition: border-color 0.2s, box-shadow 0.2s;
16+
}
17+
18+
.md-typeset .grid.cards > ul > li:hover {
19+
border-color: var(--md-accent-fg-color);
20+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
21+
}

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ extra:
6868

6969
copyright: "&copy; 2021–2026 Branimir Georgiev · Code with Branko"
7070

71+
extra_css:
72+
- stylesheets/extra.css
73+
7174
nav:
7275
- Home:
7376
- index.md

0 commit comments

Comments
 (0)