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
Provenance
- Commit
da726fc- Tree
684716c- Author
Kenneth Reitz <me@kennethreitz.com>- Committer
Kenneth Reitz <me@kennethreitz.com>- Parent
874a874
1 file changed+61 added−28 removed
modified:docs/_themes/kr/static/flasky.css_t+61 added-28 removed
6 unmodified lines7 */8 9 {% set page_width = '940px' %}10 {% set sidebar_width = '220px' %}11- 11+12 @import url("basic.css");13- 13+14 /* -- page layout ----------------------------------------------------------- */15- 15+16 body {17 font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro';18 font-size: 17px;19 background-color: white;22 unmodified lines42 43 hr {44 border: 1px solid #B1B4B6;45 }46- 46+47 div.body {48 background-color: #ffffff;49 color: #3E4349;50 padding: 0 30px 0 30px;2 unmodified lines53 img.floatingflask {54 padding: 0 0 10px 10px;55 float: right;56 }57- 57+58 div.footer {59 width: {{ page_width }};60 margin: 20px auto 30px auto;61 font-size: 14px;7 unmodified lines69 70 div.related {71 display: none;72 }73- 73+74 div.sphinxsidebar a {75 color: #444;76 text-decoration: none;77 border-bottom: 1px dotted #999;1 unmodified line79 80 div.sphinxsidebar a:hover {81 border-bottom: 1px solid #999;82 }83- 83+84 div.sphinxsidebar {85 font-size: 14px;86 line-height: 1.5;87 }6 unmodified lines94 padding: 0 0 20px 0;95 margin: 0;96 text-align: center;97 }98- 98+99 div.sphinxsidebar h3,100 div.sphinxsidebar h4 {101 font-family: 'Garamond', 'Georgia', serif;102 color: #444;5 unmodified lines108 109 div.sphinxsidebar h4 {110 font-size: 20px;111 }112- 112+113 div.sphinxsidebar h3 a {114 color: #444;115 }116 2 unmodified lines119 div.sphinxsidebar p.logo a:hover,120 div.sphinxsidebar h3 a:hover {121 border: none;122 }123- 123+124 div.sphinxsidebar p {125 color: #555;126 margin: 10px 0;127 }2 unmodified lines130 margin: 10px 0;131 padding: 0;132 color: #000;133 }134- 134+135 div.sphinxsidebar input {136 border: 1px solid #ccc;137 font-family: 'Georgia', serif;138 font-size: 1em;139 }140- 140+141 /* -- body styles ----------------------------------------------------------- */142- 142+143 a {144 color: #004B6B;145 text-decoration: underline;146 }147- 147+148 a:hover {149 color: #6D4100;150 text-decoration: underline;151 }152- 152+153 div.body h1,154 div.body h2,155 div.body h3,156 div.body h4,3 unmodified lines160 font-weight: normal;161 margin: 30px 0px 10px 0px;162 padding: 0;163 }164- 164+165 div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }166 div.body h2 { font-size: 180%; }167 div.body h3 { font-size: 150%; }168 div.body h4 { font-size: 130%; }169 div.body h5 { font-size: 100%; }170 div.body h6 { font-size: 100%; }171- 171+172 a.headerlink {173 color: #ddd;174 padding: 0 4px;175 text-decoration: none;176 }177- 177+178 a.headerlink:hover {179 color: #444;180 background: #eaeaea;181 }182- 182+183 div.body p, div.body dd, div.body li {184 line-height: 1.4em;185 }186 38 unmodified lines225 div.note {226 background-color: #eee;227 border: 1px solid #ccc;228 }229- 229+230 div.seealso {231 background-color: #ffc;232 border: 1px solid #ff6;233 }234- 234+235 div.topic {236 background-color: #eee;237 }238- 238+239 p.admonition-title {240 display: inline;241 }242- 242+243 p.admonition-title:after {244 content: ":";245 }246 85 unmodified lines332 ul, ol {333 margin: 10px 0 10px 30px;334 padding: 0;335 }336- 336+337 pre {338 background: #eee;339 padding: 7px 30px;340 margin: 15px -30px;8 unmodified lines349 dl dl pre {350 margin-left: -90px;351 padding-left: 90px;352 }353- 353+354 tt {355 background-color: #ecf0f3;356 color: #222;357 /* padding: 1px 2px; */29 unmodified lines387 }388 389 390 @media screen and (max-width: 600px) {391- 391+392 div.sphinxsidebar {393 display: none;394 }395 26 unmodified lines422 .footer {423 width: auto;424 }425 426- 427- 426+427+428 }429 430 431+/* scrollbars */432+433+::-webkit-scrollbar {434+ width: 6px;435+ height: 6px;436+}437+438+::-webkit-scrollbar-button:start:decrement,439+::-webkit-scrollbar-button:end:increment {440+ display: block;441+ height: 10px;442+}443+444+::-webkit-scrollbar-button:vertical:increment {445+ background-color: #fff;446+}447+448+::-webkit-scrollbar-track-piece {449+ background-color: #eee;450+ -webkit-border-radius: 3px;451+}452+453+::-webkit-scrollbar-thumb:vertical {454+ height: 50px;455+ background-color: #ccc;456+ -webkit-border-radius: 3px;457+}458+459+::-webkit-scrollbar-thumb:horizontal {460+ width: 50px;461+ background-color: #ccc;462+ -webkit-border-radius: 3px;463+}