summaryrefslogtreecommitdiff
path: root/blueview/style.scss
blob: 917abaaac2765a981142c5a8c6a2382e2af57da3 (plain)
  1. $default-font-family"Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  2. $hilite: #315485;
  3. @import "../default/ikiwiki";
  4. @include ikiwiki-boilerplate;
  5. /* bzed theme for ikiwiki
  6. *
  7. * Copyright (C) 2010 Bernd Zeimetz
  8. * Licensed under same license as ikiwiki: GPL v2 or later
  9. *
  10. * Parts of this file are based on the awesome YUI,
  11. * these parts will stay under the BSD license,
  12. * but you're free to apply the GPLv2 to them, of course.
  13. */
  14. // TODO: include only relevant parts, and move below reset
  15. @include ikiwiki-style;
  16. @import "yui";
  17. @import "compass/reset";
  18. @include yui-base;
  19. @include yui-base-fonts($default-font-family);
  20. @include yui-grids-init("div#pagebody","div.sidebar, aside.sidebar","article.page, div.page");
  21. body {
  22. text-align: left;
  23. }
  24. .inlinefooter {
  25. clear: both;
  26. }
  27. .page {
  28. @include yui-document(fluid);
  29. }
  30. #pagebody, .sidebar {
  31. @include yui-block-base;
  32. }
  33. #pagebody {
  34. position: static;
  35. }
  36. .sidebar {
  37. float: right;
  38. width: 16.5em;
  39. *width: 16em;
  40. }
  41. #pagebody {
  42. margin-right: 19em;
  43. *margin-right: 18.5em;
  44. }
  45. #searchbox {
  46. width: 21.5em;
  47. *width: 21em;
  48. }
  49. /* ------------------------------------------------------------------------------------------------
  50. * All CSS below is
  51. * Copyright (C) 2010 Bernd Zeimetz
  52. * Licensed under same license as ikiwiki: GPL v2 or later */
  53. .page, .pageheader, .sidebar, #content, #comments, .inlinepage, .recentchanges, .pageheader .actions ul, #pagebody {
  54. border: none;
  55. }
  56. html, body {
  57. color: #000;
  58. /* background-image: url('body_background.png');
  59. background-repeat: repeat; */
  60. background-color: #8da1b8;
  61. }
  62. body {
  63. padding-left: 5%;
  64. padding-right: 5%;
  65. padding-top: 1em;
  66. padding-bottom: 1em;
  67. }
  68. .page {
  69. background: #fff;
  70. border: outset #ccc;
  71. padding-left: 1em;
  72. padding-right: 1em;
  73. padding-top: 1em;
  74. }
  75. .pageheader {
  76. background-image: url("header_background.png");
  77. background-repeat: repeat-x;
  78. height: 100px;
  79. padding-left: 1em;
  80. padding-right: 1em;
  81. padding-bottom: 1em;
  82. padding-top: 1em;
  83. }
  84. .pageheader .header {
  85. text-align: top;
  86. clear: both;
  87. }
  88. .pageheader .header form {
  89. padding: 0em 0em 0em 0em;
  90. float: right;
  91. margin-top: 0.5em;
  92. }
  93. .pageheader .header .title, .pageheader .header .parentlinks,
  94. .inlinepage .inlineheader,
  95. h1, h2, h3, h4, h5, h6 {
  96. margin-top: 1em;
  97. font-weight: bold;
  98. }
  99. .pageheader .header .title, .pageheader .header .parentlinks, .pageheader .actions ul li, .pageheader .header span, .pageheader #otherlanguages ul li {
  100. padding: 0.25em 0.25em 0.25em 0.25em;
  101. background-image: url("background_darkness.png");
  102. background-repeat: repeat;
  103. color: white;
  104. }
  105. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a, .pageheader #otherlanguages ul li a {
  106. color: white;
  107. text-decoration: none;
  108. }
  109. .pageheader .actions {
  110. text-align: right;
  111. vertical-align: bottom;
  112. clear: both;
  113. }
  114. #pagebody {
  115. padding-right: 1em;
  116. padding-bottom: 2em;
  117. border-right: ridge #eee;
  118. clear: none;
  119. }
  120. #content a, #comments a, .sidebar a {
  121. color: $hilite;
  122. text-decoration: none;
  123. font-weight: bold;
  124. }
  125. .sidebar h2 {
  126. border-bottom: ridge #eee;
  127. padding-right: 0;
  128. }
  129. .sidebar .menu {
  130. margin-left: 1em;
  131. }
  132. .inlinepage, .recentchanges, div.recentchanges {
  133. clear: none !important;
  134. margin-bottom: 2em;
  135. }
  136. .inlinefooter {
  137. border-top: 1px dotted $hilite;
  138. }
  139. .inlinefooter .pagedate, .inlinefooter .tags {
  140. display: inline;
  141. clear: none;
  142. margin-right: 2em;
  143. }
  144. .calendar .month-calendar th, .calendar .month-calendar td {
  145. padding: 0.22em;
  146. }
  147. @media print {
  148. .sidebar, .page .pageheader .header .parentlinks {
  149. content: ".";
  150. display: block;
  151. height: 0;
  152. visibility: hidden;
  153. }
  154. .page {
  155. padding: 1em 1em 1em 1em;
  156. }
  157. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  158. color: $hilite;
  159. }
  160. #content, #comments, #pagebody {
  161. margin-right: 0;
  162. *margin-right: 0;
  163. border-right: none;
  164. }
  165. }