From 19e11310c69f49171e29d022499d1413d559bca1 Mon Sep 17 00:00:00 2001 From: Caden <35741667+cadentj@users.noreply.github.com> Date: Fri, 1 Dec 2023 13:05:59 -0500 Subject: [PATCH] front page container fix --- docs/source/_static/css/custom.css | 9 ++++++--- docs/source/index.rst | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css index e9651e0d..ca033c64 100644 --- a/docs/source/_static/css/custom.css +++ b/docs/source/_static/css/custom.css @@ -17,6 +17,8 @@ align-items: center; align-content: stretch; padding-bottom: 20vh; + + overflow: hidden; } html[data-theme="light"] { @@ -29,6 +31,7 @@ html[data-theme="light"] { .features { height: 60vh; + overflow: hidden; } @@ -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 */ } @@ -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; } } diff --git a/docs/source/index.rst b/docs/source/index.rst index 94f9d13a..d1587e92 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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