Skip to content

Commit

Permalink
Merge pull request #925 from WassCodeur/fix-footer
Browse files Browse the repository at this point in the history
[FIX] Fix footer deformation on hover
  • Loading branch information
skoudoro authored Aug 21, 2024
2 parents ba6ef77 + 94f2d55 commit 5fce9b0
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions docs/source/_static/vendor/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ em {
#feature-card {
height: 475px;
}

#backtotop.visible #backtotop-color:hover {
background: var(--colorHighlight);
}
Expand Down Expand Up @@ -159,7 +160,7 @@ p {
margin-left: 15px;
}

.content-container ol {
.content-container ol {
padding: 10px;
margin-left: 15px;
}
Expand Down Expand Up @@ -248,6 +249,23 @@ p {
background-color: var(--colorPrimaryDark);
}

.footer-columns {
display: flex;
font-weight: bold;
justify-content: space-between;
padding: 20px 5vw;
padding-top: 0;
font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-columns a {
color: #fff;
}

.footer-columns a:hover {
color: #fff;
}

.footer-logo-column {
display: flex;
justify-content: center;
Expand All @@ -266,17 +284,20 @@ p {
flex-shrink: 1;
}

.footer-link, .footer-link:hover {
.footer-link {
font-size: 1rem;
color: var(--colorSecondary);
}

.footer-link .footer-link:hover {
color: var(--colorPrimaryLight);
}

.footer-actions {
max-width: 25vw;
margin: 20px 25px;
}

.footer-actions > p {
.footer-actions>p {
padding-top: 0;
}

Expand Down Expand Up @@ -330,6 +351,10 @@ blockquote p::after {

@media only screen and (max-width: 850px) {

.footer-columns {
flex-direction: column;
}

.footer-column ul.link-list li.link-list {
width: calc(50% - 24px);
display: inline-block;
Expand All @@ -356,7 +381,7 @@ div.sphx-glr-download a {

div.sphx-glr-download a:hover {
background-color: var(--colorPrimaryDark);
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 5px rgba(0, 0, 0, .25);
text-decoration: none;
background-image: none;
}

0 comments on commit 5fce9b0

Please sign in to comment.