Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,4 @@ th, td {
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
background-color: hsla(var(--md-hue),25%,25%,1)
}
/* From: https://blog.ktz.me/making-mkdocs-tables-look-like-github-markdown-tables/ */

/* From: https://blog.ktz.me/making-mkdocs-tables-look-like-github-markdown-tables/ */
117 changes: 62 additions & 55 deletions docs/resources/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,37 @@ Here we have compiled resources related to bioinformatics and computing. These r

## Tutorials

| |
| --- |
| [:material-application-brackets-outline:{ .contact-icon } [ Installing command line software with conda/mamba ]][conda] |
| [:material-dna:{ .contact-icon } [ Downloading sequencing data from the Bauer Core ]][bauer] |
| [:material-format-align-top:{ .contact-icon } [ Whole genome alignment with Cactus ]][wga] |
|   :material-arrow-right-bottom:[:material-filter-variant-plus:{ .contact-icon } [ Adding a genome to a whole genome alignment ]][add-genome] |
|   :material-arrow-right-bottom:[:material-vector-polyline-plus:{ .contact-icon } [ Adding an outgroup to a whole genome alignment ]][add-outgroup] |
|   :material-arrow-right-bottom:[:material-file-replace-outline:{ .contact-icon } [ Replacing a genome in a whole genome alignment ]][replace-genome] |
| [:curly_loop:{ .contact-icon } [ Pangenome inference with Cactus-minigraph ]][pangenome] |
| [:material-dna:{ .contact-icon } [ How to annotate a genome ]][annotate] |
| [:material-dna:{ .contact-icon } [ How to perform bulk RNA-seq differential expression analysis ]][de] |
<div class="grid cards" markdown>

- :material-application-brackets-outline: **[Installing command line software with conda/mamba][conda]**

- :material-dna: **[Downloading sequencing data from the Bauer Core][bauer]**

- :material-dna: **[How to annotate a genome][annotate]**

- :material-dna: **[How to perform bulk RNA-seq differential expression analysis][de]**

- :curly_loop: **[Pangenome inference with Cactus-minigraph][pangenome]**

- <span class="empty-card"></span>

- :material-format-align-top: **[Whole genome alignment with Cactus][wga]**

---

**Related tasks:**

:material-filter-variant-plus: [Adding a genome][add-genome]

:material-vector-polyline-plus: [Adding an outgroup][add-outgroup]

:material-file-replace-outline: [Replacing a genome][replace-genome]

- <span class="empty-card"></span>

- <span class="empty-card"></span>

</div>

**We are developing tutorials for other data science and bioinformatics tasks. Check back soon!**

Expand Down Expand Up @@ -104,59 +124,46 @@ We have compiled a list of external resources and tagged them with the categorie
}

/* ----- */
/* Style the table that displays the tutorials */
.md-typeset th, .md-typeset td {
white-space: normal;
overflow-wrap: break-word;
word-break: break-word;
/* Style the tutorial grid cards */
.md-typeset tr:nth-child(n+7):nth-child(odd) td {
background-color: #f6f8fa !important;
}
/* Ensure text wraps in table cells */

table thead { display: none; }
.md-typeset table,
.md-typeset th,
.md-typeset td {
border: none !important;
font-size: 1.1em !important;
.md-typeset tr:nth-child(n+7):nth-child(even) td {
background-color: #fff !important;
}
/* Remove borders from table, th, and td */
/* Style all rows after the 6th row */

.md-typeset th,
.md-typeset td {
padding-top: 0.7em !important;
padding-bottom: 0.7em !important;
.grid.cards {
grid-template-columns: repeat(3, 1fr);
}

.md-typeset__table tr:nth-child(even):hover,
.md-typeset__table tbody tr:nth-child(even):hover {
background-color: #f6f8fa !important;
.grid.cards > :is(ul, ol) {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.md-typeset__table tr:nth-child(odd):hover,
.md-typeset__table tbody tr:nth-child(odd):hover {
background-color: #ffffff !important;
}
/* Disable hover effect on table rows */

.md-typeset tr:nth-child(3) td {
padding-bottom: 0.1em !important;
}
/* Style ONLY the 3rd row of the first table on the page */

.md-typeset tr:nth-child(4) td,
.md-typeset tr:nth-child(5) td,
.md-typeset tr:nth-child(6) td {
font-size: 0.92em !important;
padding-top: 0.1em !important;
padding-bottom: 0.1em !important;
background-color: #ffffff !important;
/* Completely hide empty placeholder cards */
.grid.cards > :is(ul, ol) > li:has(.empty-card) {
visibility: hidden !important;
border: none !important;
background: none !important;
box-shadow: none !important;
pointer-events: none !important;
}
/* Style ONLY the 4th, 5th, and 6th rows of the first table on the page */

.md-typeset tr:nth-child(n+7):nth-child(odd) td {
background-color: #f6f8fa !important;
/* Responsive: 2 columns on tablets */
@media screen and (max-width: 960px) {
.grid.cards,
.grid.cards > :is(ul, ol) {
grid-template-columns: repeat(2, 1fr);
}
}
.md-typeset tr:nth-child(n+7):nth-child(even) td {
background-color: #fff !important;

/* Responsive: 1 column on mobile */
@media screen and (max-width: 600px) {
.grid.cards,
.grid.cards > :is(ul, ol) {
grid-template-columns: 1fr;
}
}
/* Style all rows after the 6th row */
</style>
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ markdown_extensions:
- pymdownx.tabbed:
alternate_style: true
- attr_list
- md_in_html
- pymdownx.tilde
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
Expand Down