summaryrefslogtreecommitdiff
path: root/style.scss
blob: d5f59ce6d671df468b44c5d1ebdfa17acd3e1d38 (plain)
  1. @import "partials/base";
  2. @import "h5bp";
  3. @import "../shared/themes/default/ikiwiki";
  4. @import "compass/reset/utilities";
  5. @import "compass/typography";
  6. @import "blueprint";
  7. @import "breakpoint";
  8. @include h5bp-normalize;
  9. @include ikiwiki-style;
  10. @include blueprint-typography;
  11. h1 {
  12. font-size: 2.75em;
  13. }
  14. .branding {
  15. z-index: -1;
  16. position: fixed;
  17. bottom: 0; // full height isn't enough on Replicant browser
  18. height: 100%;
  19. width: 100%;
  20. background-color: transparent;
  21. background-image: url("logo.jpg");
  22. background-repeat: no-repeat;
  23. background-position: right bottom;
  24. }
  25. .pageheader {
  26. padding: 0;
  27. header {
  28. float: right;
  29. padding: 1em 2%;
  30. }
  31. }
  32. a {
  33. @include hover-link;
  34. @include link-colors($linkColor, $linkHoverColor, $linkColor, $linkColor, $linkHoverColor);
  35. font-weight: bold;
  36. }
  37. .selflink {
  38. color: $linkHoverColor;
  39. }
  40. .header,
  41. .author,
  42. .recentchanges,
  43. .committype,
  44. #footer,
  45. .inlinefooter {
  46. font-size: 80%;
  47. }
  48. .topbar {
  49. padding: 1em 2%;
  50. text-align: center;
  51. }
  52. .topbar ul {
  53. @include inline-list;
  54. li {
  55. margin-right: 2em;
  56. font-variant: all-petite-caps;
  57. }
  58. }
  59. .sidebar {
  60. float: left;
  61. padding: 0;
  62. border: none;
  63. margin-top: -400px;
  64. margin-right: 2%;
  65. margin-bottom: 1em;
  66. margin-left: 2%;
  67. width: 21%;
  68. background: transparent;
  69. }
  70. .sidebar ul {
  71. list-style-type: none;
  72. padding-left: 0;
  73. margin: 0;
  74. }
  75. .sidebar ul li .selflink {
  76. color: $linkHoverColor;
  77. }
  78. #content {
  79. width: 100%;
  80. max-width: 52em;
  81. min-height: 480px;
  82. margin: 0 auto;
  83. padding: 2em 2%;
  84. }
  85. #backlinks {
  86. display: none;
  87. }
  88. img {
  89. float: right;
  90. vertical-align: top;
  91. margin: 0 1em 1em 0;
  92. padding: 0;
  93. max-width: 100%;
  94. height: auto;
  95. }
  96. img.solo {
  97. float: none;
  98. display: block;
  99. clear: both;
  100. }
  101. th {
  102. text-align: left;
  103. }
  104. #pageinfo {
  105. border-top: none;
  106. padding-left: 2em;
  107. }