typography.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?php
  2. /**
  3. * CSS typography
  4. *
  5. * @package Elgg.Core
  6. * @subpackage UI
  7. */
  8. ?>
  9. /* <style> /**/
  10. /* ***************************************
  11. Typography
  12. *************************************** */
  13. body {
  14. font-size: 80%;
  15. line-height: 1.4em;
  16. font-family: "Lucida Grande", Arial, Tahoma, Verdana, sans-serif;
  17. }
  18. a {
  19. color: #4690D6;
  20. }
  21. a:hover,
  22. a:focus,
  23. a.selected { <?php //@todo remove .selected ?>
  24. color: #555555;
  25. text-decoration: underline;
  26. }
  27. p {
  28. margin-bottom: 15px;
  29. }
  30. p:last-child {
  31. margin-bottom: 0;
  32. }
  33. pre, code {
  34. font-family: Monaco, "Courier New", Courier, monospace;
  35. font-size: 12px;
  36. background:#EBF5FF;
  37. color:#000000;
  38. overflow:auto;
  39. overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
  40. white-space: pre-wrap;
  41. word-wrap: break-word; /* IE 5.5-7 */
  42. }
  43. pre {
  44. padding:3px 15px;
  45. margin:0px 0 15px 0;
  46. line-height:1.3em;
  47. }
  48. code {
  49. padding:2px 3px;
  50. }
  51. .elgg-monospace {
  52. font-family: Monaco, "Courier New", Courier, monospace;
  53. }
  54. blockquote {
  55. line-height: 1.3em;
  56. padding:3px 15px;
  57. margin:0px 0 15px 0;
  58. background:#EBF5FF;
  59. border:none;
  60. border-radius: 4px;
  61. }
  62. h1, h2, h3, h4, h5, h6 {
  63. font-weight: bold;
  64. color: #0054A7;
  65. }
  66. h1 { font-size: 1.8em; }
  67. h2 { font-size: 1.5em; line-height: 1.1em; padding-bottom:5px}
  68. h3 { font-size: 1.2em; }
  69. h4 { font-size: 1.0em; }
  70. h5 { font-size: 0.9em; }
  71. h6 { font-size: 0.8em; }
  72. .elgg-heading-site,
  73. .elgg-heading-site:hover,
  74. .elgg-heading-site:focus {
  75. font-size: 2em;
  76. line-height: 1.4em;
  77. color: white;
  78. font-style: italic;
  79. font-family: Georgia, times, serif;
  80. text-shadow: 1px 2px 4px #333;
  81. text-decoration: none;
  82. }
  83. .elgg-heading-site:hover,
  84. .elgg-heading-site:focus {
  85. text-shadow: 1px 2px 8px #000;
  86. }
  87. .elgg-heading-main {
  88. margin-right: 10px;
  89. }
  90. .elgg-heading-basic {
  91. color: #0054A7;
  92. font-size: 1.2em;
  93. font-weight: bold;
  94. }
  95. .elgg-subtext {
  96. color: #666666;
  97. font-size: 85%;
  98. line-height: 1.2em;
  99. font-style: italic;
  100. }
  101. .elgg-text-help {
  102. display: block;
  103. font-size: 85%;
  104. font-style: italic;
  105. }
  106. .elgg-quiet {
  107. color: #666;
  108. }
  109. .elgg-loud {
  110. color: #0054A7;
  111. }
  112. /* ***************************************
  113. USER INPUT DISPLAY RESET
  114. *************************************** */
  115. .elgg-output {
  116. margin-top: 10px;
  117. }
  118. .elgg-output dt { font-weight: bold }
  119. .elgg-output dd { margin: 0 0 1em 1em }
  120. .elgg-output ul, .elgg-output ol {
  121. margin: 0 1.5em 1.5em 0;
  122. padding-left: 1.5em;
  123. }
  124. .elgg-output ul {
  125. list-style-type: disc;
  126. }
  127. .elgg-output ol {
  128. list-style-type: decimal;
  129. list-style-position: inside;
  130. padding-left: .4em;
  131. }
  132. .elgg-output table {
  133. border: 1px solid #ccc;
  134. }
  135. .elgg-output table td {
  136. border: 1px solid #ccc;
  137. padding: 3px 5px;
  138. }
  139. .elgg-output img {
  140. max-width: 100%;
  141. height: auto;
  142. }