typography.php 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. color: #333;
  15. font-size: 90%;
  16. line-height: 1.4em;
  17. font-family: "Helvetica Neue", Helvetica, "Lucida Grande", Arial, sans-serif;
  18. }
  19. a {
  20. color: #5097CF;
  21. }
  22. a:hover,
  23. a.selected { <?php //@todo remove .selected ?>
  24. color: #555;
  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: #000;
  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: 10px 15px;
  57. margin: 0 0 15px 0;
  58. background: #E2F2FE;
  59. border: 1px solid #A1CBEA;
  60. border-radius: 3px;
  61. }
  62. h1, h2, h3, h4, h5, h6 {
  63. font-weight: bold;
  64. color: #444;
  65. text-rendering: optimizelegibility;
  66. }
  67. h1 { font-size: 1.8em; }
  68. h2 { font-size: 1.5em; line-height: 1.1em; }
  69. h3 { font-size: 1.2em; }
  70. h4 { font-size: 1.0em; }
  71. h5 { font-size: 0.9em; }
  72. h6 { font-size: 0.8em; }
  73. .elgg-heading-site, .elgg-heading-site:hover {
  74. font-family: Georgia, Times, "Times New Roman", serif;
  75. font-size: 2em;
  76. line-height: 1.2em;
  77. color: #FFF;
  78. text-shadow: 1px 1px 3px #333;
  79. text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  80. text-decoration: none;
  81. }
  82. .elgg-heading-main {
  83. display: inline-block;
  84. padding-top: 15px;
  85. margin-right: 10px;
  86. }
  87. .elgg-heading-basic {
  88. color: #0054A7;
  89. font-size: 1.2em;
  90. font-weight: bold;
  91. }
  92. .elgg-subtext {
  93. color: #666;
  94. font-size: 85%;
  95. line-height: 1.4em;
  96. font-style: italic;
  97. }
  98. .elgg-text-help {
  99. display: block;
  100. font-size: 85%;
  101. font-style: italic;
  102. }
  103. .elgg-quiet {
  104. color: #666;
  105. }
  106. .elgg-loud {
  107. color: #0054A7;
  108. }
  109. /* ***************************************
  110. USER INPUT DISPLAY RESET
  111. *************************************** */
  112. .elgg-output {
  113. margin-top: 10px;
  114. }
  115. .elgg-output dt { font-weight: bold }
  116. .elgg-output dd { margin: 0 0 1em 1em }
  117. .elgg-output ul, .elgg-output ol {
  118. margin: 0 1.5em 1.5em 0;
  119. padding-left: 1.5em;
  120. }
  121. .elgg-output ul {
  122. list-style-type: disc;
  123. }
  124. .elgg-output ol {
  125. list-style-type: decimal;
  126. list-style-position: inside;
  127. padding-left: .4em;
  128. }
  129. .elgg-output table {
  130. border: 1px solid #DCDCDC;
  131. }
  132. .elgg-output table td {
  133. border: 1px solid #DCDCDC;
  134. padding: 3px 5px;
  135. }
  136. .elgg-output img {
  137. max-width: 100%;
  138. height: auto;
  139. }