Skip to content

Commit

Permalink
Line numbers for code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Mar 10, 2024
1 parent 7c66cd3 commit e1383a4
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 6 deletions.
18 changes: 16 additions & 2 deletions public/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -1297,11 +1297,25 @@ p {
white-space: normal;
}

pre code.hljs {
padding: 0;
code {
counter-reset: step;
counter-increment: step 0;
background-color: transparent;
}

/* Line numbers for code blocks */
code .line:not(:only-child)::before {
content: counter(step);
counter-increment: step;
width: 3rem;
padding-right: 0.5rem;
margin-right: 1.5rem;
display: inline-block;
text-align: right;
color: rgba(115,138,148,.4);
border-right: 2px solid #6ce26c99;
}

/* Ambassadors */
.ambassadors img.ambassador {
height: 100px;
Expand Down
Binary file added public/img/marco.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 31 additions & 4 deletions src/pages/about-us.astro
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ import Page from "@layouts/Page.astro";
<img src="img/paolo.jpg" alt="Paolo Di Tommaso, Nextflow Lead" />
<p class="text-muted text-center">
<em>
Paolo Di Tommaso,
<br />Seqera CTO
Paolo Di Tommaso,<br />
Seqera CTO
</em>
</p>
</div>
Expand All @@ -58,6 +58,34 @@ import Page from "@layouts/Page.astro";
</div>
</div>
</div>

<div class="col-sm-3 col-xs-6">
<div class="about-small">
<div class="about-img">
<img src="img/ben.jpg" alt="Ben Sherman" />
<p class="text-muted text-center">
<em>
Ben Sherman,<br />
Seqera Engineer
</em>
</p>
</div>
</div>
</div>

<div class="col-sm-3 col-xs-6">
<div class="about-small">
<div class="about-img">
<img src="img/marco.jpg" alt="Marco Claudio De La Pierre" />
<p class="text-muted text-center">
<em>
Marco De La Pierre,<br />
Seqera Engineer
</em>
</p>
</div>
</div>
</div>
</div>
<!-- Close Team section-->
</div>
Expand Down Expand Up @@ -208,8 +236,7 @@ import Page from "@layouts/Page.astro";
<div class="about-img">
<img src="img/seqera-logo.png" alt="Seqera" width="240" height="350" />
<p class="text-muted text-center">
<em> Seqera </em>
team
<em> Seqera team </em>
</p>
</div>
</div>
Expand Down

0 comments on commit e1383a4

Please sign in to comment.