summaryrefslogtreecommitdiff
path: root/blueview/style.scss
blob: ec18416b5429fdd7c65ed8580c379893889a1551 (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, #enclosure, #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, .pageheader .trailprev, .pageheader .trailnext, .pageheader .trailup {
  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, .pageheader a, .pageheader .trail a {
  106. font-weight: bold;
  107. color: white;
  108. text-decoration: none;
  109. }
  110. .pageheader .actions {
  111. text-align: right;
  112. vertical-align: bottom;
  113. clear: both;
  114. }
  115. #pagebody {
  116. padding-right: 1em;
  117. padding-bottom: 2em;
  118. border-right: ridge #eee;
  119. clear: none;
  120. }
  121. #content a, #enclosure a, #comments a, .sidebar a {
  122. color: $hilite;
  123. text-decoration: none;
  124. font-weight: bold;
  125. }
  126. .sidebar h2 {
  127. border-bottom: ridge #eee;
  128. padding-right: 0;
  129. }
  130. .sidebar .menu {
  131. margin-left: 1em;
  132. }
  133. .inlinepage, .recentchanges, div.recentchanges {
  134. clear: none !important;
  135. margin-bottom: 2em;
  136. }
  137. .inlinefooter {
  138. border-top: 1px dotted $hilite;
  139. }
  140. .inlinefooter .pagedate, .inlinefooter .tags {
  141. display: inline;
  142. clear: none;
  143. margin-right: 2em;
  144. }
  145. .calendar .month-calendar th, .calendar .month-calendar td {
  146. padding: 0.22em;
  147. }
  148. @media print {
  149. .sidebar, .page .pageheader .header .parentlinks {
  150. content: ".";
  151. display: block;
  152. height: 0;
  153. visibility: hidden;
  154. }
  155. .page {
  156. padding: 1em 1em 1em 1em;
  157. }
  158. .pageheader .header span a, .pageheader .actions ul li a, .pageheader .header .parentlinks a {
  159. color: $hilite;
  160. }
  161. #content, #enclosure, #comments, #pagebody {
  162. margin-right: 0;
  163. *margin-right: 0;
  164. border-right: none;
  165. }
  166. }