elements.css

Same filename in this branch
  1. 9 core/themes/seven/css/base/elements.css
  2. 9 core/themes/claro/css/base/elements.css
Same filename in other branches
  1. 8.9.x core/themes/seven/css/base/elements.css
  2. 8.9.x core/themes/claro/css/base/elements.css
  3. 8.9.x core/themes/bartik/css/base/elements.css
  4. 10 core/themes/claro/css/base/elements.css
  5. 11.x core/themes/claro/css/base/elements.css

Overall specifications for Bartik.

File

core/themes/bartik/css/base/elements.css

View source
  1. /**
  2. * @file
  3. * Overall specifications for Bartik.
  4. */
  5. html {
  6. height: 100%;
  7. }
  8. body {
  9. min-height: 100%;
  10. word-wrap: break-word;
  11. font-family: Georgia, "Times New Roman", Times, serif;
  12. font-size: 87.5%;
  13. line-height: 1.5;
  14. }
  15. a,
  16. a.link {
  17. text-decoration: none;
  18. border-bottom: 1px dotted;
  19. }
  20. a:hover,
  21. a:active,
  22. a:focus,
  23. .link:hover,
  24. .link:active,
  25. .link:focus {
  26. text-decoration: none;
  27. border-bottom-style: solid;
  28. }
  29. .link {
  30. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  31. }
  32. h1 a,
  33. h2 a {
  34. border-bottom: none;
  35. }
  36. /**
  37. * Reusable heading classes are included to help modules change the styling of
  38. * headings on a page without affecting accessibility.
  39. */
  40. h1,
  41. .heading-a {
  42. margin: 1em 0 0.5em;
  43. color: #000;
  44. font-size: 1.357em;
  45. font-weight: inherit;
  46. }
  47. h2,
  48. .heading-b {
  49. margin: 1em 0 0.5em;
  50. font-size: 1.143em;
  51. font-weight: inherit;
  52. }
  53. h3,
  54. .heading-c {
  55. margin: 1em 0 0.5em;
  56. font-size: 1.092em;
  57. font-weight: inherit;
  58. }
  59. h4,
  60. .heading-d {
  61. margin: 1em 0 0.5em;
  62. font-size: 1.05em;
  63. font-weight: inherit;
  64. }
  65. h5,
  66. .heading-e {
  67. margin: 1em 0 0.5em;
  68. letter-spacing: 0.1em;
  69. text-transform: uppercase;
  70. font-size: 0.889em;
  71. font-weight: inherit;
  72. }
  73. h6,
  74. .heading-f {
  75. margin: 1em 0 0.5em;
  76. letter-spacing: 0.1em;
  77. text-transform: uppercase;
  78. font-size: 0.67em;
  79. font-weight: inherit;
  80. }
  81. p {
  82. margin: 0 0 1.2em;
  83. }
  84. del {
  85. text-decoration: line-through;
  86. }
  87. blockquote {
  88. margin: 1.5em 10px;
  89. padding: 0.5em 10px;
  90. border-left: 1px solid #bbb; /* LTR */
  91. background: #f7f7f7;
  92. font-style: italic;
  93. }
  94. [dir="rtl"] blockquote {
  95. border-right: 1px solid #bbb;
  96. border-left: none;
  97. }
  98. blockquote:before {
  99. margin-right: 0.2em; /* LTR */
  100. content: "\201C";
  101. vertical-align: -0.4em;
  102. color: #bbb;
  103. font-size: 3em;
  104. line-height: 0.1em;
  105. }
  106. [dir="rtl"] blockquote:before {
  107. margin-right: 0;
  108. margin-left: 0.2em;
  109. content: "\201D";
  110. }
  111. blockquote:after {
  112. content: "\201D";
  113. vertical-align: -0.45em;
  114. color: #bbb;
  115. font-size: 3em;
  116. line-height: 0.1em;
  117. }
  118. [dir="rtl"] blockquote:after {
  119. content: "\201C";
  120. }
  121. blockquote > p:first-child {
  122. display: inline;
  123. }
  124. .feed-icon {
  125. display: block;
  126. margin: 25px 0 0 0;
  127. }
  128. img {
  129. max-width: 100%;
  130. height: auto;
  131. }
  132. ul,
  133. ol {
  134. margin: 0;
  135. padding: 0 0 0.25em 1em; /* LTR */
  136. }
  137. [dir="rtl"] ul,
  138. [dir="rtl"] ol {
  139. padding: 0 1em 0.25em 0;
  140. }
  141. ol ol,
  142. ul ul {
  143. margin: 0;
  144. padding: 0 0 0.25em 1em; /* LTR */
  145. }
  146. [dir="rtl"] ol ol,
  147. [dir="rtl"] ul ul {
  148. padding: 0 1em 0.25em 0;
  149. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.