summaryrefslogtreecommitdiff
path: root/style.scss
blob: fcb2b013630f1b78ad524b8b7c4989e0454c2d40 (plain)
  1. @import "toolkit";
  2. @import "compass/typography";
  3. @import "../shared/themes/default/ikiwiki";
  4. @include ikiwiki-style;
  5. // Action items
  6. //
  7. // Right-aligned horizontal items, hidden unless hovered
  8. .pageheader .actions {
  9. position: absolute;
  10. top: 0;
  11. right: 2em;
  12. background-color: transparent;
  13. ul {
  14. @include inline-block-list;
  15. height: 2em;
  16. }
  17. a {
  18. color: transparent;
  19. &:hover {
  20. color: #3d6a8d;
  21. text-decoration: none;
  22. }
  23. }
  24. }
  25. // Page
  26. //
  27. // Grey underlay, Helvetica text
  28. body {
  29. background-color: grey;
  30. font-family: Helvetica, sans-serif;
  31. }
  32. // Anchors
  33. //
  34. // Underlined only when hovered
  35. a {
  36. @include hover-link;
  37. }
  38. // Definition lists
  39. //
  40. // Full-width horizontal items with definitions right-aligned
  41. dl {
  42. display: inline-block;
  43. width: 100%;
  44. }
  45. dt {
  46. float: left;
  47. clear: right;
  48. }
  49. dd {
  50. float: right;
  51. }
  52. // Content
  53. //
  54. // Light grey underlay
  55. // Max. 45 chars., balanced margins on large viewports
  56. #content,
  57. #footer {
  58. max-width: 45em;
  59. margin: 0 auto;
  60. padding: .5em 2em;
  61. background-color: lightgrey;
  62. }