Skip to content

Commit

Permalink
Revise style of donation badge on mobiles
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed Sep 23, 2024
1 parent 04f810e commit 401e2bc
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions documentation/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,6 @@ vertical li.current > a {
list-style: disc;
}

@media screen and (min-width: 767px) {
.wy-nav-content {
max-width: 100% !important;
}

.wy-table-responsive table td,
.wy-table-responsive table th {
white-space: normal !important;
}

.wy-table-responsive {
overflow: visible !important;
max-width: 100%;
}
}

.donation-banner {
background-color: #fff;
padding: 10px;
Expand All @@ -115,12 +99,32 @@ vertical li.current > a {
}

.donation-icon {
width: 30px;
height: 30px;
vertical-align: middle;
margin-right: 10px;
width: 30px;
height: 30px;
vertical-align: middle;
margin-right: 10px;
}

body {
padding-top: 50px; /* To avoid content overlap */
padding-top: 50px; /* To avoid content overlap */
}

@media screen and (min-width: 767px) {
.wy-nav-content {
max-width: 100% !important;
}

.wy-table-responsive table td,
.wy-table-responsive table th {
white-space: normal !important;
}

.wy-table-responsive {
overflow: visible !important;
max-width: 100%;
}

.donation-banner {
position: relative;
}
}

0 comments on commit 401e2bc

Please sign in to comment.