Skip to content

Commit 655d035

Browse files
committed
Add more content to sidebar
1 parent ce95633 commit 655d035

File tree

5 files changed

+25
-7
lines changed

5 files changed

+25
-7
lines changed

themes/CodeMeta-Pyramids/layouts/_default/landing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<div class="section section-basic">
1010
<div class="container">
1111
<div class="row">
12-
<div class="landing-left col-md-8 container ">
12+
<div class="landing-left col-md-8 container pe-5">
1313
{{ partial "landing_left" . }}
1414
</div>
1515

16-
<div class="landing-right col-md-4 container">
16+
<div class="landing-right col-md-4 container h-75 mh-auto pb-4">
1717
{{ partial "landing_right" . }}
1818
</div>
1919

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div id="eventlinks" class="container pt-2">
2+
<h3 class="ms-3">Events</h3>
3+
<ul class="list-group list-unstyled">
4+
<li class="ps-2">
5+
<p class="lh-base p-2" href="">Check back soon!</p>
6+
<small class="p-2 text-secondary-emphasis">TBA</small>
7+
</li>
8+
</ul>
9+
</div>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
{{ .Content }}
2-
<p class="text-center"><a class="fw-bold btn btn-lg btn-primary m-3" href="/crosswalk">Find a Crosswalk</a><a class="fw-bold btn btn-lg btn-primary m-3" href="/create">CodeMeta Generator</a></p>
2+
<p class="text-center"><a class="fw-bold btn btn-lg btn-primary m-3" href="/crosswalk">Find a Crosswalk</a>
3+
<a class="fw-bold btn btn-lg btn-primary m-3" href="https://github.com/codemeta/codemeta/tree/master/crosswalks">Create a Crosswalk</a></p>
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
{{ partial "news" . }}
1+
{{ partial "news" . }}
2+
3+
<div class="container pt-4">
4+
<h3 class="ps-3">Create a CodeMeta file</h3>
5+
<p class="text-center"><a class="fw-bold btn btn-lg btn-primary m-3" href="/create">CodeMeta Generator</a>
6+
</div>
7+
8+
{{ partial "events" . }}
9+

themes/CodeMeta-Pyramids/static/css/codemeta.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,16 +228,16 @@ h1,h2,h3,h4,h5,h6,h7 {
228228
}
229229

230230
/*!
231-
* News panel
231+
* right-side panel
232232
*/
233233

234234
@media only screen and (min-width: 992px) {
235235

236-
#newslinks {
236+
.landing-right {
237237
border-left: 2px solid var(--bs-dark-border-subtle);
238238
}
239239

240-
[data-bs-theme=dark] #newslinks {
240+
[data-bs-theme=dark] .landing-right {
241241
border-left: 2px solid var(--bs-border-color);
242242
}
243243
}

0 commit comments

Comments
 (0)