mg.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /*
  2. MediaGoblin theme - MediaGoblin-style Sphinx documentation theme
  3. Written in 2012 by Jef van Schendel <mail@jefvanschendel.nl>
  4. To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
  5. You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
  6. */
  7. @import url("basic.css");
  8. /* text fonts and styles */
  9. @font-face {
  10. font-family: 'Lato';
  11. font-style: normal;
  12. font-weight: 700;
  13. src: local('Lato Bold'), local('Lato-Bold'), url('fonts/Lato-Bold.ttf') format('truetype');
  14. }
  15. @font-face {
  16. font-family: 'Lato';
  17. font-style: italic;
  18. font-weight: 400;
  19. src: local('Lato Italic'), local('Lato-Italic'), url('fonts/Lato-Italic.ttf') format('truetype');
  20. }
  21. @font-face {
  22. font-family: 'Lato';
  23. font-style: italic;
  24. font-weight: 700;
  25. src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url('fonts/Lato-BoldItalic.ttf') format('truetype');
  26. }
  27. @font-face {
  28. font-family: 'Lato';
  29. font-style: normal;
  30. font-weight: 400;
  31. src: local('Lato Regular'), local('Lato-Regular'), url('fonts/Lato-Regular.ttf') format('truetype');
  32. }
  33. body {
  34. font: 16px 'Lato',Helvetica,Arial,sans-serif;
  35. background-color: #FCFCFC;
  36. color: #3C3C3C;
  37. margin: 0;
  38. padding: 0;
  39. }
  40. h1, h2, h3, h4, h5, h6 {
  41. border-bottom: 1px solid #CCCCCC;
  42. background: none;
  43. color: black;
  44. font-weight: bold;
  45. padding-bottom: 0.17em;
  46. padding-top: 0.5em;
  47. }
  48. h1 {
  49. font-size: 1.875em;
  50. }
  51. h2 {
  52. font-size: 1.375em;
  53. }
  54. h3, h4, h5, h6 {
  55. font-size: 1.125em;
  56. }
  57. p {
  58. font-weight: normal;
  59. margin: 0.4em 0 0.5em;
  60. }
  61. a {
  62. color: #499776;
  63. }
  64. a:visited {
  65. color: #2A5744;
  66. }
  67. a:active {
  68. color: #65D1A3;
  69. }
  70. h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  71. text-decoration: none;
  72. }
  73. div.topic, pre {
  74. background-color: #F1F1F1;
  75. border: 1px dashed #ccc;
  76. color: black;
  77. line-height: 1.1em;
  78. padding: 1em;
  79. }
  80. code, tt {
  81. font: 14px monospace,"Courier New";
  82. background-color: #FFFFDD;
  83. border: thin solid #bbb;
  84. padding-left: 5px;
  85. padding-right: 5px;
  86. }
  87. pre {
  88. font: 14px monospace,"Courier New";
  89. }
  90. div.related a, div.related a:visited, div.related a:active {
  91. color: #86D4B1;
  92. }
  93. /* layout */
  94. div.documentwrapper {
  95. float: left;
  96. width: 100%;
  97. }
  98. div.bodywrapper {
  99. margin: 0 0 0 270px;
  100. }
  101. div.body {
  102. padding: 0 20px 30px 20px;
  103. }
  104. div.footer {
  105. width: 100%;
  106. padding: 9px 0 9px 0;
  107. text-align: center;
  108. font-size: 75%;
  109. }
  110. div.sphinxsidebar {
  111. width: 240px;
  112. }
  113. div.sphinxsidebarwrapper {
  114. padding: 10px 5px 0 30px;
  115. }
  116. div.sphinxsidebar ul {
  117. margin: 10px 10px 10px 0;
  118. padding: 0;
  119. }
  120. div.related {
  121. line-height: 30px;
  122. font-size: 90%;
  123. width: 100%;
  124. background-color: #161616;
  125. color: #C3C3C3;
  126. }
  127. p.logo {
  128. margin-top: 30px;
  129. }