A tumblelog CMS built on AJAX, PHP and MySQL.

style.css 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. body {
  2. background-color: #222;
  3. background-image: url(img/bg.gif);
  4. margin: 0px 0px 50px 60px;
  5. font: Normal 13px Arial, Helvetica, sans-serif;
  6. color: #555;
  7. }
  8. #container {
  9. width: 500px;
  10. padding: 25px;
  11. background-color: #fff;
  12. border-bottom: solid 8px #aaa;
  13. }
  14. img#rss {
  15. width: 36px;
  16. height: 19px;
  17. border-width: 0px;
  18. float: right;
  19. margin-left: 30px;
  20. margin-bottom: 10px;
  21. }
  22. h1 {
  23. color: #666;
  24. margin: 0px 0px 10px 0px;
  25. font-weight: normal;
  26. font-size: 40px;
  27. letter-spacing: -1px;
  28. }
  29. h1 a {
  30. color: #666;
  31. text-decoration: none;
  32. }
  33. #description {
  34. color: #777;
  35. font-size: 11px;
  36. line-height: 18px;
  37. padding-right: 70px;
  38. margin-bottom: 30px;
  39. }
  40. .date {
  41. margin: 30px 0px 10px 0px;
  42. color: #ccc;
  43. font-size: 24px;
  44. text-align: right;
  45. letter-spacing: -1px;
  46. text-transform: uppercase;
  47. border-bottom: solid 1px #ccc;
  48. }
  49. div.post {
  50. margin-bottom: 40px;
  51. position: relative;
  52. }
  53. div.post img.permalink {
  54. border-width: 0px;
  55. width: 23px;
  56. height: 9px;
  57. position: absolute;
  58. top: 5px;
  59. right: 5px;
  60. display: none;
  61. }
  62. div.post:hover img.permalink {
  63. display: block;
  64. }
  65. div.post h2 {
  66. font-size: 14px;
  67. color: #444;
  68. margin: 0px 0px 5px 0px;
  69. }
  70. div.post h2 a {
  71. color: #444;
  72. text-decoration: none;
  73. }
  74. a {
  75. color: #111;
  76. }
  77. /* Regular Post */
  78. div.post div.regular {
  79. font: Normal 11px 'Lucida Grande', Verdana, Arial, sans-serif;
  80. line-height: 17px;
  81. }
  82. div.post div.regular blockquote {
  83. font-style: italic;
  84. }
  85. /* Photo Post */
  86. div.post div.photo img {
  87. border-width: 0px;
  88. }
  89. div.post div.photo div.caption {
  90. font-size: 11px;
  91. margin-top: 5px;
  92. color: #888;
  93. }
  94. div.post div.photo div.caption a {
  95. color: #888;
  96. }
  97. /* Quote Post */
  98. div.post div.quote {
  99. padding: 0px 30px 0px 30px;
  100. }
  101. div.post div.quote span.quote {
  102. font-size: 24px;
  103. color: #444;
  104. }
  105. div.post div.quote span.quote a {
  106. color: #444;
  107. }
  108. div.post div.quote span.quote big.quote {
  109. font: Bold 60px Georgia, serif;
  110. line-height: 1px;
  111. vertical-align: -23px;
  112. opacity: 0.4;
  113. -moz-opacity: 0.4;
  114. filter: alpha(opacity=40);
  115. }
  116. div.post div.quote span.quote big.quote a {
  117. text-decoration: none;
  118. }
  119. div.post div.quote div.source {
  120. font-size: 16px;
  121. color: #666;
  122. }
  123. div.post div.quote div.source a {
  124. color: #666;
  125. }
  126. /* Link Post */
  127. div.post div.link {
  128. color: #666;
  129. font-size: 24px;
  130. letter-spacing: -1px;
  131. }
  132. div.post div.link a {
  133. color: #666;
  134. text-decoration: none;
  135. border-bottom: dotted 1px #666;
  136. }
  137. div.post div.link div.description {
  138. font-size: 15px;
  139. letter-spacing: 0px;
  140. line-height: 20px;
  141. }
  142. /* Conversation Post */
  143. div.post div.conversation ul {
  144. list-style-type: none;
  145. margin: 0px;
  146. padding: 0px 0px 0px 1px;
  147. border-left: solid 5px #555;
  148. }
  149. div.post div.conversation ul li {
  150. font-size: 12px;
  151. padding: 4px 0px 4px 8px;
  152. color: #000;
  153. margin-bottom: 1px;
  154. }
  155. div.post div.conversation ul li span.label {
  156. font-weight: bold;
  157. }
  158. div.post div.conversation ul li.odd {
  159. background-color: #f4f4f4;
  160. }
  161. div.post div.conversation ul li.even {
  162. background-color: #e8e8e8;
  163. }
  164. /* Video Post */
  165. div.post div.video div.caption {
  166. margin-top: 5px;
  167. color: #888;
  168. font-size: 11px;
  169. }
  170. div.post div.video div.caption a {
  171. color: #888;
  172. }
  173. #navigation {
  174. font-size: 11px;
  175. font-weight: bold;
  176. }
  177. #navigation a {
  178. color: #555;
  179. text-decoration: none;
  180. }
  181. #navigation a:hover {
  182. text-decoration: underline;
  183. }
  184. #footer {
  185. margin-top: 11px;
  186. font-size: 10px;
  187. color: #eee;
  188. }
  189. #footer a {
  190. color: #eee;
  191. }
  192. div.pagination {
  193. padding:3px;
  194. margin:3px;
  195. }
  196. div.pagination a {
  197. padding: 2px 5px 2px 5px;
  198. margin-right: 2px;
  199. border: 1px solid #ddd;
  200. text-decoration: none;
  201. color: #88AF3F;
  202. }
  203. div.pagination a:hover, div.pagination a:active {
  204. border:1px solid #85BD1E;
  205. color: #638425;
  206. background-color: #F1FFD6;
  207. }
  208. div.pagination span.current {
  209. padding: 2px 5px 2px 5px;
  210. margin-right: 2px;
  211. border: 1px solid #B2E05D;
  212. font-weight: bold;
  213. background-color: #B2E05D;
  214. color: #FFF;
  215. }
  216. div.pagination span.disabled {
  217. padding: 2px 5px 2px 5px;
  218. margin-right: 2px;
  219. border: 1px solid #f3f3f3;
  220. color: #ccc;
  221. }