Mercurial > repos > padge > clipkit
diff clipkit_repo/docs/_static/custom.css @ 2:e9cf321ee7be draft
"planemo upload for repository https://github.com/jlsteenwyk/clipkit commit cbe1e8577ecb1a46709034a40dff36052e876e7a-dirty"
author | padge |
---|---|
date | Fri, 25 Mar 2022 17:33:41 +0000 |
parents | 49b058e85902 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clipkit_repo/docs/_static/custom.css Fri Mar 25 17:33:41 2022 +0000 @@ -0,0 +1,243 @@ +div.document { + width: 100%; + max-width: 1200px; +} + +body { + font-family: Oxygen, 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif; +} + +.highlight { + margin-top: 25px; +} + +.field-name { + /* Fix for https://github.com/bitprophet/alabaster/issues/95 */ + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; + + width: 110px; /* Prevent "Return type:" from wrapping. */ +} + +dd ul, dd table { + margin-bottom: 1.4em; +} + +table.field-list th, table.field-list td { + padding-top: 1em; +} + +table.field-list tbody tr:first-child th, table.field-list tbody tr:first-child td { + padding-top: 0; +} + +code.docutils.literal { + background-color: rgba(0, 0, 0, 0.06); + padding: 2px 5px 1px 5px; + font-size: 0.88em; +} + +code.xref.docutils.literal { + background-color: transparent; + padding: 0; + font-size: 0.9em; +} + +a:hover, div.sphinxsidebar a:hover, a.reference:hover, a.reference.internal:hover code { + color: #0b81d5; + border-bottom: 1px solid #0b81d5; +} + +a code.literal { + color: #c77c11; + border: none; +} + +.highlight pre span { + line-height: 1.5em; +} + +.field-body { + width: 100%; +} + +.field-body cite { + font-style: normal; + font-weight: bold; +} + +/* Hide theme's default logo section */ +.logo a { + display: none; +} + +#logo { + width: 100%; +} + +#logo a, +#logo a:hover { + border-bottom: none; +} + +#logo img { + margin: 0; + padding: 0; + padding-top: 20px; +} + +#gh-buttons { + margin-top: 2em; + text-align: center; +} + +#dev-warning { + background-color: #ffe; + border: 1px solid #ccc; + padding: 10px; + margin-bottom: 1em; + } + +div.warning { + background-color: #ffe; + border: 1px solid #ccc; +} + +div.note, div.admonition { + background-color: inherit; +} + +div.body h1, +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6, +div.sphinxsidebar h3 { + font-family: Oxygen, 'goudy old style', serif; + font-weight: bold; + color: #444; +} + +div.sphinxsidebar h3 { + margin: 1.5em 0 0 0; +} + +div.sphinxsidebar h4 { + font-family: Oxygen, Garamond, Georgia, serif; +} + +div.sphinxsidebarwrapper { + padding-top: 0; +} + +div.admonition p.admonition-title { + display: block; + line-height: 1.4em; + font-family: Oxygen, Garamond, Georgia, serif; +} + +pre { + background-color: #EEE; + color: #333; + padding: 1.25em 30px; +} + +.highlight pre .p, .highlight pre .o { + color: #333; +} + +/* Fix notes not aligning with the left side of the property text. */ +dd .highlight pre, dd div.admonition { + margin-left: -29px; + padding-left: 29px; +} + +.highlight pre { + font-size: smaller; +} + +.highlight .nt { + color: #4B77BE; +} + +.highlight .s2 { + color: #0b81d5; +} + +/* Fix drifting to the left in some parameters lists. */ +li .highlight pre { + float: right; +} + + +div.admonition { + padding-bottom: 15px; +} + +div input[type="text"] { + padding: 5px; + margin: 0 0 0.5em 0; + font-family: Oxygen, Garamond, Georgia, serif; +} + +div input[type="submit"] { + font-size: 14px; + width: 72px; + height: 27px; + font-weight: 600; + font-family: Oxygen, Garamond, Georgia, serif; + + border: 1px solid #d5d5d5; + border-radius: 3px; + padding: 0 10px; + + color: #333; + background-color: #eee; + background-image: linear-gradient(to bottom,#fcfcfc,#eee); +} + +div input[type="submit"]:hover { + background-color: #ddd; + background-image: linear-gradient(to bottom,#eee,#ddd); + border-color: #ccc; +} + +div input[type="submit"]:active, #searchbox input[type="submit"]:active { + background-color: #dcdcdc; + background-image: none; + border-color: #b5b5b5; + box-shadow: inset 0 2px 4px rgba(0,0,0,.15); +} + +div input[type="submit"]:focus { + outline: none; +} + +input[type=text]:focus { + outline: 1px solid #999; +} + +/* Togglable code blocks */ +.toggle .header { + clear: both; + cursor: pointer; + display: inline-block; + padding: 0.35em 1.2em; + border: 0.1em solid black; + border-radius: 0.125em; +} + +.toggle .header:hover { + background: #eee; +} + +.toggle .header:after { + content: " ▶"; +} + +.toggle .header.open:after { + content: " ▼"; +}