Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign docs #32

Merged
merged 11 commits into from
Apr 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
240 changes: 240 additions & 0 deletions doc/_static/xanadu_gallery.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@

/*
Sphinx-Gallery has compatible CSS to fix default sphinx themes
Tested for Sphinx 1.3.1 for all themes: default, alabaster, sphinxdoc,
scrolls, agogo, traditional, nature, haiku, pyramid
Tested for Read the Docs theme 0.1.7 */
.sphx-glr-thumbcontainer {
background: #fff;
border: solid #dedede 0px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
box-shadow: 0 2px 5px 0 rgba(0,0,0,.04),0 2px 25px 2px rgba(0,0,0,.04);
float: left;
margin: 5px;
min-width: 200px;
min-height: 200px;
padding-top: 5px;
position: relative;
text-align: center;
border-radius: 10px;
transition: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.sphx-glr-thumbcontainer:hover {
border: solid #b4ddfc 0px;
box-shadow: 0 2px 5px 0 rgba(0,0,0,.09),0 2px 40px 2px rgba(0,0,0,.09);
transition: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
/*.sphx-glr-thumbcontainer:hover > .figure > img {*/
/*transform: scale(1.08);*/
/*transition: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);*/
/*}*/


.sphx-glr-thumbcontainer a.internal {
bottom: 0;
display: block;
left: 0;
padding: 150px 10px 0;
position: absolute;
right: 0;
top: 0;
color: #575757;
}

/* Next one is to avoid Sphinx traditional theme to cover all the
thumbnail with its default link Background color */
.sphx-glr-thumbcontainer a.internal:hover {
background-color: transparent;
color: #575757;
text-decoration: none;
}

.sphx-glr-thumbcontainer p {
margin: 0 0 .1em 0;
}
.sphx-glr-thumbcontainer .figure {
margin: 10px;
width: 160px;
}
.sphx-glr-thumbcontainer img {
display: inline;
max-height: 160px;
width: 160px;
}
.sphx-glr-thumbcontainer[tooltip]:hover:after {
background: rgba(0, 0, 0, 0.8);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
color: #fff;
content: attr(tooltip);
left: 95%;
padding: 5px 15px;
position: absolute;
z-index: 98;
width: 220px;
bottom: 52%;
display: none;
}
.sphx-glr-thumbcontainer[tooltip]:hover:before {
border: solid;
border-color: #333 transparent;
border-width: 18px 0 0 20px;
bottom: 58%;
content: '';
left: 85%;
position: absolute;
z-index: 99;
display: none;
}

.highlight-pytb pre {
background-color: #ffe4e4;
border: 1px solid #f66;
margin-top: 10px;
padding: 7px;
}

.sphx-glr-script-out {
color: #888;
margin: 0;
}
.sphx-glr-script-out .highlight {
background-color: transparent;
margin-left: 2.5em;
margin-top: -1.4em;
}
.sphx-glr-script-out .highlight pre {
background-color: #fafae2;
border: 0;
max-height: 30em;
overflow: auto;
padding-left: 1ex;
margin: 0px;
word-break: break-word;
}
.sphx-glr-script-out + p {
margin-top: 1.8em;
}
blockquote.sphx-glr-script-out {
margin-left: 0pt;
}

div.sphx-glr-footer {
text-align: center;
margin-bottom: -40px;
}

div.binder-badge {
margin: 1em auto;
vertical-align: middle;
}

div.sphx-glr-download {
margin: 1em auto;
vertical-align: middle;
}

div.sphx-glr-download a {
background-color: #fff;
background-image: none;
border-radius: 0px;
border-bottom: 1px solid #c2c22d;
color: #000;
display: inline-block;
font-weight: bold;
padding: 0ex;
text-align: center;
border: none;
}

div.sphx-glr-download code.download {
display: inline;
white-space: normal;
word-break: normal;
overflow-wrap: break-word;
border: none;
background: none;
font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;

}

div.sphx-glr-download a:hover {
box-shadow: none;
text-decoration: none;
background-image: none;
background-color: #fff;
border-bottom: 1px solid #405c4d;
}

.sphx-glr-example-title > :target::before {
display: block;
content: "";
margin-top: -50px;
height: 50px;
visibility: hidden;
}

ul.sphx-glr-horizontal {
list-style: none;
padding: 0;
}
ul.sphx-glr-horizontal li {
display: inline;
}
ul.sphx-glr-horizontal img {
height: auto !important;
}

.sphx-glr-single-img {
margin: auto;
display: block;
max-width: 100%;
}

.sphx-glr-multi-img {
max-width: 42%;
height: auto;
}

p.sphx-glr-signature a.reference.external {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
padding: 3px;
font-size: 75%;
text-align: right;
margin-left: auto;
display: table;
}
.sphx-glr-download-link-note {
display: none;
}

.container {
width: unset;
}

.sphx-glr-script-out .highlight pre {
background-color: #f7f7f7;
}


#tutorial-type {
display: none;
}


.sphx-glr-download-link-note.admonition.note,
.sphx-glr-signature {
display: none;
}

.sphx-glr-timing {
margin-bottom: 40px;
margin-top: 20px;
text-align: center;
font-size: small;
}
Loading