A tumblelog CMS built on AJAX, PHP and MySQL.

style.css 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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. text-align:center;
  194. padding:3px;
  195. margin:3px;
  196. }
  197. div.pagination a {
  198. padding: 2px 5px 2px 5px;
  199. margin-right: 2px;
  200. border: 1px solid #ddd;
  201. text-decoration: none;
  202. color: #aaa;
  203. }
  204. div.pagination a:hover, div.pagination a:active {
  205. padding: 2px 5px 2px 5px;
  206. margin-right: 2px;
  207. border: 1px solid #a0a0a0;
  208. }
  209. div.pagination span.current {
  210. padding: 2px 5px 2px 5px;
  211. margin-right: 2px;
  212. border: 1px solid #e0e0e0;
  213. font-weight: bold;
  214. background-color: #f0f0f0;
  215. color: #aaa;
  216. }
  217. div.pagination span.disabled {
  218. padding: 2px 5px 2px 5px;
  219. margin-right: 2px;
  220. border: 1px solid #f3f3f3;
  221. color: #ccc;
  222. }
  223. .containerFormComments {
  224. margin: 25px 65px 0px 0px;
  225. font-family: Verdana;
  226. font-size: 0.75em;
  227. }
  228. #commentForm input, #commentForm textarea {
  229. font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
  230. }
  231. #commentForm p {
  232. font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
  233. margin: 5px 0;
  234. }
  235. #commentForm input {
  236. width: 170px;
  237. padding: 2px;
  238. margin: 5px 5px 1px 0;
  239. }
  240. #commentForm textarea {
  241. width: 100%;
  242. padding: 2px;
  243. }
  244. #commentForm #btnAdd {
  245. margin: 0;
  246. float: right;
  247. }