Skip to content

Commit b60336f

Browse files
guralbrianclaude
andcommitted
Update layout and spacing improvements
- Removed padding on body.list (set to 0) - Increased hero-section top/bottom padding to 80px - Added thin border to hero-image div with border-radius - Made navbar sticky on mobile widths (<991px) - Added 12px top margin to h2#my-research header These changes improve visual consistency and mobile navigation experience. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2cf2561 commit b60336f

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

assets/css/custom.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ body {
167167
overflow-x: hidden;
168168
}
169169

170+
/* Remove padding for list pages */
171+
body#top.list {
172+
padding: 0 !important;
173+
}
174+
170175
a {
171176
color: var(--accent-color);
172177
text-decoration: none;
@@ -1560,6 +1565,10 @@ header,
15601565
margin-bottom: 1.5rem;
15611566
}
15621567

1568+
.research-page h2#my-research {
1569+
margin-top: 12px;
1570+
}
1571+
15631572
.research-page h3 {
15641573
clear: both;
15651574
margin-top: 2.5rem;
@@ -1586,7 +1595,7 @@ header,
15861595
display: flex;
15871596
align-items: center;
15881597
justify-content: center;
1589-
padding: 4rem 2rem;
1598+
padding: 80px 2rem;
15901599
background-color: var(--light-background) !important;
15911600
position: relative;
15921601
width: 100%;
@@ -1693,6 +1702,9 @@ header,
16931702
max-width: 400px;
16941703
animation: fadeInRight 0.8s ease-out 0.2s both;
16951704
margin: 0 auto;
1705+
border: 1px solid var(--border);
1706+
border-radius: var(--border-radius);
1707+
padding: 4px;
16961708
}
16971709

16981710
@media (min-width: 901px) {

layouts/partials/header.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@
104104

105105
/* Responsive adjustments */
106106
@media (max-width: 991px) {
107+
.navbar {
108+
position: sticky !important;
109+
top: 0;
110+
z-index: 1020;
111+
}
112+
107113
.navbar-collapse {
108114
margin-top: 1rem;
109115
padding-top: 1rem;

0 commit comments

Comments
 (0)