Skip to content

Commit

Permalink
Maintain the sphinx design (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
Revathyvenugopal162 committed Nov 28, 2022
1 parent e66c07a commit 78c28a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ __pycache__/

# Distribution / packaging
.Python
_build/
build/
develop-eggs/
dist/
Expand Down
20 changes: 10 additions & 10 deletions src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -301,22 +301,22 @@ p.rubric {
color: var(--pst-color-text-base);
}

.sd-row-cols-lg-4>* {
flex: 0 0 auto;
-ms-flex: 0 0 auto;
width: 25%;
}

.sd-sphinx-override, .sd-sphinx-override * {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background-color: var(--pst-color-background)!important;
background-color: transparent !important;
font-family: var(--pst-font-family-base)!important;
font-size: small;
font-size: medium;
color: var(--pst-color-text-base)!important;
flex: auto;
}

html[data-theme=dark] .sd-shadow-sm {
box-shadow: 0 .1rem 1rem rgba(250, 250, 250, .6) !important
}

html[data-theme=dark] .sd-card-img-top[src*='.png'] {
filter: invert(0.82) brightness(0.8) contrast(1.2);
}

/*
###############
Expand Down

0 comments on commit 78c28a7

Please sign in to comment.