Skip to content

Commit

Permalink
front page container fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cadentj committed Dec 1, 2023
1 parent 450b8f1 commit 19e1131
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
align-items: center;
align-content: stretch;
padding-bottom: 20vh;

overflow: hidden;
}

html[data-theme="light"] {
Expand All @@ -29,6 +31,7 @@ html[data-theme="light"] {

.features {
height: 60vh;
overflow: hidden;
}


Expand All @@ -55,7 +58,7 @@ html[data-theme="light"] {
}

@media only screen and (max-width: 768px) { /* Adjust this value based on your breakpoint for mobile */
.front-container, .container {
.front-container, .hero {
height: auto; /* Change from fixed height to auto */
min-height: 50vh; /* Adjust this as needed */
}
Expand All @@ -64,11 +67,11 @@ html[data-theme="light"] {
margin-bottom: 20px; /* Increase bottom margin */
}

.container {
.hero {
margin-bottom: 30px; /* Adjust the bottom margin of the main container */
}

.features {
height: 90vh;
height: 110vh;
}
}
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ nnsight

interpretable neural networks

**nnsight** (/ɛn.saɪt/) is a package for interpreting and manipulating the internals of large models.
**nnsight** (/ɛn.saɪt/) is a package for interpreting and manipulating the internals of large models

.. div:: button-group

Expand Down

0 comments on commit 19e1131

Please sign in to comment.