rellapdrella

modifiche sito Sp.N

May 14th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. /* style.css */
  2.  
  3. #main #home_bottom_sx #banner_siap {
  4. background-color: #ffffff;
  5. margin-top: 0;
  6. padding-bottom: 10px;
  7. height: 215px;
  8. overflow: hidden;
  9. }
  10.  
  11.  
  12. #banner_siap {
  13. height: 224px;
  14. overflow: hidden;
  15. }
  16.  
  17. #banner_siap h2 {
  18. font-size: 18px !important;
  19. }
  20.  
  21.  
  22. #banner_siap .ce_text {
  23. padding: 6px 10px !important;
  24. text-align: justify;
  25. }
  26.  
  27. #banner_siap img {
  28. margin-left: 10px;
  29. }
  30.  
  31. /* ipotesi #1 */
  32. var text = '<div class="ce_text"><h2><a title="SPIR TRAPANI GARA CICLISTICA" href="notizie/leggi/items/spir-trapani-gara-ciclistica.html">SPIR TRAPANI GARA CICLISTICA</a></h2><p class="info">inserita il 09 Maggio 2013</p><div class="image_container"><img src="system/html/granfondospir-trapani-f1e598c8.jpg" width="115" height="76" alt=""></div><div class="ce_text"><a class="stdlink" title="leggi l\'articolo SPIR TRAPANI GARA CICLISTICA" href="notizie/leggi/items/spir-trapani-gara-ciclistica.html">&nbsp; La nostra O.S. seppure costituita da pochissimo tempo, persevera nel fare parte in &nbsp;attività sportive nella convinzione che lo sport è legalità e</a>&nbsp;<a title="leggi l\'articolo SPIR TRAPANI GARA CICLISTICA" href="notizie/leggi/items/spir-trapani-gara-ciclistica.html">...</a></div></div>';
  33.  
  34. document.id('banner_siap').set({'html':text});
  35. $$('#banner_siap img').setStyle('float', 'right');
  36. $$('#banner_siap').setStyle('background', 'white');
  37.  
  38.  
  39.  
  40.  
  41. /* ipotesi #2 */
  42.  
  43. var text='<div class="image"><a href="http://www.google.it"><img src="http://lorempixel.com/289/224/transport/" alt="" /></a><h2><a href="http://www.google.it">Testo prima riga</a></h2><h3><a href="http://www.google.it">Testo seconda riga</a></h3></div>';
  44. document.id('banner_siap').set({'html':text})
  45.  
  46.  
  47. #banner_siap .image { position: relative; margin-bottom: 20px; width: 100%; }
  48. #banner_siap h2, h3 {
  49. position: absolute; top: 130px; left: 0px;
  50. }
  51.  
  52. #banner_siap h3 {
  53. top: 162px;
  54. }
  55.  
  56. #banner_siap h2 a, #banner_siap h3 a { color: white; font: bold 24px/45px Helvetica, Sans-Serif; letter-spacing: -1px;
  57. background: rgb(0, 0, 0); background: rgba(50, 150, 250, 0.5); margin: 0px; padding-left: 5px; display: block; width: 289px}
  58.  
  59.  
  60.  
  61.  
  62. /* ipotesi #3 */
  63.  
  64.  
  65. var text='<div class="image_heading"><h1><a href="http://www.google.it">Titolo della notizia</a></h1><h2><a href="http://www.google.it">Contenuto della notizia contenuto di prova della notizia contenuto altro contenuto contenuto</a></h2></div><div class="image"><a href="http://www.google.it"><img src="http://lorempixel.com/290/224/transport/" alt="" /></a></div>';
  66. document.id('banner_siap').set({'html':text})
  67.  
  68.  
  69. #home_bottom_sx .mod_newslist {
  70. height: 430px !important;
  71. }
  72.  
  73.  
  74. #main #home_bottom_sx #banner_siap {
  75. background-color: #ffffff !important;
  76. margin-top: 0;
  77. padding-bottom: 10px;
  78. height: 325px;
  79. width: 290px;
  80. }
  81.  
  82. #main #home_bottom_sx #banner_siap h1 {
  83. border: none;
  84. padding: 4px 10px;
  85. margin: 0px;
  86. font-size: 22px;
  87. }
  88.  
  89. #main #home_bottom_sx #banner_siap h2 {
  90. margin: 0px;
  91. padding: 4px 10px;
  92. }
  93.  
  94. #main #home_bottom_sx #banner_siap h2 a {
  95. color: #333 !important;
  96. text-transform: lowercase;
  97. font-size: 12px;
  98. }
  99. #main #home_bottom_sx #banner_siap .image_heading {
  100. height: 100px;
  101. overflow: hidden;
  102. }
  103.  
  104. #main #home_bottom_sx #banner_siap .image {
  105. border-bottom: 10px solid #06c;
  106. margin: 0px;
  107. padding: 0px;
  108. height: 224px;
  109. }
Advertisement
Add Comment
Please, Sign In to add comment