Skip to content

Commit

Permalink
Clean up sphinx-bootstrap.css: remove left-overs from nature theme (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche authored Sep 10, 2019
1 parent a40d8e0 commit b99581a
Showing 1 changed file with 1 addition and 161 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,136 +13,10 @@

/* -- page layout ----------------------------------------------------------- */

body {
font-family: Arial, sans-serif;
font-size: 100%;
color: #555;
margin: 0;
padding: 0;
}


div.documentwrapper {
width: 100%;
}

div.bodywrapper {
/* ugly hack, probably not attractive with other font size for re*/
margin: 0 0 0 {{ theme_sidebarwidth|toint}}px;
min-width: 540px;
max-width: 800px;
}


hr {
border: 1px solid #B1B4B6;
}

div.document {
background-color: #eee;
}

div.body {
background-color: #ffffff;
color: #3E4349;
padding: 0 30px 30px 30px;
font-size: 0.9em;
}

div.footer {
color: #555;
width: 100%;
padding: 13px 0;
text-align: center;
font-size: 75%;
}

div.footer a {
color: #444;
text-decoration: underline;
}

div.related {
background-color: #6BA81E;
line-height: 32px;
color: #fff;
text-shadow: 0px 1px 0 #444;
font-size: 0.9em;
}

div.related a {
color: #E2F3CC;
}

div.sphinxsidebar {
font-size: 0.75em;
line-height: 1.5em;
width: {{ theme_sidebarwidth|toint }}px;
margin: 0 ;
float: left;

background-color: #eee;
}
/*
div.sphinxsidebarwrapper{
padding: 20px 0;
}
*/
div.sphinxsidebar h3,
div.sphinxsidebar h4 {
font-family: Arial, sans-serif;
color: #222;
font-size: 1.2em;
font-weight: normal;
margin: 20px 0 0 0;
padding: 5px 10px;
background-color: #ddd;
text-shadow: 1px 1px 0 white
}

div.sphinxsidebar h4{
font-size: 1.1em;
}

div.sphinxsidebar h3 a {
color: #444;
}


div.sphinxsidebar p {
color: #888;
/* padding: 5px 20px;*/
}

div.sphinxsidebar p.searchtip {
color: #888;
padding: 5px 20px;
}


div.sphinxsidebar p.topless {
}

div.sphinxsidebar ul {
margin: 10px 20px;
padding: 0;
color: #000;
}

div.sphinxsidebar a {
color: #444;
}

div.sphinxsidebar input {
border: 1px solid #ccc;
font-family: sans-serif;
font-size: 1em;
}

div.sphinxsidebar input[type=text]{
margin-left: 20px;
}

/* -- body styles ----------------------------------------------------------- */

a {
Expand All @@ -155,28 +29,7 @@ a:hover {
text-decoration: underline;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
font-family: Arial, sans-serif;
background-color: #BED4EB;
font-weight: normal;
color: #212224;
margin: 30px 0px 10px 0px;
padding: 5px 0 5px 10px;
text-shadow: 0px 1px 0 white
}

div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; }
div.body h2 { font-size: 150%; background-color: #C8D5E3; }
div.body h3 { font-size: 120%; background-color: #D8DEE3; }
div.body h4 { font-size: 110%; background-color: #D8DEE3; }
div.body h5 { font-size: 100%; background-color: #D8DEE3; }
div.body h6 { font-size: 100%; background-color: #D8DEE3; }

/* section header in docstring pages */
p.rubric {
border-bottom: 1px solid rgb(201, 201, 201);
}
Expand All @@ -193,10 +46,6 @@ a.headerlink:hover {
color: white;
}

div.body p, div.body dd, div.body li {
line-height: 1.5em;
}

div.admonition p.admonition-title + p, div.deprecated p {
display: inline;
}
Expand Down Expand Up @@ -246,20 +95,11 @@ pre {
color: #222;
line-height: 1.2em;
border: 1px solid rgb(201,201,201);
font-size: 1.1em;
margin: 1.5em 0 1.5em 0;
-webkit-box-shadow: 1px 1px 1px #d8d8d8;
-moz-box-shadow: 1px 1px 1px #d8d8d8;
}

tt {
background-color: #ecf0f3;
color: #222;
/* padding: 1px 2px; */
font-size: 1.1em;
font-family: monospace;
}

.viewcode-back {
font-family: Arial, sans-serif;
}
Expand Down

0 comments on commit b99581a

Please sign in to comment.