Skip to content

Commit

Permalink
Merge pull request #3 from mbaudis/main
Browse files Browse the repository at this point in the history
ELIXIR colors
  • Loading branch information
mbaudis authored Nov 15, 2024
2 parents d96df8a + a8fe2b2 commit c3dcfc2
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 18 deletions.
85 changes: 85 additions & 0 deletions docs/css/theme_overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
:root {
--md-accent-fg-color: #023362;
}

.md-grid {
max-width: 1200px;
}

.md-header {
background-color: #023362;
}

nav.md-tabs {
background-color: #023362;
}

.md-header__source {
background-image: url("/img/hCNV-Elixir-logo.svg");
background-repeat: no-repeat;
background-position: right;
}

h1 {
margin-bottom: 0px;
padding-bottom: 0px;
}

h5 {
margin-bottom: 0px;
padding-bottom: 0px;
}

h2 {
/*
border-left: #023362 thin solid;
border-top: #023362 thin solid;
border-bottom: #023362 thin solid;
*/
}

aside.blog-post-aside {
/* border-top: #023362 thin solid;*/
margin-top: 0px;
padding-top: 12px;
}

div.contact_spacer {
display: block;
height: 20px;
}

h3.title_news {
margin-top: 10px;
margin-bottom: 0px;
}

div.tabbed-set {
background-color: #fafafa;
}

.tabbed-content {
padding: 5px;
}

li li {
list-style-type: circle;
}

li li li {
list-style-type: "–";
font-size: 0.9em;
}

.mermaid {
display: flex;
justify-content: center;
}

/* Width manipulations etc. */

/*.md-grid {
max-width: 920px;
}*/


36 changes: 18 additions & 18 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repo_url: https://github.com/ga4gh-beacon/beacon-network
edit_uri: edit/main/docs/
repo_icon: " [:fontawesome-brands-github:](https://github.com/ga4gh-beacon/beacon-network/tree/main/docs)"

# ------------------- Mkdocs Configurattion and Extensions-------------------- #
# ------------------- Mkdocs Configuration and Extensions -------------------- #

extra_css: [css/theme_overrides.css]

Expand Down Expand Up @@ -73,23 +73,23 @@ markdown_extensions:
format: !!python/name:mermaid2.fence_mermaid

theme:
custom_dir: extras
name: material
palette:
primary: teal
logo: img/elixir-white-48x36.svg
favicon: img/elixir-white-48x36.svg
icon:
repo: fontawesome/brands/github-alt
admonition:
warning: lock
security: lock
features:
- content.tabs.link
- search.highlight
- search.share
- navigation.expand
- toc.integrate
custom_dir: extras
name: material
palette:
primary: indigo
logo: img/elixir-white-48x36.svg
favicon: img/elixir-white-48x36.svg
icon:
repo: fontawesome/brands/github-alt
admonition:
warning: lock
security: lock
features:
- content.tabs.link
- search.highlight
- search.share
- navigation.expand
- toc.integrate

# Options
extra:
Expand Down

0 comments on commit c3dcfc2

Please sign in to comment.