fmt.less 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. @import 'bootstrap.less';
  2. @header-bg: #094d75;
  3. @icon-font-path: "fonts/";
  4. html {
  5. overflow-y: scroll;
  6. }
  7. .navbar {
  8. border-radius: 0;
  9. margin-bottom: 0;
  10. background-color: darken(@header-bg, 10%);
  11. }
  12. .jumbotron {
  13. #gradient > .vertical(@header-bg; darken(@header-bg, 2%); 50%; 50%);
  14. background-size: 100% 4px;
  15. background-color: @header-bg;
  16. background-repeat: repeat-y;
  17. color: white;
  18. text-align: center;
  19. }
  20. div.sphinxsidebar {
  21. margin-left: 0;
  22. }
  23. // Keep content not too wide for better readability.
  24. .navbar-content, .content {
  25. .make-md-column-offset(1);
  26. .make-md-column(10);
  27. .make-lg-column-offset(2);
  28. .make-lg-column(8);
  29. }
  30. .footer {
  31. padding-top: 20px;
  32. padding-bottom: 20px;
  33. border-top: 1px solid @gray-lighter;
  34. text-align: center;
  35. }
  36. // Indent descriptions of classes, functions and macros.
  37. .class dd, .function dd, .macro dd {
  38. margin-left: 20px;
  39. }
  40. // Remove Bootstrap padding for Sphinx containers.
  41. .breathe-sectiondef.container {
  42. padding: 0;
  43. }
  44. // Remove Bootstrap padding for Sphinx code elements in API signatures.
  45. .descclassname, .descname {
  46. padding: 0;
  47. }
  48. // Override center alignment in tables.
  49. td {
  50. text-align: left;
  51. }
  52. p.rubric {
  53. margin-top: 10px;
  54. }
  55. .github-btn {
  56. border: 0;
  57. overflow: hidden;
  58. }