Skip to content

Commit 3ad4c17

Browse files
Merge PR #4 from ethanwithnoe/main
Add Nested Pages / Left Align Sidebar
2 parents a8ffb16 + b7e344c commit 3ad4c17

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

Gemfile.lock

+5
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ GEM
129129
nio4r (2.5.8)
130130
nokogiri (1.14.1-arm64-darwin)
131131
racc (~> 1.4)
132+
nokogiri (1.14.1-x86-mingw32)
133+
racc (~> 1.4)
132134
public_suffix (5.0.1)
133135
puma (5.6.5)
134136
nio4r (~> 2.0)
@@ -191,6 +193,8 @@ GEM
191193
railties (>= 6.0.0)
192194
tzinfo (2.0.6)
193195
concurrent-ruby (~> 1.0)
196+
tzinfo-data (1.2024.1)
197+
tzinfo (>= 1.0.0)
194198
web-console (4.2.0)
195199
actionview (>= 6.0.0)
196200
activemodel (>= 6.0.0)
@@ -210,6 +214,7 @@ GEM
210214

211215
PLATFORMS
212216
arm64-darwin-21
217+
x86-mingw32
213218

214219
DEPENDENCIES
215220
bootsnap

app/assets/stylesheets/application.css

+12-2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ a {
5757
padding: var(--space);
5858
}
5959

60+
61+
.nested-page{
62+
font-size: 0.9rem !important;
63+
border-radius: 0px !important;
64+
border-left: 4px solid #dfe6e9 !important;
65+
margin-left: 20px !important;
66+
--space: 24px;
67+
}
68+
69+
6070
/* MARKDOWN */
6171
h2 {
6272
font-family: 'Inter', sans-serif;
@@ -146,11 +156,11 @@ blockquote {
146156

147157
.links {
148158
display: flex;
149-
align-items: end;
159+
align-items: start;
150160
flex-direction: column;
151161

152162
width: 200px;
153-
float: right;
163+
margin-left:30px;
154164
}
155165

156166
.sidebar .bottom, .mobile-sidebar .bottom {

0 commit comments

Comments
 (0)