summaryrefslogtreecommitdiff
path: root/style.scss
blob: 8fcf3686e64be41e4e2636ddc4d9679d80d43950 (plain)
  1. @import "toolkit";
  2. @import "compass/typography";
  3. @import "../shared/themes/default/ikiwiki";
  4. // site defaults
  5. @include ikiwiki-images;
  6. @include ikiwiki-pre;
  7. // generic styles
  8. @include ikiwiki-lists;
  9. @include ikiwiki-plugin-img;
  10. @include ikiwiki-feedbutton;
  11. @include ikiwiki-forms;
  12. @include ikiwiki-alignment;
  13. @include ikiwiki-debug;
  14. @include ikiwiki-plugin-highlight;
  15. @include ikiwiki-plugin-color;
  16. // shell
  17. // Content
  18. //
  19. // Light grey underlay
  20. // Max. 45 chars., balanced margins on large viewports
  21. %anycontent {
  22. max-width: 45em;
  23. margin: 0 auto;
  24. padding: .5em 2em;
  25. background-color: lightgrey;
  26. }
  27. // layout - main content
  28. #content {
  29. @extend %anycontent;
  30. }
  31. @include ikiwiki-inlinepage;
  32. @include ikiwiki-inlineheader;
  33. @include ikiwiki-inlinecontent;
  34. @include ikiwiki-plugin-comments;
  35. // layout - header
  36. @include ikiwiki-header;
  37. @include ikiwiki-plugin-search;
  38. @include ikiwiki-actions;
  39. @include ikiwiki-plugin-po;
  40. // layout - footer
  41. #footer {
  42. @extend %anycontent;
  43. }
  44. @include ikiwiki-footer;
  45. @include ikiwiki-pageinfo;
  46. @include ikiwiki-tags;
  47. @include ikiwiki-backlinks;
  48. @include ikiwiki-authorship;
  49. // layout - aside
  50. @include ikiwiki-plugin-sidebar;
  51. @include ikiwiki-plugin-trail;
  52. // layout - print
  53. @include ikiwiki-site-print;
  54. // modulars
  55. @include ikiwiki-infobox;
  56. @include ikiwiki-notebook;
  57. @include ikiwiki-popup;
  58. @include ikiwiki-plugin-calendar;
  59. @include ikiwiki-plugin-progress;
  60. @include ikiwiki-plugin-map;
  61. @include ikiwiki-plugin-poll;
  62. @include ikiwiki-plugin-pagestats;
  63. @include ikiwiki-plugin-flattr;
  64. @include ikiwiki-blogform;
  65. // section/page specific
  66. @include ikiwiki-archivepage;
  67. @include ikiwiki-plugin-recentchanges;
  68. @include ikiwiki-plugin-editpage;
  69. @include ikiwiki-plugin-attachment;
  70. @include ikiwiki-plugin-openid;
  71. // Action items
  72. //
  73. // Right-aligned horizontal items, hidden unless hovered
  74. .pageheader .actions {
  75. position: absolute;
  76. top: 0;
  77. right: 2em;
  78. background-color: transparent;
  79. ul {
  80. @include inline-block-list;
  81. height: 2em;
  82. }
  83. a {
  84. color: transparent;
  85. &:hover {
  86. color: #3d6a8d;
  87. text-decoration: none;
  88. }
  89. }
  90. }
  91. // Page
  92. //
  93. // Grey underlay, Helvetica text
  94. body {
  95. background-color: grey;
  96. font-family: Helvetica, sans-serif;
  97. }
  98. // Anchors
  99. //
  100. // Underlined only when hovered
  101. a {
  102. @include hover-link;
  103. }
  104. // Definition lists
  105. //
  106. // Full-width horizontal items with definitions right-aligned
  107. dl {
  108. display: inline-block;
  109. width: 100%;
  110. margin: 0;
  111. }
  112. dt {
  113. float: left;
  114. clear: right;
  115. }
  116. dd {
  117. float: right;
  118. clear: right;
  119. }
  120. // Pagedate
  121. //
  122. // very tiny in lower right corner
  123. .pagedate {
  124. text-align: right;
  125. font-size: xx-small;
  126. }