-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% extends "basic/layout.html" %} | ||
|
||
{%- block extrahead %} | ||
{{ super() }} | ||
|
||
<link rel="stylesheet" href="https://pages.nist.gov/nist-header-footer/css/nist-combined.css"> | ||
<script src="https://code.jquery.com/jquery-3.6.2.min.js" type="text/javascript" defer="defer"></script> | ||
{header_footer_script} | ||
{% endblock %} | ||
|
||
|
||
{%- block footer %} | ||
|
||
{{ super() }} | ||
|
||
<!-- Taken from https://www.filamentgroup.com/lab/html-includes/#another-demo%3A-including-another-html-file --> | ||
<iframe src="{{ pathto('_static/ntd2d_menu.html', 1) }}" onload="this.before((this.contentDocument.body||this.contentDocument).children[0]);this.remove()"></iframe> | ||
|
||
{%- endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
@import url("sphinxdoc.css"); | ||
|
||
|
||
.dropbtn { | ||
position: fixed; | ||
right: 20px; | ||
bottom: 20px; | ||
} | ||
|
||
.dropdown { | ||
position: fixed; | ||
display: inline-block; | ||
right: 20px; | ||
left: auto; | ||
width: auto; | ||
bottom: 20px; | ||
top: auto; | ||
height: auto; | ||
z-index: 400; | ||
} | ||
|
||
.dropdown-content { | ||
display: none; | ||
position: relative; | ||
background-color: #f1f1f1; | ||
min-width: 160px; | ||
max-width: 250px; | ||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
z-index: 1; | ||
right: 0px; | ||
left: auto; | ||
bottom: 20px; | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
padding-top: 5px; | ||
padding-bottom: 5px; | ||
font-family: Helvetica; | ||
font-size: smaller; | ||
} | ||
|
||
.dropdown-content h2 { | ||
color: #707070; | ||
font-size: smaller; | ||
} | ||
|
||
.dropdown-content ul { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
} | ||
|
||
.dropdown-content li { | ||
float: left; | ||
} | ||
|
||
.dropdown-content li a { | ||
color: black; | ||
/* padding: 12px 16px; */ | ||
text-decoration: none; | ||
display: block; | ||
border-bottom: 0px; | ||
text-align: center; | ||
padding-left: 6px; | ||
padding-right: 6px; | ||
} | ||
|
||
.dropdown-content hr { | ||
margin-left: -10px; | ||
width: 100%; | ||
margin-right: -10px; | ||
} | ||
|
||
.dropdown-content a:hover {text-decoration: underline;} | ||
|
||
.dropdown:hover .dropdown-content {display: block;} | ||
|
||
.dropdown:hover .dropbtn {background-color: 'ButtonBorder';} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[theme] | ||
inherit = sphinxdoc | ||
stylesheet = ntd2d.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters