summaryrefslogtreecommitdiff
path: root/style.scss
blob: 6dcce33f486292f563d970114fd4291dbf80f5ea (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. clear: right;
  53. }
  54. // Content
  55. //
  56. // Light grey underlay
  57. // Max. 45 chars., balanced margins on large viewports
  58. #content,
  59. #footer {
  60. max-width: 45em;
  61. margin: 0 auto;
  62. padding: .5em 2em;
  63. background-color: lightgrey;
  64. }