You are here

style.css in Drupal 4

/*
** HTML elements
*/
body {
  margin: 0;
  padding: 0;
  color: #000;
  background-color: #fff;
  font: 76% Verdana, Arial, Helvetica, sans-serif;
}
tr.odd td, tr.even td {
  padding: 0.3em;
}
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
}
h1 {
  font-size: 1.3em;
}
h2 {
  font-size: 1.2em;
}
h3, h4, h5, h6 {
  font-size: 1.1em;
}
p {
  margin-top: 0.5em;
  margin-bottom: 0.9em;
}
a {
  text-decoration: none;
  font-weight: bold;
}
a:link {
  color: #39c;
}
a:visited {
  color: #369;
}
a:hover {
  color: #39c;
  text-decoration: underline;
}
fieldset {
  border: 1px solid #ccc;
}
pre {
  background-color: #eee;
  padding: 0.75em 1.5em;
  font-size: 12px;
  border: 1px solid #ddd;
}
table {
  /* make <td> sizes relative to body size! */
  font-size: 1em;
}
.form-item label {
  font-size: 1em;
  color: #222;
}
.item-list .title {
  font-size: 1em;
  color: #222;
}
.links {
  margin-bottom: 0em;
}
.comment .links {
  margin-bottom: 0em;
}

/*
** Page layout blocks / IDs
*/
#header, #content {
  width: 100%;
}
#header {
  background-color: #69c;
}
#logo {
  vertical-align: middle;
  border: 0;
}
#logo img {
  float: left;
  padding: 0em 1.0em 0em 1em;
  border: 0;
}
#menu {
  padding: 0.5em 0.5em 0 0.5em;
  text-align: right;
  vertical-align: middle;
}
#primary {
  font-size: 1.0em;
  padding: 0em 0.8em 0.5em 0;
  color: #9cf;
}
#primary a {
  font-weight: bold;
  color: #fff;
}
#secondary {
  padding: 0 1em 0.5em 0;
  font-size: 0.8em;
  color: #9cf;
}
#secondary a {
  font-weight: bold;
  color: #9cf;
}
#search .form-text, #search .form-submit {
  border: 1px solid #369;
  font-size: 1.1em;
  height: 1.5em;
  vertical-align: middle;
}
#search .form-text {
  width: 8em;
  padding: 0 0.5em 0 0.5em;
}
#mission {
  background-color: #369;
  padding: 1.5em 2em;
  color: #fff;
}
#mission a, #mission a:visited {
  color: #9cf;
  font-weight: bold;
}
.site-name {
  margin: 0.6em 0em 0em 0em;
  padding: 0em;
  font-size: 2em;
}
.site-name a:link, .site-name a:visited {
  color: #fff;
}
.site-name a:hover {
  color: #369;
  text-decoration: none;
}
.site-slogan {
  font-size: 1em;
  color: #eee;
  display: block;
  margin: 0em 0em 0em 0em;
  font-style: italic;
  font-weight: bold;
}
#main {
  /* padding in px not ex because IE messes up 100% width tables otherwise */
  padding: 10px;
}
#mission, .node .content, .comment .content {
  line-height: 1.4;
}
#help {
  font-size: 0.9em;
  margin-bottom: 1em;
}
.breadcrumb {
  margin-bottom: .5em;
}
.messages {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 0.3em;
  margin-bottom: 1em;
}
.error {
  border-color: red;
}
#sidebar-left, #sidebar-right {
  background-color: #ddd;
  width: 16em;
  /* padding in px not ex because IE messes up 100% width tables otherwise */
  padding: 10px;
  vertical-align: top;
}
#footer {
  background-color: #eee;
  padding: 1em;
  font-size: 0.8em;
}

/*
** Common declarations for child classes of node, comment, block, box, etc.
** If you want any of them styled differently for a specific parent, add
** additional rules /with only the differing properties!/ to .parent .class.
** See .comment .title for an example.
*/
.title, .title a {
  font-weight: bold;
  font-size: 1.3em;
  color: #777;
  margin: 0 auto 0 auto;  /* decrease default margins for h<x>.title */
}
.submitted {
  color: #999;
  font-size: 0.8em;
}
.links {
  color: #999;
}
.links a {
  font-weight: bold;
}
.block, .box {
  padding: 0 0 1.5em 0;
}
.block {
  border-bottom: 1px solid #bbb;
  padding-bottom: 0.75em;
  margin-bottom: 1.5em;
}
.block .title {
  margin-bottom: .25em;
}
.box .title {
  font-size: 1.1em;
}
.node {
  margin: .5em 0 2em 0;
}
.sticky {
  padding: .5em;
  background-color: #eee;
  border: solid 1px #ddd;
}
.node .content, .comment .content {
  margin: .5em 0 .5em 0;
}
.node .taxonomy {
  color: #999;
  font-size: 0.8em;
  padding-left: 1.5em;
}
.node .picture {
  border: 1px solid #ddd;
  float: right;
  margin: 0.5em;
}
.comment {
  border: 1px solid #abc;
  padding: .5em;
  margin-bottom: 1em;
}
.comment .title a {
  font-size: 1.1em;
  font-weight: normal;
}
.comment .new {
  text-align: right;
  font-weight: bold;
  font-size: 0.8em;
  float: right;
  color: red;
}
.comment .picture {
  border: 1px solid #abc;
  float: right;
  margin: 0.5em;
}

/*
** Module specific styles
*/
#aggregator .feed-source {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 1em;
  margin: 1em 0 1em 0;
}
#aggregator .news-item .categories, #aggregator .source, #aggregator .age {
  color: #999;
  font-style: italic;
  font-size: 0.9em;
}
#aggregator .title {
  margin-bottom: 0.5em;
  font-size: 1em;
}
#aggregator h3 {
  margin-top: 1em;
}
#forum table {
  width: 100%;
}
#forum td {
  padding: 0.5em 0.5em 0.5em 0.5em;
}
#forum td.forum, #forum td.posts {
  background-color: #eee;
}
#forum td.topics, #forum td.last-reply {
  background-color: #ddd;
}
#forum td.container {
  background-color: #ccc;
}
#forum td.container a {
  color: #555;
}
#forum td.statistics, #forum td.settings, #forum td.pager {
  height: 1.5em;
  border: 1px solid #bbb;
}
#forum td .name {
  color: #96c;
}
#forum td .links {
  padding-top: 0.7em;
  font-size: 0.9em;
}
#profile .profile {
  clear: both;
  border: 1px solid #abc;
  padding: .5em;
  margin: 1em 0em 1em 0em;
}
#profile .profile .name {
  padding-bottom: 0.5em;
}
.block-forum h3 {
  margin-bottom: .5em;
}
.calendar a {
  text-decoration: none;
}
.calendar td, .calendar th {
  padding: 0.4em 0;
  border-color: #888;
}
.calendar .day-today {
  background-color: #69c;
}
.calendar .day-today a {
  color: #fff;
}
.calendar .day-selected {
  background-color: #369;
}
.calendar .day-selected a {
  color: #fff;
}
.calendar .header-week {
  background-color: #ccc;
}
.calendar .day-blank {
  background-color: #ccc;
}
.calendar .row-week td a:hover {
  background-color: #fff; color: #000;
}

File

