A tumblelog CMS built on AJAX, PHP and MySQL.

style.css 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /* ===========================
  2. gelato CMS - A PHP based tumblelog CMS
  3. development version
  4. http://www.gelatocms.com/
  5. gelato CMS is a free software licensed under the GPL 2.0
  6. Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
  7. =========================== */
  8. /************ BASICS *************/
  9. div, p, ul, ol, li, h1, h2, h3, h4, h5, h6, h7,form, span, pre, a{margin:0; padding:0;}
  10. h1, h2, h3, h4, h5, h6, h7{ font-weight:normal;}
  11. a, a:link, a:visited, a:active{ color:#000000; text-decoration:none; outline:none;}
  12. a:hover{ text-decoration:underline; color:#000000; outline:none;}
  13. .inslnl a{ text-decoration:underline; }
  14. acronym{ border-bottom: 1px dotted #666; cursor:help;}
  15. fieldset{ border:none; margin:0; padding:0;}
  16. .gelato{color:#006699; font-weight:bold; font-family:'Trebuchet Ms', Verdad, Tahoma;}
  17. .option{ color:#666666; font-style:italic; font-size:0.9em}
  18. /*********** LAYOUT *************/
  19. body{ background: #fff; text-align:center; font-family:"Trebuchet Ms", Verdana, Tahoma; font-size:1em;}
  20. #cont{ width:569px; margin:30px auto 10px auto; text-align:left;}
  21. #head{ background: transparent url(images/head_bg.png) bottom center no-repeat; position: relative; padding-bottom:20px; height:73px;}
  22. h1 a{ display:block; height:77px; width:161px; background:#fff url(images/gelato-logo.png) top left no-repeat; text-indent:-9999px; overflow:hidden;}
  23. #nav{ position:absolute; right:1px; font-size:0.75em; line-height:normal; margin:0; padding:0 10px 0 0; list-style:none;bottom:34px;}
  24. #nav li{ margin:0; padding:0; text-align:right;}
  25. #nav li a:link, #nav li a:visited, #nav li a:active, #nav li a:focus{ color:#777; text-decoration: none;}
  26. #nav li a:hover{ text-decoration:underline;}
  27. #main{ background: #fff url(images/main_bg.png) top left repeat-y; text-align:left; padding:0 0 40px 0;}
  28. h2{ font-size:1.56em; margin:4px; text-indent:20px;}
  29. h3{font-size:1.12em; margin:4px; color:#333333; text-indent:20px;}
  30. .box{ background:#efefef url(images/bg-box.png) left top repeat-y;}
  31. .footer-box{background:#fff url(images/bg-foot-box.png) top center no-repeat;}
  32. .box h3{float:left; color:#FFFFFF; font-weight:bold; padding:5px 10px 0 0;}
  33. .menu{ background:#c1c7cd url(images/bg-top-box.png) top center no-repeat; height:40px; width:559px; list-style-type:none; padding-right:10px;}
  34. .menu li{ display:inline;}
  35. .menu li.selected a{background: transparent url(images/bg-top-box-hover.png) left top repeat-x; text-decoration:none;}
  36. .menu li a{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.7em; display:block; float:right; height:28px; padding:12px 3px 0 3px;}
  37. .menu li a:hover{ background: transparent url(images/bg-top-box-hover.png) left top repeat-x; text-decoration:none;}
  38. .menu li a img{border:none; vertical-align:bottom;}
  39. .manage li a{ padding:14px 6px 0 6px;}
  40. form.newpost{ width:500px; margin:0 auto; padding:0;}
  41. form.newpost ul{ list-style-type:none; margin:20px 0 10px 0; padding:0;}
  42. form.newpost li{ margin:4px 0; padding:0; position:relative;}
  43. form.newpost li.select{ margin:6px 0;}
  44. form.newpost label{}
  45. form.newpost input{ margin-bottom:10px;}
  46. form.newpost input.txt{ background: #fff url(images/grad-small.png) top left repeat-x; height:15px; border:1px solid #999; width:490px; padding:5px;}
  47. form.newpost input.btn{ }
  48. form.newpost textarea{background: #fff url(images/grad-big.png) top left repeat-x; height:190px; border:1px solid #999; width:490px; padding:5px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:0.8em;}
  49. form.newpost select{ position:absolute; right:10px; top:1px;}
  50. html > body form.newpost select{min-width:100px;}
  51. legend.install{font: normal 16.5px/17px georgia, "times new roman", serif; border: 0; margin-top: 0px; padding-top:0; margin-bottom: 0; padding-bottom: 0; color: #c60; margin-bottom: 10px;}
  52. .tabla{ margin:15px 15px; }
  53. .entry{ background-color:#efefef; border:1px solid #ccc; margin:20px 15px;}
  54. .info{ border-bottom:1px solid #aaa; position:relative; display:block; padding:4px 10px; height:20px; }
  55. .info p{font-size:0.8em; color:#297aab; display:inline;}
  56. .compact{ float:right; margin:-2px 0 0 0; padding:0;}
  57. .compact img{ border:0px; }
  58. .compact a { color:#297aab; font-size:0.8em; }
  59. .compact a:link { color:#297aab; font-size:0.8em; }
  60. .compact a:visited { color:#297aab; font-size:0.8em; }
  61. .compact a:active { color:#297aab; font-size:0.8em; }
  62. .compact a:hover { color:#297aab; font-size:0.8em; }
  63. .post{ padding:10px;}
  64. .post h4{ font-style:italic; font-weight:bold; }
  65. .post p{ font-size:0.9em; text-indent:20px;}
  66. .post img{}
  67. .post blockqoute{}
  68. .post .video{}
  69. .post .audio{}
  70. #foot{ background: transparent url(images/foot_bg.png) top center no-repeat; clear: both;}
  71. #foot { text-align:center; font-size: 10px; color: #000; }
  72. #footer a { color: #000; }
  73. #div-process { top:0px; padding-left: 22px; font: normal 14.5px/17px georgia, "times new roman", serif; background: url('../../images/proceso.gif') no-repeat 0% 10%; float: right; height: 20px; width: 150px; border: 1px solid #000066; background-color:#FFFFCC; color:#011940; }
  74. a.linkFrm, a.linkFrm:link, a.linkFrm:visited, a.linkFrm:active{ color:#297aab; text-decoration:none; outline:none;}
  75. a.linkFrm:hover{ text-decoration:underline; color:#297aab; outline:none;}
  76. /* User messages */
  77. .error { width:80%; background: #FFF7F2 url('../../images/error.png') 15px center no-repeat; border-top: 2px solid #CC0000; border-bottom: 2px solid #CC0000; margin: 0 auto; padding: 5px 20px 5px 45px; }
  78. .exito { width:80%; background: #F4FBF5 url('../../images/information.png') 15px center no-repeat; border-top: 2px solid #006600; border-bottom: 2px solid #006600; margin: 0 auto; padding: 5px 20px 5px 45px; }
  79. .information { width:80%; background: #FFF6BF url('../../images/icon_info.gif') 15px center no-repeat; border-top: 2px solid #FFD324; border-bottom: 2px solid #FFD324; margin: 0 auto;padding: 5px 20px 5px 45px; }
  80. #update { text-align:center; font-size: 10px; color: #000; }
  81. #update a { color: #000; text-decoration:underline; }
  82. #update a:visited { color: #000; text-decoration:underline; }
  83. #update a:active { color: #000; text-decoration:underline; }
  84. #update a:hover { color: #F00; text-decoration:underline; }
  85. /* Pagination */
  86. div.pagination { text-align:center; padding:3px; margin:3px; }
  87. div.pagination a { padding: 2px 5px 2px 5px; margin-right: 2px; border: 1px solid #ddd; text-decoration: none; color: #aaa; }
  88. div.pagination a:hover, div.pagination a:active { padding: 2px 5px 2px 5px; margin-right: 2px; border: 1px solid #a0a0a0; }
  89. div.pagination span.current { padding: 2px 5px 2px 5px; margin-right: 2px; border: 1px solid #e0e0e0; font-weight: bold; background-color: #f0f0f0; color: #aaa; }
  90. div.pagination span.disabled { padding: 2px 5px 2px 5px; margin-right: 2px; border: 1px solid #f3f3f3; color: #ccc; }
  91. /* Conversation Post */
  92. div.conversation ul { list-style-type: none; margin: 0px; padding: 0px 0px 0px 1px; border-left: solid 5px #555; }
  93. div.conversation ul li { font-size: 12px; padding: 4px 0px 4px 8px; color: #000; margin-bottom: 1px; }
  94. div.conversation ul li span.label { font-weight: bold; }
  95. div.conversation ul li.odd { background-color: #f4f4f4; }
  96. div.conversation ul li.even { background-color: #e8e8e8; }
  97. /* Tables design */
  98. #admin-table { width:535px; margin:0 auto; padding:0;}
  99. table { padding: 0; width:70%; margin: 0 auto; border-collapse: collapse; color: #333; background: #F3F5F7; }
  100. table a {color: #3A4856; text-decoration: none; border-bottom: 1px solid #C6C8CB; }
  101. table img { border:0px; }
  102. table a:visited {color: #777; text-decoration: none; }
  103. table a:hover {color: #000; text-decoration: none; }
  104. table caption {text-align: left; text-transform: uppercase; padding-bottom: 10px; }
  105. table thead th {background: #BDD3E7; padding: 15px 10px; color: #fff; text-align: left; font-weight: normal; }
  106. table tbody, table thead {border-left: 1px solid #EAECEE; border-right: 1px solid #EAECEE; }
  107. table tbody {border-bottom: 1px solid #EAECEE; }
  108. table tbody td, table tbody th {padding: 10px; background: url('images/td_back.gif') repeat-x; text-align: left; }
  109. table tbody tr {background: #F3F5F7; }
  110. table tbody tr.odd {background: #F0F2F4; }
  111. table tbody tr:hover {background: #EAECEE; color: #111; }
  112. table tfoot td, table tfoot th, table tfoot tr {text-align: left; background: #fff; padding: 10px; }