summaryrefslogtreecommitdiffstats
path: root/src/fmt/doc/fmt.less
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/fmt/doc/fmt.less
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fmt/doc/fmt.less')
-rw-r--r--src/fmt/doc/fmt.less71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/fmt/doc/fmt.less b/src/fmt/doc/fmt.less
new file mode 100644
index 000000000..3a97b9fd8
--- /dev/null
+++ b/src/fmt/doc/fmt.less
@@ -0,0 +1,71 @@
+@import 'bootstrap.less';
+
+@header-bg: #094d75;
+@icon-font-path: "fonts/";
+
+html {
+ overflow-y: scroll;
+}
+
+.navbar {
+ border-radius: 0;
+ margin-bottom: 0;
+ background-color: darken(@header-bg, 10%);
+}
+
+.jumbotron {
+ #gradient > .vertical(@header-bg; darken(@header-bg, 2%); 50%; 50%);
+ background-size: 100% 4px;
+ background-color: @header-bg;
+ background-repeat: repeat-y;
+ color: white;
+ text-align: center;
+}
+
+div.sphinxsidebar {
+ margin-left: 0;
+}
+
+// Keep content not too wide for better readability.
+.navbar-content, .content {
+ .make-md-column-offset(1);
+ .make-md-column(10);
+ .make-lg-column-offset(2);
+ .make-lg-column(8);
+}
+
+.footer {
+ padding-top: 20px;
+ padding-bottom: 20px;
+ border-top: 1px solid @gray-lighter;
+ text-align: center;
+}
+
+// Indent descriptions of classes, functions and macros.
+.class dd, .function dd, .macro dd {
+ margin-left: 20px;
+}
+
+// Remove Bootstrap padding for Sphinx containers.
+.breathe-sectiondef.container {
+ padding: 0;
+}
+
+// Remove Bootstrap padding for Sphinx code elements in API signatures.
+.descclassname, .descname {
+ padding: 0;
+}
+
+// Override center alignment in tables.
+td {
+ text-align: left;
+}
+
+p.rubric {
+ margin-top: 10px;
+}
+
+.github-btn {
+ border: 0;
+ overflow: hidden;
+}