You are here

common.css in Drupal 6

Same filename and directory in other branches
  1. 4 themes/chameleon/common.css
  2. 5 themes/chameleon/common.css
/*
** HTML elements
*/
a, a:link, a:active {
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
body {
  margin: 0;
  padding: 3em;
  font-size: .9em;
  line-height: 1.3em;
}
blockquote {
  font-style: italic;
}
table {
  margin: 0;
  padding: .5em;
  border-collapse: collapse;
}
code, pre {
 font-size: 1em;
}
pre {
 font-size: 0.8em;
 padding: 1em;
 background: #eee;
}
li {
 padding-bottom: .3em;
}
h1, h2, h3, h4, h5, h6 {
  margin-bottom: .25em;
}
h1 {
  font-size: 1.3em;
}
h2 {
  font-size: 1.2em;
}
h3 {
  font-size: 1.1em;
}
h4, h5, h6 {
  font-size: 1em;
}
p {
  margin: 0 0 .5em 0;
}
br {
  line-height: 0.6em;
}

/*
** Page layout blocks / IDs
*/
#header {
  margin-bottom: 2em;
}
#help {
  font-size: 0.8em;
}
#content {
  clear: both;
}
#sidebar-left, #sidebar-right {
  vertical-align: top;
  padding: 10px;
}
#main {
  padding-left: 1em;
  padding-right: 1em;
  vertical-align: top;
}
#footer {
 font-size: 0.8em;
 padding-top: 2em;
 text-align: center;
}

/*
** Common declarations for child classes of node, comment, block, box etc
*/
.title {
  margin: 0 0 .25em 0;
}
.content {
  margin: 0 0 .5em 0;
}
ul.links.inline {
  font-size: 0.8em;
  line-height: 1.25em;
}
.block {
  width: 180px;
}
.messages {
  padding: 0.3em;
  margin: 0.5em 0em 0.5em 0em;
}
.status {
  border: 1px solid #3a3;
  color: #3a3;
}
.error, form-item input.error {
  border: 1px solid red;
  color: red;
}

/*
** Common navigation links added on the admin/build/themes/settings page
*/
.navlinks {
  padding: 0em 0.5em 1.5em 0em; /* LTR */
  clear: both;
}
.primary a {
  font-size: 1.0em;
  padding: 0em 0.5em 0em 0em; /* LTR */
}
.secondary a {
  font-size: 0.9em;
  padding: 0em 0.5em 0em 0em; /* LTR */
}

/*
** Logo Image Positioning
*/
#header img {
  float: left; /* LTR */
  padding: 0em 2em .5em 0em; /* LTR */
}
#header {
  clear: both;
}
/*
** Module specific styles
*/
.form-item textarea {
  font-size: 1em;
}
#aggregator .feed-source {
  border: 1px solid gray;
  padding: 1em;
}

File

themes/chameleon/common.css
View source
  1. /*
  2. ** HTML elements
  3. */
  4. a, a:link, a:active {
  5. font-weight: bold;
  6. text-decoration: none;
  7. }
  8. a:hover {
  9. text-decoration: underline;
  10. }
  11. body {
  12. margin: 0;
  13. padding: 3em;
  14. font-size: .9em;
  15. line-height: 1.3em;
  16. }
  17. blockquote {
  18. font-style: italic;
  19. }
  20. table {
  21. margin: 0;
  22. padding: .5em;
  23. border-collapse: collapse;
  24. }
  25. code, pre {
  26. font-size: 1em;
  27. }
  28. pre {
  29. font-size: 0.8em;
  30. padding: 1em;
  31. background: #eee;
  32. }
  33. li {
  34. padding-bottom: .3em;
  35. }
  36. h1, h2, h3, h4, h5, h6 {
  37. margin-bottom: .25em;
  38. }
  39. h1 {
  40. font-size: 1.3em;
  41. }
  42. h2 {
  43. font-size: 1.2em;
  44. }
  45. h3 {
  46. font-size: 1.1em;
  47. }
  48. h4, h5, h6 {
  49. font-size: 1em;
  50. }
  51. p {
  52. margin: 0 0 .5em 0;
  53. }
  54. br {
  55. line-height: 0.6em;
  56. }
  57. /*
  58. ** Page layout blocks / IDs
  59. */
  60. #header {
  61. margin-bottom: 2em;
  62. }
  63. #help {
  64. font-size: 0.8em;
  65. }
  66. #content {
  67. clear: both;
  68. }
  69. #sidebar-left, #sidebar-right {
  70. vertical-align: top;
  71. padding: 10px;
  72. }
  73. #main {
  74. padding-left: 1em;
  75. padding-right: 1em;
  76. vertical-align: top;
  77. }
  78. #footer {
  79. font-size: 0.8em;
  80. padding-top: 2em;
  81. text-align: center;
  82. }
  83. /*
  84. ** Common declarations for child classes of node, comment, block, box etc
  85. */
  86. .title {
  87. margin: 0 0 .25em 0;
  88. }
  89. .content {
  90. margin: 0 0 .5em 0;
  91. }
  92. ul.links.inline {
  93. font-size: 0.8em;
  94. line-height: 1.25em;
  95. }
  96. .block {
  97. width: 180px;
  98. }
  99. .messages {
  100. padding: 0.3em;
  101. margin: 0.5em 0em 0.5em 0em;
  102. }
  103. .status {
  104. border: 1px solid #3a3;
  105. color: #3a3;
  106. }
  107. .error, form-item input.error {
  108. border: 1px solid red;
  109. color: red;
  110. }
  111. /*
  112. ** Common navigation links added on the admin/build/themes/settings page
  113. */
  114. .navlinks {
  115. padding: 0em 0.5em 1.5em 0em; /* LTR */
  116. clear: both;
  117. }
  118. .primary a {
  119. font-size: 1.0em;
  120. padding: 0em 0.5em 0em 0em; /* LTR */
  121. }
  122. .secondary a {
  123. font-size: 0.9em;
  124. padding: 0em 0.5em 0em 0em; /* LTR */
  125. }
  126. /*
  127. ** Logo Image Positioning
  128. */
  129. #header img {
  130. float: left; /* LTR */
  131. padding: 0em 2em .5em 0em; /* LTR */
  132. }
  133. #header {
  134. clear: both;
  135. }
  136. /*
  137. ** Module specific styles
  138. */
  139. .form-item textarea {
  140. font-size: 1em;
  141. }
  142. #aggregator .feed-source {
  143. border: 1px solid gray;
  144. padding: 1em;
  145. }