import vhost-audit
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "couscous-readthedocs-template",
|
||||
"dependencies": {
|
||||
"wyrm": "~0.0.x"
|
||||
}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/fontawesome_webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:0.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}img{width:100%;height:auto}}
|
||||
/*# sourceMappingURL=badge_only.css.map */
|
@ -0,0 +1,93 @@
|
||||
.rst-versions
|
||||
position: fixed
|
||||
bottom: 0
|
||||
left: 0
|
||||
width: $nav-desktop-width
|
||||
color: $section-background-color
|
||||
background: darken($menu-background-color, 8%)
|
||||
border-top: solid 10px $menu-background-color
|
||||
font-family: $base-font-family
|
||||
z-index: $z-index-tray
|
||||
a
|
||||
color: $link_color
|
||||
text-decoration: none
|
||||
.rst-badge-small
|
||||
display: none
|
||||
.rst-current-version
|
||||
padding: $base-line-height / 2
|
||||
background-color: darken($menu-background-color, 5%)
|
||||
display: block
|
||||
text-align: right
|
||||
font-size: 90%
|
||||
cursor: pointer
|
||||
color: $green
|
||||
+clearfix
|
||||
.fa
|
||||
color: $section-background-color
|
||||
.fa-book
|
||||
float: left
|
||||
.icon-book
|
||||
float: left
|
||||
&.rst-out-of-date
|
||||
background-color: $red
|
||||
color: $white
|
||||
&.rst-active-old-version
|
||||
background-color: $yellow
|
||||
color: $black
|
||||
&.shift-up .rst-other-versions
|
||||
display: block
|
||||
.rst-other-versions
|
||||
font-size: 90%
|
||||
padding: $base-line-height / 2
|
||||
color: $text-medium
|
||||
display: none
|
||||
hr
|
||||
display: block
|
||||
height: 1px
|
||||
border: 0
|
||||
margin: 20px 0
|
||||
padding: 0
|
||||
border-top: solid 1px lighten($menu-background-color, 5%)
|
||||
dd
|
||||
display: inline-block
|
||||
margin: 0
|
||||
a
|
||||
display: inline-block
|
||||
padding: $base-line-height / 4
|
||||
color: $section-background-color
|
||||
&.rst-badge
|
||||
width: auto
|
||||
bottom: 20px
|
||||
right: 20px
|
||||
left: auto
|
||||
border: none
|
||||
max-width: $nav-desktop-width
|
||||
.icon-book
|
||||
float: none
|
||||
.fa-book
|
||||
float: none
|
||||
&.shift-up .rst-current-version
|
||||
text-align: right
|
||||
.fa-book
|
||||
float: left
|
||||
.icon-book
|
||||
float: left
|
||||
.rst-current-version
|
||||
width: auto
|
||||
height: 30px
|
||||
line-height: 30px
|
||||
padding: 0 $base-line-height / 4
|
||||
display: block
|
||||
text-align: center
|
||||
|
||||
+media($tablet)
|
||||
.rst-versions
|
||||
width: 85%
|
||||
display: none
|
||||
&.shift
|
||||
display: block
|
||||
img
|
||||
width: 100%
|
||||
height: auto
|
||||
|
||||
|
@ -0,0 +1,68 @@
|
||||
// Slimmer version of FA for use on the badge_only.sass file.
|
||||
|
||||
+font-face(FontAwesome, '#{$font-awesome-dir}fontawesome_webfont')
|
||||
|
||||
.fa:before
|
||||
display: inline-block
|
||||
font-family: FontAwesome
|
||||
font-style: normal
|
||||
font-weight: normal
|
||||
line-height: 1
|
||||
text-decoration: inherit
|
||||
+font-smooth
|
||||
|
||||
a .fa
|
||||
display: inline-block
|
||||
text-decoration: inherit
|
||||
|
||||
|
||||
li
|
||||
.fa
|
||||
display: inline-block
|
||||
.fa-large:before,
|
||||
.fa-large:before
|
||||
/* 1.5 increased font size for fa-large * 1.25 width
|
||||
width: 1.5 * 1.25em
|
||||
|
||||
ul.fas
|
||||
list-style-type: none
|
||||
margin-left: 2em
|
||||
text-indent: -0.8em
|
||||
li
|
||||
.fa
|
||||
width: .8em
|
||||
.fa-large:before,
|
||||
.fa-large:before
|
||||
/* 1.5 increased font size for fa-large * 1.25 width
|
||||
vertical-align: baseline
|
||||
// width: 1.5*1.25em
|
||||
|
||||
.fa-book:before
|
||||
content: "\f02d"
|
||||
|
||||
.icon-book:before
|
||||
content: "\f02d"
|
||||
|
||||
.fa-caret-down:before
|
||||
content: "\f0d7"
|
||||
|
||||
.icon-caret-down:before
|
||||
content: "\f0d7"
|
||||
|
||||
.fa-caret-up:before
|
||||
content: "\f0d8"
|
||||
|
||||
.icon-caret-up:before
|
||||
content: "\f0d8"
|
||||
|
||||
.fa-caret-left:before
|
||||
content: "\f0d9"
|
||||
|
||||
.icon-caret-left:before
|
||||
content: "\f0d9"
|
||||
|
||||
.fa-caret-right:before
|
||||
content: "\f0da"
|
||||
|
||||
.icon-caret-right:before
|
||||
content: "\f0da"
|
@ -0,0 +1,25 @@
|
||||
.wy-breadcrumbs li
|
||||
display: inline-block
|
||||
&.wy-breadcrumbs-aside
|
||||
float: right
|
||||
a
|
||||
display: inline-block
|
||||
padding: 5px
|
||||
&:first-child
|
||||
padding-left: 0
|
||||
.wy-breadcrumbs-extra
|
||||
margin-bottom: 0
|
||||
color: $text-light
|
||||
font-size: 80%
|
||||
display: inline-block
|
||||
|
||||
|
||||
+media($mobile)
|
||||
.wy-breadcrumbs-extra
|
||||
display: none
|
||||
.wy-breadcrumbs li.wy-breadcrumbs-aside
|
||||
display: none
|
||||
|
||||
@media print
|
||||
.wy-breadcrumbs li.wy-breadcrumbs-aside
|
||||
display: none
|
@ -0,0 +1,22 @@
|
||||
.icon
|
||||
@extend .fa
|
||||
.icon-home
|
||||
@extend .fa-home
|
||||
.icon-search
|
||||
@extend .fa-search
|
||||
.icon-book
|
||||
@extend .fa-book
|
||||
.icon-caret-down
|
||||
@extend .fa-caret-down
|
||||
.icon-github
|
||||
@extend .fa-github
|
||||
.icon-bitbucket
|
||||
@extend .fa-bitbucket
|
||||
.icon-fire
|
||||
@extend .fa-fire
|
||||
.icon-circle-arrow-right
|
||||
@extend .fa-arrow-circle-right
|
||||
.icon-circle-arrow-left
|
||||
@extend .fa-arrow-circle-left
|
||||
.icon-link
|
||||
@extend .fa-link
|
@ -0,0 +1,292 @@
|
||||
.wy-affix
|
||||
position: fixed
|
||||
top: $gutter
|
||||
|
||||
.wy-menu
|
||||
a:hover
|
||||
text-decoration: none
|
||||
|
||||
.wy-menu-horiz
|
||||
+clearfix
|
||||
ul, li
|
||||
display: inline-block
|
||||
li:hover
|
||||
background: rgba(255,255,255,.1)
|
||||
li
|
||||
&.divide-left
|
||||
border-left: solid 1px hsl(0, 0%, 25%)
|
||||
&.divide-right
|
||||
border-right: solid 1px hsl(0, 0%, 25%)
|
||||
a
|
||||
height: $base-font-size * 2
|
||||
display: inline-block
|
||||
line-height: $base-font-size * 2
|
||||
padding: 0 $base-font-size
|
||||
|
||||
.wy-menu-vertical
|
||||
header
|
||||
height: $base-font-size * 2
|
||||
display: inline-block
|
||||
line-height: $base-font-size * 2
|
||||
padding: 0 $gutter
|
||||
display: block
|
||||
font-weight: bold
|
||||
text-transform: uppercase
|
||||
font-size: 80%
|
||||
color: $menu-logo-color
|
||||
white-space: nowrap
|
||||
|
||||
ul
|
||||
margin-bottom: 0
|
||||
li
|
||||
&.divide-top
|
||||
border-top: solid 1px hsl(0, 0%, 25%)
|
||||
&.divide-bottom
|
||||
border-bottom: solid 1px hsl(0, 0%, 25%)
|
||||
&.current
|
||||
background: darken($section-background-color, 10%)
|
||||
a
|
||||
color: $text-medium
|
||||
border-right: solid 1px darken($section-background-color, 20%)
|
||||
padding: $gutter / 4 $gutter * 1.5
|
||||
&:hover
|
||||
background: darken($section-background-color, 15%)
|
||||
// On state for the first level
|
||||
li.on a, li.current > a
|
||||
color: $text-color
|
||||
padding: $gutter / 4 $gutter
|
||||
font-weight: bold
|
||||
position: relative
|
||||
background: $section-background-color
|
||||
border: none
|
||||
border-bottom: solid 1px darken($section-background-color, 20%)
|
||||
border-top: solid 1px darken($section-background-color, 20%)
|
||||
padding-left: $gutter -4px
|
||||
+font-smooth
|
||||
&:hover
|
||||
background: $section-background-color
|
||||
// This is the on state for pages beyond second level
|
||||
li.toctree-l2.current > a
|
||||
background: darken($section-background-color, 20%)
|
||||
padding: $gutter / 4 $gutter * 1.5
|
||||
li.current ul
|
||||
display: block
|
||||
li ul
|
||||
margin-bottom: 0
|
||||
display: none
|
||||
.local-toc
|
||||
li ul
|
||||
display: block
|
||||
li ul li a
|
||||
margin-bottom: 0
|
||||
color: $text-light
|
||||
font-weight: normal
|
||||
a
|
||||
display: inline-block
|
||||
line-height: 18px
|
||||
padding: $gutter / 4 $gutter
|
||||
display: block
|
||||
position: relative
|
||||
font-size: 90%
|
||||
color: $text-light
|
||||
&:hover
|
||||
background-color: lighten($menu-background-color, 10%)
|
||||
cursor: pointer
|
||||
&:active
|
||||
background-color: $menu-logo-color
|
||||
cursor: pointer
|
||||
color: $white
|
||||
|
||||
.wy-side-nav-search
|
||||
z-index: $z-index-popover
|
||||
background-color: $link-color
|
||||
text-align: center
|
||||
padding: $gutter / 2
|
||||
display: block
|
||||
color: $section-background-color
|
||||
margin-bottom: $gutter / 2
|
||||
input[type=text]
|
||||
width: 100%
|
||||
border-radius: 50px
|
||||
padding: 6px 12px
|
||||
border-color: darken($link-color, 5%)
|
||||
img
|
||||
display: block
|
||||
margin: auto auto $gutter / 2 auto
|
||||
height: 45px
|
||||
width: 45px
|
||||
background-color: $menu-logo-color
|
||||
padding: 5px
|
||||
border-radius: 100%
|
||||
> a, .wy-dropdown > a
|
||||
color: $section-background-color
|
||||
font-size: 100%
|
||||
font-weight: bold
|
||||
display: inline-block
|
||||
padding: $base-line-height / 6 $base-line-height / 4
|
||||
margin-bottom: $gutter / 2
|
||||
+font-smooth
|
||||
&:hover
|
||||
background: rgba(255,255,255,.1)
|
||||
|
||||
.wy-nav .wy-menu-vertical
|
||||
header
|
||||
color: $link-color
|
||||
a
|
||||
color: $text-light
|
||||
&:hover
|
||||
background-color: $link-color
|
||||
color: $white
|
||||
|
||||
[data-menu-wrap]
|
||||
+transition(all .2s ease-in)
|
||||
position: absolute
|
||||
opacity: 1
|
||||
width: 100%
|
||||
opacity: 0
|
||||
&.move-center
|
||||
left: 0
|
||||
right: auto
|
||||
opacity: 1
|
||||
&.move-left
|
||||
right: auto
|
||||
left: -100%
|
||||
opacity: 0
|
||||
&.move-right
|
||||
right: -100%
|
||||
left: auto
|
||||
opacity: 0
|
||||
|
||||
|
||||
.wy-body-for-nav
|
||||
background: left repeat-y $section-background-color
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxOERBMTRGRDBFMUUxMUUzODUwMkJCOThDMEVFNURFMCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxOERBMTRGRTBFMUUxMUUzODUwMkJCOThDMEVFNURFMCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjE4REExNEZCMEUxRTExRTM4NTAyQkI5OEMwRUU1REUwIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjE4REExNEZDMEUxRTExRTM4NTAyQkI5OEMwRUU1REUwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+EwrlwAAAAA5JREFUeNpiMDU0BAgwAAE2AJgB9BnaAAAAAElFTkSuQmCC)
|
||||
background-size: $nav-desktop-width 1px
|
||||
|
||||
.wy-grid-for-nav
|
||||
position: absolute
|
||||
width: 100%
|
||||
height: 100%
|
||||
|
||||
.wy-nav-side
|
||||
position: absolute
|
||||
top: 0
|
||||
left: 0
|
||||
width: $nav-desktop-width
|
||||
overflow: hidden
|
||||
min-height: 100%
|
||||
background: $menu-background-color
|
||||
z-index: $z-index-popover
|
||||
|
||||
.wy-nav-top
|
||||
display: none
|
||||
background: $link-color
|
||||
color: $white
|
||||
padding: $gutter / 4 $gutter / 2
|
||||
position: relative
|
||||
line-height: 50px
|
||||
text-align: center
|
||||
font-size: 100%
|
||||
+clearfix
|
||||
a
|
||||
color: $white
|
||||
font-weight: bold
|
||||
+font-smooth
|
||||
img
|
||||
margin-right: $base-line-height / 2
|
||||
height: 45px
|
||||
width: 45px
|
||||
background-color: $menu-logo-color
|
||||
padding: 5px
|
||||
border-radius: 100%
|
||||
i
|
||||
font-size: 30px
|
||||
float: left
|
||||
cursor: pointer
|
||||
|
||||
.wy-nav-content-wrap
|
||||
margin-left: $nav-desktop-width
|
||||
background: $section-background-color
|
||||
min-height: 100%
|
||||
|
||||
.wy-nav-content
|
||||
padding: $gutter $gutter * 2
|
||||
height: 100%
|
||||
max-width: 800px
|
||||
margin: auto
|
||||
|
||||
.wy-body-mask
|
||||
position: fixed
|
||||
width: 100%
|
||||
height: 100%
|
||||
background: rgba(0,0,0,.2)
|
||||
display: none
|
||||
z-index: $z-index-modal - 1
|
||||
&.on
|
||||
display: block
|
||||
footer
|
||||
color: $gray-light
|
||||
p
|
||||
margin-bottom: $base-line-height / 2
|
||||
|
||||
.rst-footer-buttons
|
||||
+clearfix
|
||||
|
||||
#search-results
|
||||
.search li
|
||||
margin-bottom: $base-line-height
|
||||
border-bottom: solid 1px $table_border_color
|
||||
padding-bottom: $base-line-height
|
||||
.search li:first-child
|
||||
border-top: solid 1px $table_border_color
|
||||
padding-top: $base-line-height
|
||||
.search li a
|
||||
font-size: 120%
|
||||
margin-bottom: $base-line-height / 2
|
||||
display: inline-block
|
||||
.context
|
||||
color: $text-medium
|
||||
font-size: 90%
|
||||
|
||||
|
||||
+media($tablet)
|
||||
.wy-body-for-nav
|
||||
background: $section-background-color
|
||||
.wy-nav-top
|
||||
display: block
|
||||
.wy-nav-side
|
||||
@if $nav-desktop-position == left
|
||||
left: -$nav-desktop-width
|
||||
@else
|
||||
right: -$nav-desktop-width
|
||||
&.shift
|
||||
width: 85%
|
||||
left: 0
|
||||
.wy-nav-content-wrap
|
||||
margin-left: 0
|
||||
.wy-nav-content
|
||||
padding: $gutter
|
||||
&.shift
|
||||
position: fixed
|
||||
min-width: 100%
|
||||
left: 85%
|
||||
top: 0
|
||||
height: 100%
|
||||
overflow: hidden
|
||||
|
||||
+media($desktop-wider)
|
||||
.wy-nav-content-wrap
|
||||
background: rgba(0,0,0,.05)
|
||||
.wy-nav-content
|
||||
margin: 0
|
||||
background: $section-background-color
|
||||
|
||||
@media print
|
||||
.rst-versions, footer, .wy-nav-side
|
||||
display: none
|
||||
.wy-nav-content-wrap
|
||||
margin-left: 0
|
||||
|
||||
nav.stickynav
|
||||
position: fixed
|
||||
top: 0
|
@ -0,0 +1,5 @@
|
||||
span[id*='MathJax-Span']
|
||||
color: $mathjax-color
|
||||
|
||||
.math
|
||||
text-align: center
|
@ -0,0 +1,282 @@
|
||||
// -------------------------------------------------------------------------------------------------------------------
|
||||
// CONTRIBUTORS, PLEASE READ THIS!
|
||||
// -------------------------------------------------------------------------------------------------------------------
|
||||
// Couple things...
|
||||
// 1. Lots of this @extends from wyrm_core/_type.sass (http://www.github.com/snide/wyrm/.
|
||||
// * Try not to replace any @extends code. It's pretty generic stuff meant to work together.
|
||||
// * That said, know that I'm very unlikely to accept PRs from wyrm just to change style here.
|
||||
// 2. I plan to remove the !importants in here. Part of it is due to lazyness, part to sphinx's fondness for nesting.
|
||||
// 3. Try to use variables from wyrm_core/wy_variables.sass. Notable are...
|
||||
// * $base-line-height // All margins, padding and line-height should use this in .25 increments.
|
||||
// * $text-color, $text-light, $text-dark...etc
|
||||
// * $base-font-family, $custom-font-family, $code-font-family
|
||||
// 4. If you have changes for mobile/tablet, put them at the bottom of the sass file.
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
.rst-content
|
||||
// Sphinx by default applies HxW style attributes to images. This fixes that oversite.
|
||||
img
|
||||
max-width: 100%
|
||||
height: auto !important
|
||||
|
||||
div.figure
|
||||
margin-bottom: $base-line-height
|
||||
|
||||
div.figure.align-center
|
||||
text-align: center
|
||||
|
||||
// Usually it's a good idea to give images some space.
|
||||
.section > img, .section > a > img
|
||||
margin-bottom: $base-line-height
|
||||
// Questionable whether this is nice or not. It styles eternal links, but comes with some baggage.
|
||||
// a.reference.external:after
|
||||
// font-family: FontAwesome
|
||||
// content: " \f08e "
|
||||
// color: $text-light
|
||||
// vertical-align: super
|
||||
// font-size: 60%
|
||||
|
||||
// For the most part, its safe to assume that sphinx wants you to use a blockquote as an indent. It gets
|
||||
// used in many different ways, so don't assume you can apply some fancy style, just leave it be.
|
||||
blockquote
|
||||
margin-left: $base-line-height
|
||||
line-height: $base-line-height
|
||||
margin-bottom: $base-line-height
|
||||
.literal-block, pre.literal-block
|
||||
@extend .codeblock
|
||||
// These are the various note pullouts that sphinx applies
|
||||
.note, .attention, .caution, .danger, .error, .hint, .important, .tip, .warning, .seealso, .admonition-todo
|
||||
@extend .wy-alert
|
||||
.last
|
||||
margin-bottom: 0
|
||||
.admonition-title
|
||||
@extend .wy-alert-title
|
||||
@extend .fa
|
||||
@extend .fa-exclamation-circle
|
||||
&:before
|
||||
margin-right: 4px
|
||||
.note, .seealso
|
||||
@extend .wy-alert.wy-alert-info
|
||||
.hint, .tip, .important
|
||||
@extend .wy-alert.wy-alert-success
|
||||
.error, .danger
|
||||
@extend .wy-alert.wy-alert-danger
|
||||
.warning, .caution, .attention, .admonition-todo
|
||||
@extend .wy-alert.wy-alert-warning
|
||||
// Some people put tables in notes. Let's give them very basic support.
|
||||
.admonition table
|
||||
border-color: rgba(0,0,0,.1)
|
||||
td, th
|
||||
background: transparent !important
|
||||
border-color: rgba(0,0,0,.1) !important
|
||||
.section ul, .toctree-wrapper ul
|
||||
@extend .wy-plain-list-disc
|
||||
.section ol.loweralpha, .section ol.loweralpha li
|
||||
list-style: lower-alpha
|
||||
.section ol.upperalpha, .section ol.upperalpha li
|
||||
list-style: upper-alpha
|
||||
.section ol, ol.arabic
|
||||
@extend .wy-plain-list-decimal
|
||||
.section ol p, .section ul p
|
||||
margin-bottom: $base-line-height / 2
|
||||
.line-block
|
||||
margin-left: $base-line-height
|
||||
|
||||
// Generics handling of headings and toc stuff.
|
||||
.topic-title
|
||||
font-weight: bold
|
||||
margin-bottom: $base-line-height / 2
|
||||
.toc-backref
|
||||
color: $text-color
|
||||
.align-right
|
||||
float: right
|
||||
margin: 0px 0px $base-line-height $base-line-height
|
||||
.align-left
|
||||
float: left
|
||||
margin: 0px $base-line-height $base-line-height 0px
|
||||
.align-center
|
||||
margin: auto
|
||||
display: block
|
||||
|
||||
// This is the #href that shows up on hover. Sphinx's is terrible so I hack it away.
|
||||
h1, h2, h3, h4, h5, h6, dl dt
|
||||
.headerlink
|
||||
display: none
|
||||
visibility: hidden
|
||||
font-size: 14px
|
||||
@extend .fa
|
||||
&:after
|
||||
visibility: visible
|
||||
content: "\f0c1"
|
||||
font-family: FontAwesome
|
||||
display: inline-block
|
||||
&:hover .headerlink
|
||||
display: inline-block
|
||||
|
||||
// Sidebar content. You'll see at the bottom of this file I change it in mobile.
|
||||
.sidebar
|
||||
float: right
|
||||
width: 40%
|
||||
display: block
|
||||
margin: 0 0 $base-line-height $base-line-height
|
||||
padding: $base-line-height
|
||||
background: $table-stripe-color
|
||||
border: solid 1px $table-border-color
|
||||
// Sidebar content is usually less relevant, so adjust the margins and sizes.
|
||||
p, ul, dl
|
||||
font-size: 90%
|
||||
.last
|
||||
margin-bottom: 0
|
||||
.sidebar-title
|
||||
display: block
|
||||
font-family: $custom-font-family
|
||||
font-weight: bold
|
||||
background: $table-border-color
|
||||
padding: $base-line-height / 4 $base-line-height / 2
|
||||
margin: -$base-line-height
|
||||
margin-bottom: $base-line-height
|
||||
font-size: 100%
|
||||
// Sphinx can highlight searched text with ?highlighted=searchterm
|
||||
.highlighted
|
||||
background: $yellow
|
||||
display: inline-block
|
||||
font-weight: bold
|
||||
padding: 0 $base-line-height / 4
|
||||
|
||||
// These are the little citation links [1] that show up within paragraphs.
|
||||
.footnote-reference, .citation-reference
|
||||
vertical-align: super
|
||||
font-size: 90%
|
||||
|
||||
// Tables! Sphinx LOVES TABLES. Most of wyrm assumes you're only going to use a table as a table
|
||||
// so I have to write a bunch of unique stuff for Sphinx to style them up differently like it's 2003.
|
||||
table.docutils.citation, table.docutils.footnote
|
||||
background: none
|
||||
border: none
|
||||
color: $gray-light
|
||||
td, tr
|
||||
border: none
|
||||
background-color: transparent !important
|
||||
white-space: normal
|
||||
td.label
|
||||
padding-left: 0
|
||||
padding-right: 0
|
||||
vertical-align: top
|
||||
table.docutils
|
||||
@extend .wy-table
|
||||
@extend .wy-table-bordered-all
|
||||
&:not(.field-list)
|
||||
@extend .wy-table-striped
|
||||
// This table is what gets spit out for auto-generated API stuff. I style it smaller bits of padding.
|
||||
table.field-list
|
||||
@extend .wy-table
|
||||
border: none
|
||||
td
|
||||
border: none
|
||||
padding-top: 5px
|
||||
td > strong
|
||||
display: inline-block
|
||||
margin-top: 3px
|
||||
.field-name
|
||||
padding-right: 10px
|
||||
text-align: left
|
||||
white-space: nowrap
|
||||
.field-body
|
||||
text-align: left
|
||||
padding-left: 0
|
||||
|
||||
// These are the "literals" that get spit out when you mark stuff as ``code`` as your write.
|
||||
tt
|
||||
@extend code
|
||||
color: $black
|
||||
big, em
|
||||
font-size: 100% !important
|
||||
line-height: normal
|
||||
|
||||
.xref, a &
|
||||
font-weight: bold
|
||||
// If the literal is inside an a tag, let's color it like a link
|
||||
a tt
|
||||
color: $link-color
|
||||
dl
|
||||
margin-bottom: $base-line-height
|
||||
dt
|
||||
font-weight: bold
|
||||
// Most of the content within these dls are one liners, so I halve the normal margins.
|
||||
p, table, ul, ol
|
||||
margin-bottom: $base-line-height / 2 !important
|
||||
// rST seems to want dds to be treated as the browser would, indented.
|
||||
dd
|
||||
margin: 0 0 $base-line-height / 2 $base-line-height
|
||||
// This is what Sphinx spits out for it's autodocs. Depending upon what language the person is referencing
|
||||
// these things usually have a class of "method" or "class" or something similar, but really who knows.
|
||||
// Sphinx doesn't give me a generic class on these, so unfortunately I have to apply it to the root dl.
|
||||
// This makes me terribly unhappy and makes this code very nesty. Unfortunately I've seen hand-written docs
|
||||
// that output similar, but not quite the same nesting so this is really the best we can do.
|
||||
dl:not(.docutils)
|
||||
margin-bottom: $base-line-height
|
||||
// This would be the equivilant of a .. class::
|
||||
dt
|
||||
display: inline-block
|
||||
margin: $base-line-height / 4 0
|
||||
font-size: 90%
|
||||
line-height: normal
|
||||
background: lighten($blue, 50%)
|
||||
color: $blue
|
||||
border-top: solid 3px lighten($blue, 20%)
|
||||
padding: $base-line-height / 4
|
||||
position: relative
|
||||
&:before
|
||||
color: lighten($blue, 20%)
|
||||
.headerlink
|
||||
color: $text-color
|
||||
font-size: 100% !important
|
||||
// And this would be the .. method::
|
||||
dl dt
|
||||
margin-bottom: $base-line-height / 4
|
||||
border: none
|
||||
border-left: solid 3px hsl(0,0%,80%)
|
||||
background: hsl(0,0%,94%)
|
||||
color: $text-medium
|
||||
.headerlink
|
||||
color: $text-color
|
||||
font-size: 100% !important
|
||||
dt:first-child
|
||||
margin-top: 0
|
||||
// Since dts get the callout style, we treat this less as callouts.
|
||||
tt
|
||||
font-weight: bold
|
||||
&.descname, &.descclassname
|
||||
background-color: transparent
|
||||
border: none
|
||||
padding: 0
|
||||
font-size: 100% !important
|
||||
&.descname
|
||||
font-weight: bold
|
||||
// This is for more advanced parameter control
|
||||
.optional
|
||||
display: inline-block
|
||||
padding: 0 4px
|
||||
color: $black
|
||||
font-weight: bold
|
||||
.property
|
||||
display: inline-block
|
||||
padding-right: 8px
|
||||
// Doc links to sourcecode
|
||||
.viewcode-link, .viewcode-back
|
||||
display: inline-block
|
||||
color: $green
|
||||
font-size: 80%
|
||||
padding-left: $base-line-height
|
||||
.viewcode-back
|
||||
display: block
|
||||
float: right
|
||||
p.rubric
|
||||
margin-bottom: 12px
|
||||
font-weight: bold
|
||||
|
||||
// Mobile specific
|
||||
+media($mobile)
|
||||
.rst-content
|
||||
.sidebar
|
||||
width: 100%
|
@ -0,0 +1,12 @@
|
||||
// In here are varibles used for sphinx_rtd_theme, they either add to or overwrite the default ones
|
||||
// that are set in wyrm_core/wy_variables.sass. You'll find wyrm in bower_components if you're looking
|
||||
// for a reference.
|
||||
|
||||
$font-awesome-dir: "../font/"
|
||||
$static-img: "../img/"
|
||||
$mathjax-color: $text-color
|
||||
|
||||
$base-font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif
|
||||
$custom-font-family: "Roboto Slab", "ff-tisa-web-pro", "Georgia", Arial, sans-serif
|
||||
$custom-font-family2: Georgia, serif
|
||||
$code-font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace
|
@ -0,0 +1,16 @@
|
||||
// ------------------------------------------------------------
|
||||
// CONTRIBUTORS, PLEASE READ THIS!
|
||||
// ------------------------------------------------------------
|
||||
// This generates the RTD sticky badge for non RTD themes. As
|
||||
// always, only files labeled "theme_*.sass should be edited".
|
||||
// ------------------------------------------------------------
|
||||
$border-box-sizing: false !default
|
||||
|
||||
@import wyrm_core/wy_variables
|
||||
@import "theme_variables"
|
||||
@import bourbon
|
||||
@import neat
|
||||
@import wyrm_core/mixin
|
||||
@import wyrm_core/grid_settings
|
||||
@import "theme_badge_fa"
|
||||
@import "theme_badge"
|
@ -0,0 +1,53 @@
|
||||
// ------------------------------------------------------------
|
||||
// CONTRIBUTORS, PLEASE READ THIS!
|
||||
// ------------------------------------------------------------
|
||||
// This theme pulls from other frontend projects. The only
|
||||
// things you should edit are the sass files that start with
|
||||
// "theme_*.sass". All other files are loaded through bower.
|
||||
// ------------------------------------------------------------
|
||||
|
||||
// Variable defaults set by Wyrm
|
||||
@import wyrm_core/wy_variables
|
||||
|
||||
// Variable overrides that change coloring and fonts for this theme.
|
||||
@import "theme_variables"
|
||||
|
||||
// bourbon.io framework
|
||||
@import bourbon
|
||||
|
||||
// Bourbon.io/neat framework, with some default media queries
|
||||
@import wyrm_core/grid_settings
|
||||
@import neat
|
||||
// Some corrections for neat
|
||||
@import wyrm_core/neat_extra
|
||||
|
||||
// Custom reset
|
||||
@import wyrm_core/reset
|
||||
|
||||
// Wyrm mixins
|
||||
@import wyrm_core/mixin
|
||||
|
||||
// Font Awesome 4.0 with wyrm extras
|
||||
@import font-awesome
|
||||
@import wyrm_core/font_icon_defaults
|
||||
|
||||
// Wyrm core styles used in this theme
|
||||
@import wyrm_core/alert
|
||||
@import wyrm_core/button
|
||||
@import wyrm_core/dropdown
|
||||
@import wyrm_core/form
|
||||
@import wyrm_core/generic
|
||||
@import wyrm_core/table
|
||||
@import wyrm_core/type
|
||||
|
||||
// Pygments styling
|
||||
@import wyrm_addons/pygments/pygments
|
||||
@import wyrm_addons/pygments/pygments_light
|
||||
|
||||
// Theme specific styles. These are likely the files you want to edit.
|
||||
@import "theme_breadcrumbs"
|
||||
@import "theme_layout"
|
||||
@import "theme_badge"
|
||||
@import "theme_rst"
|
||||
@import "theme_mathjax"
|
||||
@import "theme_font_awesome_compatibility"
|
Reference in New Issue
Block a user