Skip to content

Commit

Permalink
added menu buttons to compilation page
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceOrunitia committed Jul 8, 2024
1 parent e8e324c commit 5161537
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/en/docs/compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ menu: false
type: docs
---


Below is a guide on how to compile Rosenpass yourself, including via the binary files. This can be used to compile Rosenpass for systems not yet fully supported, such as Debian, and provides a more customised experience.


{{% blocks/comp-nav %}}


{{< blocks/lead color="secondary" class="title-box" >}}
## Compile it yourself
{{< /blocks/lead >}}
Expand Down
4 changes: 4 additions & 0 deletions layouts/shortcodes/blocks/comp-nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div class="link-collection link-collection-comp">
<a class="link-block bg-light text-dark" href="compile-it-yourself">Compile it Yourself</a>
<a class="link-block bg-secondary" href="#installation-via-binary-files">Installation via the Binary Files</a>
</div>
14 changes: 14 additions & 0 deletions static/css/rosenpass.css
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ margin-left: 1rem;
padding-bottom: 20px;
}



.link-block {
color: #fff;
padding: 20px 10px;
Expand All @@ -435,6 +437,13 @@ margin-left: 1rem;
column-gap: 2%;
width: 100%;
}
.link-collection.link-collection-comp {
display: grid;
grid-template-columns: 45% 45%;
column-gap: 2%;
width: 100%;
justify-content: center;
}
}

/* Contributors Page*/
Expand Down Expand Up @@ -559,6 +568,11 @@ align-self: center;

/* documentation -> conference presentations */

.spacer {
height: 1rem;
display: inline-block;
}

#presentation-list .card-text{
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 5161537

Please sign in to comment.