layout.css

  1. 5.x themes/basic/layout.css
  2. 5.x themes/fp5_clean/layout.css
  3. 5.x themes/classic/layout.css

This is where the CSS directly related to the theme's layout goes. For example, CSS regarding corners of tables, width of page, etc.

File

themes/classic/layout.css
View source
  1. /**
  2. * @file
  3. * This is where the CSS directly related to the theme's layout goes. For example, CSS regarding
  4. * corners of tables, width of page, etc.
  5. */
  6. body
  7. {
  8. font-family: Arial, Helvetica, sans serif;
  9. background-color: #ECECDB;
  10. }
  11. /*
  12. * Page top banner
  13. */
  14. table.top-banner {
  15. margin-bottom: 1.2em;
  16. }
  17. /* Don't display if this is a popup! */
  18. .page-is-popup table.top-banner {
  19. display: none;
  20. }
  21. /**
  22. * "layout" tables. Ie, the curved tables of the main content, and top banner.
  23. */
  24. table.fp-layout-table {
  25. width: 800px;
  26. padding: 0;
  27. margin-left: auto;
  28. margin-right: auto;
  29. border-spacing: 0;
  30. border-collapse: collapse;
  31. background-color: white;
  32. }
  33. /* If it's in a popup, change to 100% width */
  34. .page-is-popup table.fp-layout-table {
  35. width: 100%;
  36. }
  37. .fp-layout-table .corner-top-left {
  38. text-align: left;
  39. width: 28px;
  40. vertical-align: baseline;
  41. background: url('images/tl.gif') #ECECDB top left no-repeat;
  42. padding: 0;
  43. margin: 0;
  44. }
  45. .fp-layout-table .layout-table-top {
  46. vertical-align: baseline;
  47. background: url('images/top.gif') #ECECDB repeat-x;
  48. width: 800px;
  49. padding: 0;
  50. margin: 0;
  51. }
  52. .fp-layout-table .corner-top-right {
  53. text-align: right;
  54. width: 33px;
  55. height: 17px;
  56. vertical-align: baseline;
  57. background: url('images/tr.gif') #ECECDB top right no-repeat;
  58. padding: 0;
  59. margin: 0;
  60. }
  61. .fp-layout-table .layout-table-left {
  62. padding: 0;
  63. margin: 0;
  64. background: url('images/left.gif') repeat-y top left;
  65. }
  66. .fp-layout-table .layout-table-right {
  67. padding: 0;
  68. margin: 0;
  69. background: url('images/right.gif') repeat-y top right;
  70. }
  71. .fp-layout-table .layout-table-content {
  72. padding: 0;
  73. margin: 0;
  74. }
  75. .fp-layout-table .corner-bottom-left {
  76. text-align: left;
  77. vertical-align: bottom;
  78. background: url('images/bl.gif') #ECECDB no-repeat;
  79. padding: 0;
  80. margin: 0;
  81. width: 33px;
  82. height: 36px;
  83. }
  84. .fp-layout-table .layout-table-bottom {
  85. vertical-align: bottom;
  86. background: url('images/bottom.gif') #ECECDB repeat-x;
  87. padding: 0;
  88. margin: 0;
  89. }
  90. .fp-layout-table .corner-bottom-right {
  91. text-align: right;
  92. vertical-align: bottom;
  93. background: url('images/br.gif') #ECECDB no-repeat;
  94. padding: 0;
  95. margin: 0;
  96. width: 33px;
  97. height: 36px;
  98. }
  99. .layout-table-spacer_33_36 {
  100. width: 33px;
  101. height: 36px;
  102. }
  103. /* Tabs & search */
  104. td.tabs-search-td {
  105. margin: 0;
  106. padding: 0;
  107. }
  108. table.tabs-search-table {
  109. width: 100%;
  110. padding: 0;
  111. margin: 0;
  112. text-align: left;
  113. border: 0;
  114. border-spacing: 0;
  115. border-collapse: collapse;
  116. background-color: #ECECDB;
  117. }
  118. table.tabs-search-table td {
  119. padding: 0;
  120. margin: 0;
  121. }
  122. table.tabs-table-tabs {
  123. width: 100%;
  124. text-align: left;
  125. border: 0;
  126. border-spacing: 0;
  127. border-collapse: collapse;
  128. }
  129. .tabs-table-tabs td {
  130. padding: 0;
  131. margin: 0;
  132. }
  133. table.tabs-search-table td.search-td {
  134. text-align: right;
  135. width: 100%;
  136. vertical-align: bottom;
  137. padding-right: 30px;
  138. }
  139. /* Page content */
  140. .page-content {
  141. width: 98%;
  142. margin-left: auto;
  143. margin-right: auto;
  144. }
  145. .page-is-popup .page-content {
  146. min-height: 250px;
  147. }
  148. /* bottom message / footer region */
  149. .fp-bottom-message {
  150. font-size: 0.7em;
  151. width: 800px;
  152. margin-left: auto;
  153. margin-right: auto;
  154. padding-left: 40px;
  155. }
  156. .page-is-popup .fp-bottom-message {
  157. width: 100px;
  158. margin: 0;
  159. }