summaryrefslogtreecommitdiff
path: root/style.scss
blob: 9fada7e02db83d9b8a8146af45fa84f3531038fc (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. margin: 0;
  45. }
  46. dt {
  47. float: left;
  48. clear: right;
  49. }
  50. dd {
  51. float: right;
  52. }
  53. // Content
  54. //
  55. // Light grey underlay
  56. // Max. 45 chars., balanced margins on large viewports
  57. #content,
  58. #footer {
  59. max-width: 45em;
  60. margin: 0 auto;
  61. padding: .5em 2em;
  62. background-color: lightgrey;
  63. }