themes/bluemarine/style.css
View source
  1. /*
  2. ** HTML elements
  3. */
  4. body {
  5. margin: 0;
  6. padding: 0;
  7. color: #000;
  8. background-color: #fff;
  9. font: 76% Verdana, Arial, Helvetica, sans-serif;
  10. }
  11. tr.odd td, tr.even td {
  12. padding: 0.3em;
  13. }
  14. h1, h2, h3, h4, h5, h6 {
  15. margin-bottom: 0.5em;
  16. }
  17. h1 {
  18. font-size: 1.3em;
  19. }
  20. h2 {
  21. font-size: 1.2em;
  22. }
  23. h3, h4, h5, h6 {
  24. font-size: 1.1em;
  25. }
  26. p {
  27. margin-top: 0.5em;
  28. margin-bottom: 0.9em;
  29. }
  30. a {
  31. text-decoration: none;
  32. font-weight: bold;
  33. }
  34. a:link {
  35. color: #39c;
  36. }
  37. a:visited {
  38. color: #369;
  39. }
  40. a:hover {
  41. color: #39c;
  42. text-decoration: underline;
  43. }
  44. fieldset {
  45. border: 1px solid #ccc;
  46. }
  47. pre {
  48. background-color: #eee;
  49. padding: 0.75em 1.5em;
  50. font-size: 12px;
  51. border: 1px solid #ddd;
  52. }
  53. table {
  54. /* make sizes relative to body size! */
  55. font-size: 1em;
  56. }
  57. .form-item label {
  58. font-size: 1em;
  59. color: #222;
  60. }
  61. .item-list .title {
  62. font-size: 1em;
  63. color: #222;
  64. }
  65. .links {
  66. margin-bottom: 0em;
  67. }
  68. .comment .links {
  69. margin-bottom: 0em;
  70. }
  71. /*
  72. ** Page layout blocks / IDs
  73. */
  74. #header, #content {
  75. width: 100%;
  76. }
  77. #header {
  78. background-color: #69c;
  79. }
  80. #logo {
  81. vertical-align: middle;
  82. border: 0;
  83. }
  84. #logo img {
  85. float: left;
  86. padding: 0em 1.0em 0em 1em;
  87. border: 0;
  88. }
  89. #menu {
  90. padding: 0.5em 0.5em 0 0.5em;
  91. text-align: right;
  92. vertical-align: middle;
  93. }
  94. #primary {
  95. font-size: 1.0em;
  96. padding: 0em 0.8em 0.5em 0;
  97. color: #9cf;
  98. }
  99. #primary a {
  100. font-weight: bold;
  101. color: #fff;
  102. }
  103. #secondary {
  104. padding: 0 1em 0.5em 0;
  105. font-size: 0.8em;
  106. color: #9cf;
  107. }
  108. #secondary a {
  109. font-weight: bold;
  110. color: #9cf;
  111. }
  112. #search .form-text, #search .form-submit {
  113. border: 1px solid #369;
  114. font-size: 1.1em;
  115. height: 1.5em;
  116. vertical-align: middle;
  117. }
  118. #search .form-text {
  119. width: 8em;
  120. padding: 0 0.5em 0 0.5em;
  121. }
  122. #mission {
  123. background-color: #369;
  124. padding: 1.5em 2em;
  125. color: #fff;
  126. }
  127. #mission a, #mission a:visited {
  128. color: #9cf;
  129. font-weight: bold;
  130. }
  131. .site-name {
  132. margin: 0.6em 0em 0em 0em;
  133. padding: 0em;
  134. font-size: 2em;
  135. }
  136. .site-name a:link, .site-name a:visited {
  137. color: #fff;
  138. }
  139. .site-name a:hover {
  140. color: #369;
  141. text-decoration: none;
  142. }
  143. .site-slogan {
  144. font-size: 1em;
  145. color: #eee;
  146. display: block;
  147. margin: 0em 0em 0em 0em;
  148. font-style: italic;
  149. font-weight: bold;
  150. }
  151. #main {
  152. /* padding in px not ex because IE messes up 100% width tables otherwise */
  153. padding: 10px;
  154. }
  155. #mission, .node .content, .comment .content {
  156. line-height: 1.4;
  157. }
  158. #help {
  159. font-size: 0.9em;
  160. margin-bottom: 1em;
  161. }
  162. .breadcrumb {
  163. margin-bottom: .5em;
  164. }
  165. .messages {
  166. background-color: #eee;
  167. border: 1px solid #ccc;
  168. padding: 0.3em;
  169. margin-bottom: 1em;
  170. }
  171. .error {
  172. border-color: red;
  173. }
  174. #sidebar-left, #sidebar-right {
  175. background-color: #ddd;
  176. width: 16em;
  177. /* padding in px not ex because IE messes up 100% width tables otherwise */
  178. padding: 10px;
  179. vertical-align: top;
  180. }
  181. #footer {
  182. background-color: #eee;
  183. padding: 1em;
  184. font-size: 0.8em;
  185. }
  186. /*
  187. ** Common declarations for child classes of node, comment, block, box, etc.
  188. ** If you want any of them styled differently for a specific parent, add
  189. ** additional rules /with only the differing properties!/ to .parent .class.
  190. ** See .comment .title for an example.
  191. */
  192. .title, .title a {
  193. font-weight: bold;
  194. font-size: 1.3em;
  195. color: #777;
  196. margin: 0 auto 0 auto; /* decrease default margins for h.title */
  197. }
  198. .submitted {
  199. color: #999;
  200. font-size: 0.8em;
  201. }
  202. .links {
  203. color: #999;
  204. }
  205. .links a {
  206. font-weight: bold;
  207. }
  208. .block, .box {
  209. padding: 0 0 1.5em 0;
  210. }
  211. .block {
  212. border-bottom: 1px solid #bbb;
  213. padding-bottom: 0.75em;
  214. margin-bottom: 1.5em;
  215. }
  216. .block .title {
  217. margin-bottom: .25em;
  218. }
  219. .box .title {
  220. font-size: 1.1em;
  221. }
  222. .node {
  223. margin: .5em 0 2em 0;
  224. }
  225. .sticky {
  226. padding: .5em;
  227. background-color: #eee;
  228. border: solid 1px #ddd;
  229. }
  230. .node .content, .comment .content {
  231. margin: .5em 0 .5em 0;
  232. }
  233. .node .taxonomy {
  234. color: #999;
  235. font-size: 0.8em;
  236. padding-left: 1.5em;
  237. }
  238. .node .picture {
  239. border: 1px solid #ddd;
  240. float: right;
  241. margin: 0.5em;
  242. }
  243. .comment {
  244. border: 1px solid #abc;
  245. padding: .5em;
  246. margin-bottom: 1em;
  247. }
  248. .comment .title a {
  249. font-size: 1.1em;
  250. font-weight: normal;
  251. }
  252. .comment .new {
  253. text-align: right;
  254. font-weight: bold;
  255. font-size: 0.8em;
  256. float: right;
  257. color: red;
  258. }
  259. .comment .picture {
  260. border: 1px solid #abc;
  261. float: right;
  262. margin: 0.5em;
  263. }
  264. /*
  265. ** Module specific styles
  266. */
  267. #aggregator .feed-source {
  268. background-color: #eee;
  269. border: 1px solid #ccc;
  270. padding: 1em;
  271. margin: 1em 0 1em 0;
  272. }
  273. #aggregator .news-item .categories, #aggregator .source, #aggregator .age {
  274. color: #999;
  275. font-style: italic;
  276. font-size: 0.9em;
  277. }
  278. #aggregator .title {
  279. margin-bottom: 0.5em;
  280. font-size: 1em;
  281. }
  282. #aggregator h3 {
  283. margin-top: 1em;
  284. }
  285. #forum table {
  286. width: 100%;
  287. }
  288. #forum td {
  289. padding: 0.5em 0.5em 0.5em 0.5em;
  290. }
  291. #forum td.forum, #forum td.posts {
  292. background-color: #eee;
  293. }
  294. #forum td.topics, #forum td.last-reply {
  295. background-color: #ddd;
  296. }
  297. #forum td.container {
  298. background-color: #ccc;
  299. }
  300. #forum td.container a {
  301. color: #555;
  302. }
  303. #forum td.statistics, #forum td.settings, #forum td.pager {
  304. height: 1.5em;
  305. border: 1px solid #bbb;
  306. }
  307. #forum td .name {
  308. color: #96c;
  309. }
  310. #forum td .links {
  311. padding-top: 0.7em;
  312. font-size: 0.9em;
  313. }
  314. #profile .profile {
  315. clear: both;
  316. border: 1px solid #abc;
  317. padding: .5em;
  318. margin: 1em 0em 1em 0em;
  319. }
  320. #profile .profile .name {
  321. padding-bottom: 0.5em;
  322. }
  323. .block-forum h3 {
  324. margin-bottom: .5em;
  325. }
  326. .calendar a {
  327. text-decoration: none;
  328. }
  329. .calendar td, .calendar th {
  330. padding: 0.4em 0;
  331. border-color: #888;
  332. }
  333. .calendar .day-today {
  334. background-color: #69c;
  335. }
  336. .calendar .day-today a {
  337. color: #fff;
  338. }
  339. .calendar .day-selected {
  340. background-color: #369;
  341. }
  342. .calendar .day-selected a {
  343. color: #fff;
  344. }
  345. .calendar .header-week {
  346. background-color: #ccc;
  347. }
  348. .calendar .day-blank {
  349. background-color: #ccc;
  350. }
  351. .calendar .row-week td a:hover {
  352. background-color: #fff; color: #000;
  353. }