]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - doc/html/css/theme_extra.css
2 * Sphinx doesn't have support for section dividers like we do in
3 * MkDocs, this styles the section titles in the nav
5 * https://github.com/mkdocs/mkdocs/issues/175
7 .wy-menu-vertical span {
9 padding: 0.4045em 1.618em;
16 .wy-menu-vertical .subnav a {
17 padding: 0.4045em 2.427em;
21 * Long navigations run off the bottom of the screen as the nav
22 * area doesn't scroll.
24 * https://github.com/mkdocs/mkdocs/pull/202
26 * Builds upon pull 202 https://github.com/mkdocs/mkdocs/pull/202
27 * to make toc scrollbar end before navigations buttons to not be overlapping.
30 height: calc
(100% - 45px);
40 @media screen and
(max-width: 768px) {
47 * readthedocs theme hides nav items when the window height is
48 * too small to contain them.
50 * https://github.com/mkdocs/mkdocs/issues/#348
52 .wy-menu-vertical ul {
57 * Wrap inline code samples otherwise they shoot of the side and
58 * can't be read at all.
60 * https://github.com/mkdocs/mkdocs/issues/313
61 * https://github.com/mkdocs/mkdocs/issues/233
62 * https://github.com/mkdocs/mkdocs/issues/834
65 white-space: pre-wrap
;
66 word-wrap: break-word
;
71 * Make code blocks display as blocks and give them the appropriate
72 * font size and padding.
74 * https://github.com/mkdocs/mkdocs/issues/855
75 * https://github.com/mkdocs/mkdocs/issues/834
76 * https://github.com/mkdocs/mkdocs/issues/233
87 * Fix link colors when the link text is inline code.
89 * https://github.com/mkdocs/mkdocs/issues/718
102 * The CSS classes from highlight.js seem to clash with the
103 * ReadTheDocs theme causing some code to be incorrectly made
106 * https://github.com/mkdocs/mkdocs/issues/411
109 font-weight: inherit
;
114 * Fix some issues with the theme and non-highlighted code
115 * samples. Without and highlighting styles attached the
116 * formatting is broken.
118 * https://github.com/mkdocs/mkdocs/issues/319
128 * Additions specific to the search functionality provided by MkDocs
131 .search-results article {
133 border-top: 1px solid
#E1E4E5;
137 .search-results article:first-child {
144 padding: 6px 12px; /* csslint allow: box-model */
145 border-color: #D1D4D5;
148 .wy-menu-vertical li ul {
152 .wy-menu-vertical li ul.subnav ul.subnav{
156 .wy-menu-vertical .subnav li.current > a {
157 padding-left: 2.42em;
159 .wy-menu-vertical .subnav li.current > ul li a {
160 padding-left: 3.23em;
164 * Improve inline code blocks within admonitions.
166 * https://github.com/mkdocs/mkdocs/issues/656
170 border: 1px solid
#c7c9cb;
171 border: 1px solid rgba
(0, 0, 0, 0.2);
173 background: rgba
(255, 255, 255, 0.7);
177 * Account for wide tables which go off the side.
178 * Override borders to avoid wierdness on narrow tables.
180 * https://github.com/mkdocs/mkdocs/issues/834
181 * https://github.com/mkdocs/mkdocs/pull/1034
183 .rst-content .section .docutils {
191 border: 1px solid
#e1e4e5 !important
; /* csslint allow: important */
192 border-collapse: collapse
;