Mercurial > minori
comparison dep/fmt/doc/fmt.less @ 343:1faa72660932
*: transfer back to cmake from autotools
autotools just made lots of things more complicated than
they should have and many things broke (i.e. translations)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 20 Jun 2024 05:56:06 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
342:adb79bdde329 | 343:1faa72660932 |
---|---|
1 @import 'bootstrap.less'; | |
2 | |
3 @header-bg: #094d75; | |
4 @icon-font-path: "fonts/"; | |
5 | |
6 html { | |
7 overflow-y: scroll; | |
8 } | |
9 | |
10 .navbar { | |
11 border-radius: 0; | |
12 margin-bottom: 0; | |
13 background-color: darken(@header-bg, 10%); | |
14 } | |
15 | |
16 .jumbotron { | |
17 #gradient > .vertical(@header-bg; darken(@header-bg, 2%); 50%; 50%); | |
18 background-size: 100% 4px; | |
19 background-color: @header-bg; | |
20 background-repeat: repeat-y; | |
21 color: white; | |
22 text-align: center; | |
23 } | |
24 | |
25 div.sphinxsidebar { | |
26 margin-left: 0; | |
27 } | |
28 | |
29 // Keep content not too wide for better readability. | |
30 .navbar-content, .content { | |
31 .make-md-column-offset(1); | |
32 .make-md-column(10); | |
33 .make-lg-column-offset(2); | |
34 .make-lg-column(8); | |
35 } | |
36 | |
37 .footer { | |
38 padding-top: 20px; | |
39 padding-bottom: 20px; | |
40 border-top: 1px solid @gray-lighter; | |
41 text-align: center; | |
42 } | |
43 | |
44 // Indent descriptions of classes, functions and macros. | |
45 .class dd, .function dd, .macro dd { | |
46 margin-left: 20px; | |
47 } | |
48 | |
49 // Remove Bootstrap padding for Sphinx containers. | |
50 .breathe-sectiondef.container { | |
51 padding: 0; | |
52 } | |
53 | |
54 // Remove Bootstrap padding for Sphinx code elements in API signatures. | |
55 .descclassname, .descname { | |
56 padding: 0; | |
57 } | |
58 | |
59 // Override center alignment in tables. | |
60 td { | |
61 text-align: left; | |
62 } | |
63 | |
64 p.rubric { | |
65 margin-top: 10px; | |
66 } | |
67 | |
68 .github-btn { | |
69 border: 0; | |
70 overflow: hidden; | |
71 } |