Skip to content

Commit

Permalink
css style
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Dec 20, 2024
1 parent ea8d7b1 commit 36bb707
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions docs/source/_static/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,400;0,600;1,400;1,600&display=swap');

body {
font-family: 'Open Sans', sans-serif;
}

h1 {
font-family: "Lato", sans-serif;
}

pre,
code {
font-size: 100%;
line-height: 155%;
}

/* Main page overview cards */

.sd-card {
border-radius: 0;
padding: 30px 10px 20px 10px;
margin: 10px 0px;
}

.sd-card .sd-card-header {
text-align: center;
}

.sd-card .sd-card-title {
text-align: center;
}

.sd-card .sd-card-header .sd-card-text {
margin: 0px;
}

.sd-card .sd-card-img-top {
height: 52px;
width: 52px;
margin-left: auto;
margin-right: auto;
}

.sd-card .sd-card-header {
border: none;
font-size: var(--pst-font-size-h5);
font-weight: bold;
padding: 2.5rem 0rem 0.5rem 0rem;
}


/*
SPHINX-BOOK-THEME HOTFIX (top-right icons):
https://github.com/executablebooks/sphinx-book-theme/issues/879
*/
.header-article__inner .header-article-items__end,
.header-article__inner .header-article-items__start {
align-items: start;
display: flex;
gap: .5rem;
}

/*
SPHINX-BOOK-THEME HOTFIX (right column vertical stretching fix):
https://github.com/executablebooks/sphinx-book-theme/issues/879
*/
.toc-entry a.nav-link {
padding: .125rem 0 .125rem 1rem;
}

/*
h3 font weight fix (from extra heavy to normal):
https://github.com/executablebooks/sphinx-book-theme/issues/879
*/
h3 {
font-size: 125%;
font-weight: normal;
}

0 comments on commit 36bb707

Please sign in to comment.