summaryrefslogtreecommitdiff
path: root/doc/css_market/bma.css
blob: 347f4430d8f12337ff4110001be685fc59998f26 (plain)
  1. /*
  2.  * local.css: stylesheet for subvert.org.uk.
  3. * Copyright © 2008 Benjamin M. A'Lee <bma@subvert.org.uk>
  4. *
  5. * This work is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License, version 3, as
  7. * published by the Free Software Foundation.
  8. *
  9. * This work is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. /* Positioning first. Colours at the end. */
  18. body {
  19. font-family: sans-serif;
  20. margin: 0;
  21. padding: 0;
  22. }
  23. #content {
  24. margin: 1em 15em 0 1em;
  25. padding: 2em 3em 4em 1.5em;
  26. border: 1px solid;
  27. }
  28. #sidebar {
  29. width: 10em;
  30. min-height: 50%;
  31. font-family: sans-serif;
  32. text-align: left;
  33. margin: 1em 1em 2em 1em;
  34. line-height: 1em;
  35. border: 1px solid;
  36. position: absolute;
  37. right: 0;
  38. top: 5;
  39. }
  40. #sidebar h2 {
  41. font-size: 1em;
  42. }
  43. .header {
  44. padding: 1ex;
  45. border-bottom: solid 1px;
  46. margin: 0;
  47. font-size: 1.5em;
  48. }
  49. #footer {
  50. border: 1px solid;
  51. padding: .5em;
  52. padding-left: 1em;
  53. margin: 1em 15em 1em 1em;
  54. }
  55. .pagedate, .pagelicense, .pagecopyright {
  56. margin-top: 0;
  57. margin-bottom: 0;
  58. }
  59. #pageinfo {
  60. border: none;
  61. }
  62. .inlinepage {
  63. border: none;
  64. }
  65. .pagelicense p, .pagecopyright p {
  66. display: inline;
  67. }
  68. pre {
  69. overflow: auto;
  70. border: solid;
  71. border-width: thin;
  72. padding: 5px 10px;
  73. }
  74. /* Set colours here. */
  75. body {
  76. background: royalblue;
  77. }
  78. #content, #footer, .header {
  79. background-color: silver;
  80. border-color: black;
  81. }
  82. #sidebar {
  83. background-color: silver;
  84. border-color: black;
  85. }
  86. pre, code {
  87. background-color: #EEEEEE;
  88. }