CIDM-Foundation-A1-R1-R2-FIX1-Results / sources /neuraloperator /doc /source /_static /css /custom.css
Download sources/neuraloperator/doc/source/_static/css/custom.css from wuff-mann/CIDM-Foundation-A1-R1-R2-FIX1-Results: direct link, hf CLI and curl.
- Browser
- Download file 2.94 kB
-
https://huggingface.co/datasets/wuff-mann/CIDM-Foundation-A1-R1-R2-FIX1-Results/resolve/main/sources/neuraloperator/doc/source/_static/css/custom.css
- Command line
-
hf download hf://datasets/wuff-mann/CIDM-Foundation-A1-R1-R2-FIX1-Results/sources/neuraloperator/doc/source/_static/css/custom.css
-
curl -L -o custom.css https://huggingface.co/datasets/wuff-mann/CIDM-Foundation-A1-R1-R2-FIX1-Results/resolve/main/sources/neuraloperator/doc/source/_static/css/custom.css
2.94 kB
| /* Custom styles for neuraloperator documentation */ | |
| /* Override sidebar background color - slightly gray */ | |
| #sidebar { | |
| background-color: #f5f5f5 ; /* Slightly gray background */ | |
| } | |
| /* Override top navigation bar - same as left panel */ | |
| .navbar.top-navbar { | |
| background-color: #f5f5f5 ; /* Same slightly gray as left panel */ | |
| border-bottom: 2px solid #dee2e6 ; /* Line separation under top bar */ | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) ; /* Subtle shadow for depth */ | |
| } | |
| /* Ensure navbar text remains readable on slightly gray background */ | |
| .navbar.top-navbar .navbar-item, | |
| .navbar.top-navbar .navbar-link { | |
| color: #333333 ; /* Dark text on slightly gray */ | |
| } | |
| .navbar.top-navbar .navbar-item:hover, | |
| .navbar.top-navbar .navbar-link:hover { | |
| background-color: #e9ecef ; /* Slightly lighter gray on hover */ | |
| color: #333333 ; | |
| } | |
| .navbar.top-navbar .navbar-item.is-active { | |
| background-color: #e9ecef ; | |
| color: #333333 ; | |
| } | |
| /* Ensure main content area stays white */ | |
| .main-content, | |
| .content { | |
| background-color: #ffffff ; | |
| } | |
| /* Custom sidebar menu styling */ | |
| .sidebar-menu { | |
| background-color: inherit; | |
| } | |
| .sidebar-menu-toc { | |
| background-color: inherit; | |
| } | |
| /* Ensure sidebar text remains readable */ | |
| #sidebar a { | |
| color: #333 ; | |
| } | |
| #sidebar a:hover { | |
| color: #007bff ; | |
| } | |
| /* Style for selected/current section in sidebar */ | |
| #sidebar .toctree-l1.current > a, | |
| #sidebar .toctree-l1.current > a.reference.internal { | |
| background-color: #495057 ; /* Dark gray background for selected section */ | |
| color: #ffffff ; /* White text on dark gray */ | |
| border-radius: 4px ; | |
| padding: 8px 12px ; | |
| margin: 2px 0 ; | |
| } | |
| /* Style for active/current page in sidebar */ | |
| #sidebar .toctree-l1.current > a.current, | |
| #sidebar .toctree-l1.current > a.current.reference.internal { | |
| background-color: #343a40 ; /* Even darker gray for current page */ | |
| color: #ffffff ; | |
| font-weight: bold ; | |
| } | |
| /* Reduce width of left and right panels */ | |
| #sidebar { | |
| flex: 0 0 230px ; /* Fixed width of 230px for sidebar */ | |
| max-width: 230px ; | |
| min-width: 230px ; | |
| } | |
| /* Adjust main content area to take up more space */ | |
| .main-column { | |
| flex: 1 ; | |
| min-width: 0 ; /* Allow content to shrink */ | |
| } | |
| /* Override Bulma column classes for narrower panels */ | |
| .column.is-3-desktop { | |
| flex: 0 0 230px ; | |
| max-width: 230px ; | |
| } | |
| .column.is-one-third-tablet { | |
| flex: 0 0 230px ; | |
| max-width: 230px ; | |
| } | |
| /* Ensure responsive behavior is maintained */ | |
| @media screen and (max-width: 768px) { | |
| #sidebar { | |
| flex: 0 0 100% ; | |
| max-width: 100% ; | |
| min-width: 100% ; | |
| } | |
| } | |