Skip to content
Myr

webkit scrollbars

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 874a874 · Browse files · 1 file+61 added−28 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+61 added−28 removed

  • other:+61 added−28 removed

1 file+61 added−28 removed

modified:docs/_themes/kr/static/flasky.css_t+61 added-28 removed
6 unmodified lines
7 */89{% set page_width = '940px' %}10{% set sidebar_width = '220px' %}11 1112@import url("basic.css");13 1314/* -- page layout ----------------------------------------------------------- */15 1516body {17 font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro';18 font-size: 17px;19 background-color: white;
22 unmodified lines
4243hr {44 border: 1px solid #B1B4B6;45}46 4647div.body {48 background-color: #ffffff;49 color: #3E4349;50 padding: 0 30px 0 30px;
2 unmodified lines
53img.floatingflask {54 padding: 0 0 10px 10px;55 float: right;56}57 5758div.footer {59 width: {{ page_width }};60 margin: 20px auto 30px auto;61 font-size: 14px;
7 unmodified lines
6970div.related {71 display: none;72}73 7374div.sphinxsidebar a {75 color: #444;76 text-decoration: none;77 border-bottom: 1px dotted #999;
1 unmodified line
7980div.sphinxsidebar a:hover {81 border-bottom: 1px solid #999;82}83 8384div.sphinxsidebar {85 font-size: 14px;86 line-height: 1.5;87}
6 unmodified lines
94 padding: 0 0 20px 0;95 margin: 0;96 text-align: center;97}98 9899div.sphinxsidebar h3,100div.sphinxsidebar h4 {101 font-family: 'Garamond', 'Georgia', serif;102 color: #444;
5 unmodified lines
108109div.sphinxsidebar h4 {110 font-size: 20px;111}112 112113div.sphinxsidebar h3 a {114 color: #444;115}116
2 unmodified lines
119div.sphinxsidebar p.logo a:hover,120div.sphinxsidebar h3 a:hover {121 border: none;122}123 123124div.sphinxsidebar p {125 color: #555;126 margin: 10px 0;127}
2 unmodified lines
130 margin: 10px 0;131 padding: 0;132 color: #000;133}134 134135div.sphinxsidebar input {136 border: 1px solid #ccc;137 font-family: 'Georgia', serif;138 font-size: 1em;139}140 140141/* -- body styles ----------------------------------------------------------- */142 142143a {144 color: #004B6B;145 text-decoration: underline;146}147 147148a:hover {149 color: #6D4100;150 text-decoration: underline;151}152 152153div.body h1,154div.body h2,155div.body h3,156div.body h4,
3 unmodified lines
160 font-weight: normal;161 margin: 30px 0px 10px 0px;162 padding: 0;163}164 164165div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }166div.body h2 { font-size: 180%; }167div.body h3 { font-size: 150%; }168div.body h4 { font-size: 130%; }169div.body h5 { font-size: 100%; }170div.body h6 { font-size: 100%; }171 171172a.headerlink {173 color: #ddd;174 padding: 0 4px;175 text-decoration: none;176}177 177178a.headerlink:hover {179 color: #444;180 background: #eaeaea;181}182 182183div.body p, div.body dd, div.body li {184 line-height: 1.4em;185}186
38 unmodified lines
225div.note {226 background-color: #eee;227 border: 1px solid #ccc;228}229 229230div.seealso {231 background-color: #ffc;232 border: 1px solid #ff6;233}234 234235div.topic {236 background-color: #eee;237}238 238239p.admonition-title {240 display: inline;241}242 242243p.admonition-title:after {244 content: ":";245}246
85 unmodified lines
332ul, ol {333 margin: 10px 0 10px 30px;334 padding: 0;335}336 336337pre {338 background: #eee;339 padding: 7px 30px;340 margin: 15px -30px;
8 unmodified lines
349dl dl pre {350 margin-left: -90px;351 padding-left: 90px;352}353 353354tt {355 background-color: #ecf0f3;356 color: #222;357 /* padding: 1px 2px; */
29 unmodified lines
387}388389390@media screen and (max-width: 600px) {391 391392 div.sphinxsidebar {393 display: none;394 }395
26 unmodified lines
422 .footer {423 width: auto;424 }425426 427 426427428}429430431/* scrollbars */432433::-webkit-scrollbar {434 width: 6px;435 height: 6px;436}437438::-webkit-scrollbar-button:start:decrement,439::-webkit-scrollbar-button:end:increment {440 display: block;441 height: 10px;442}443444::-webkit-scrollbar-button:vertical:increment {445 background-color: #fff;446}447448::-webkit-scrollbar-track-piece {449 background-color: #eee;450 -webkit-border-radius: 3px;451}452453::-webkit-scrollbar-thumb:vertical {454 height: 50px;455 background-color: #ccc;456 -webkit-border-radius: 3px;457}458459::-webkit-scrollbar-thumb:horizontal {460 width: 50px;461 background-color: #ccc;462 -webkit-border-radius: 3px;463}