Skip to content

Commit

Permalink
Merge pull request #183 from AlexsLemonade/jashapiro/wider-style
Browse files Browse the repository at this point in the history
Make content wider (now back to centered)
  • Loading branch information
jashapiro authored Feb 1, 2024
2 parents 3afe4ae + d3bd741 commit 26ce43f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/_static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ body {
}

.wy-nav-content {
max-width: 900px;
background: #fdfdfd;
}

Expand Down Expand Up @@ -57,8 +58,9 @@ a, a:visited {
}

.wy-nav-side {
background-image: linear-gradient(0deg,#fdfdfd 0%,#edf7fd 100%);
background: linear-gradient(0deg,#fdfdfd 0%,#edf7fd 100%);
color: #000000;
overflow: auto;
}

.wy-menu-vertical a {
Expand Down Expand Up @@ -189,14 +191,18 @@ a, a:visited {
content: "ScPCA Portal"
}

.rst-versions{
margin-left: max(calc(50% - 600px), 0px);
}

div.version {
color: white !important;
}

@media (min-width: 950px) {
.wy-grid-for-nav {
position: relative;
width: 900px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
Expand Down

0 comments on commit 26ce43f

Please sign in to comment.