summaryrefslogtreecommitdiff
path: root/style.scss
blob: 63ae51cb5f0d672f1ee2405a6c7e1b151f88982b (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. // layout
  18. @include ikiwiki-site;
  19. @include ikiwiki-site-print;
  20. // modulars
  21. @include ikiwiki-infobox;
  22. @include ikiwiki-notebook;
  23. @include ikiwiki-popup;
  24. @include ikiwiki-plugin-calendar;
  25. @include ikiwiki-plugin-progress;
  26. @include ikiwiki-plugin-map;
  27. @include ikiwiki-plugin-poll;
  28. @include ikiwiki-plugin-pagestats;
  29. @include ikiwiki-plugin-flattr;
  30. @include ikiwiki-blogform;
  31. // section/page specific
  32. @include ikiwiki-archivepage;
  33. @include ikiwiki-plugin-recentchanges;
  34. @include ikiwiki-plugin-editpage;
  35. @include ikiwiki-plugin-attachment;
  36. @include ikiwiki-plugin-openid;
  37. // Action items
  38. //
  39. // Right-aligned horizontal items, hidden unless hovered
  40. .pageheader .actions {
  41. position: absolute;
  42. top: 0;
  43. right: 2em;
  44. background-color: transparent;
  45. ul {
  46. @include inline-block-list;
  47. height: 2em;
  48. }
  49. a {
  50. color: transparent;
  51. &:hover {
  52. color: #3d6a8d;
  53. text-decoration: none;
  54. }
  55. }
  56. }
  57. // Page
  58. //
  59. // Grey underlay, Helvetica text
  60. body {
  61. background-color: grey;
  62. font-family: Helvetica, sans-serif;
  63. }
  64. // Anchors
  65. //
  66. // Underlined only when hovered
  67. a {
  68. @include hover-link;
  69. }
  70. // Definition lists
  71. //
  72. // Full-width horizontal items with definitions right-aligned
  73. dl {
  74. display: inline-block;
  75. width: 100%;
  76. margin: 0;
  77. }
  78. dt {
  79. float: left;
  80. clear: right;
  81. }
  82. dd {
  83. float: right;
  84. clear: right;
  85. }
  86. // Content
  87. //
  88. // Light grey underlay
  89. // Max. 45 chars., balanced margins on large viewports
  90. #content,
  91. #footer {
  92. max-width: 45em;
  93. margin: 0 auto;
  94. padding: .5em 2em;
  95. background-color: lightgrey;
  96. }
  97. // Pagedate
  98. //
  99. // very tiny in lower right corner
  100. .pagedate {
  101. text-align: right;
  102. font-size: xx-small;
  103. }