You are here

common.css in Drupal 4

Same filename and directory in other branches
  1. 5 themes/chameleon/common.css
  2. 6 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;
 clear: both;
}

/*
** Common declarations for child classes of node, comment, block, box etc
*/
.title {
  margin: 0 0 .25em 0;
}
.content {
  margin: 0 0 .5em 0;
}
.links {
  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/themes/settings page
*/
.navlinks {
  padding: 0em 0.5em 1.5em 0em;
  clear: both;
}
.primary a {
  font-size: 1.0em;
  padding: 0em 0.5em 0em 0em;
}
.secondary a {
  font-size: 0.9em;
  padding: 0em 0.5em 0em 0em;
}

/*
** Logo Image Positioning
*/
#header img {
  float: left;
  padding: 0em 2em .5em 0em;
}
#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. clear: both;
  83. }
  84. /*
  85. ** Common declarations for child classes of node, comment, block, box etc
  86. */
  87. .title {
  88. margin: 0 0 .25em 0;
  89. }
  90. .content {
  91. margin: 0 0 .5em 0;
  92. }
  93. .links {
  94. font-size: 0.8em;
  95. line-height: 1.25em;
  96. }
  97. .block {
  98. width: 180px;
  99. }
  100. .messages {
  101. padding: 0.3em;
  102. margin: 0.5em 0em 0.5em 0em;
  103. }
  104. .status {
  105. border: 1px solid #3a3;
  106. color: #3a3;
  107. }
  108. .error, form-item input.error {
  109. border: 1px solid red;
  110. color: red;
  111. }
  112. /*
  113. ** Common navigation links added on the admin/themes/settings page
  114. */
  115. .navlinks {
  116. padding: 0em 0.5em 1.5em 0em;
  117. clear: both;
  118. }
  119. .primary a {
  120. font-size: 1.0em;
  121. padding: 0em 0.5em 0em 0em;
  122. }
  123. .secondary a {
  124. font-size: 0.9em;
  125. padding: 0em 0.5em 0em 0em;
  126. }
  127. /*
  128. ** Logo Image Positioning
  129. */
  130. #header img {
  131. float: left;
  132. padding: 0em 2em .5em 0em;
  133. }
  134. #header {
  135. clear: both;
  136. }
  137. /*
  138. ** Module specific styles
  139. */
  140. .form-item textarea {
  141. font-size: 1em;
  142. }
  143. #aggregator .feed-source {
  144. border: 1px solid gray;
  145. padding: 1em;
  146. }