Skip to content

Commit

Permalink
Harmonize docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieuh authored Jul 31, 2020
1 parent 4385f44 commit 09cb82f
Show file tree
Hide file tree
Showing 13 changed files with 990 additions and 66 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions docs/content/assets/styles/content.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
.md-container {
padding-top: 0;
}

.md-content h1 {
color: var(--dark) !important;
font-weight: bold !important;
}

.md-content a {
color: var(--blue) !important;
}

.md-content a:hover {
font-weight: bold !important;
}

.md-typeset p code,
.md-typeset .codehilite,
.md-typeset .highlight {
background-color: var(--light-blue) !important;
}

.md-typeset table:not([class]) th {
background: var(--dark) !important;
color: white !important;
}

/* Front page image size */
img[src$='#small'] {
width: 150px;
}
img[src$='#medium'] {
width: 300px;
}

/* Center table and objects */
.center,
img,
.md-typeset__table {
display: block !important;
margin: 0 auto;
}

.md-typeset table:not([class]) tr td:first-child {
text-align: left;
}
.md-typeset table:not([class]) th:not([align]),
.md-typeset table:not([class]) td:not([align]) {
text-align: center;
}
article p:not([class]),
article ul:not([class]),
article ol:not([class]) {
padding-left: 0.8em !important;
}

/* Fix for Chrome */
.md-typeset__table td code {
word-break: unset;
}

.md-typeset__table tr :nth-child(1) {
word-wrap: break-word;
max-width: 30em;
}

p {
text-align: justify;
}
64 changes: 0 additions & 64 deletions docs/content/assets/styles/extra.css

This file was deleted.

10 changes: 10 additions & 0 deletions docs/content/assets/styles/footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.md-footer-meta {
background-color: var(--dark);
}

.md-footer-privacy-policy {
margin: 0 .6rem;
padding: .4rem 0;
color: hsla(0,0%,100%,.3);
font-size: .64rem;
}
Loading

0 comments on commit 09cb82f

Please sign in to comment.