walled_garden.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?php
  2. /**
  3. * Walled garden CSS
  4. */
  5. $url = elgg_get_site_url();
  6. ?>
  7. /* <style> /**/
  8. .elgg-body-walledgarden {
  9. margin: 100px auto 0 auto;
  10. position: relative;
  11. width: 530px;
  12. }
  13. .elgg-module-walledgarden {
  14. position: absolute;
  15. top: 0;
  16. left: 0;
  17. }
  18. .elgg-module-walledgarden > .elgg-head {
  19. height: 17px;
  20. }
  21. .elgg-module-walledgarden > .elgg-body {
  22. padding: 0 10px;
  23. }
  24. .elgg-module-walledgarden > .elgg-foot {
  25. height: 17px;
  26. }
  27. .elgg-walledgarden-double > .elgg-head {
  28. background: url(<?php echo $url; ?>_graphics/walled_garden/two_column_top.png) no-repeat left top;
  29. }
  30. .elgg-walledgarden-double > .elgg-body {
  31. background: url(<?php echo $url; ?>_graphics/walled_garden/two_column_middle.png) repeat-y left top;
  32. }
  33. .elgg-walledgarden-double > .elgg-foot {
  34. background: url(<?php echo $url; ?>_graphics/walled_garden/two_column_bottom.png) no-repeat left top;
  35. }
  36. .elgg-walledgarden-single > .elgg-head {
  37. background: url(<?php echo $url; ?>_graphics/walled_garden/one_column_top.png) no-repeat left top;
  38. }
  39. .elgg-walledgarden-single > .elgg-body {
  40. background: url(<?php echo $url; ?>_graphics/walled_garden/one_column_middle.png) repeat-y left top;
  41. }
  42. .elgg-walledgarden-single > .elgg-foot {
  43. background: url(<?php echo $url; ?>_graphics/walled_garden/one_column_bottom.png) no-repeat left top;
  44. }
  45. .elgg-col > .elgg-inner {
  46. margin: 0 0 0 5px;
  47. }
  48. .elgg-col:first-child > .elgg-inner {
  49. margin: 0 5px 0 0;
  50. }
  51. .elgg-col > .elgg-inner {
  52. padding: 0 8px;
  53. }
  54. .elgg-walledgarden-single > .elgg-body {
  55. padding: 0 18px;
  56. }
  57. .elgg-module-walledgarden-login {
  58. margin: 0;
  59. }
  60. .elgg-body-walledgarden h3 {
  61. font-size: 1.5em;
  62. line-height: 1.1em;
  63. padding-bottom: 5px;
  64. }
  65. .elgg-heading-walledgarden {
  66. margin-top: 60px;
  67. line-height: 1.1em;
  68. }
  69. h1, h2, h3, h4, h5, h6 {
  70. color: #666;
  71. }
  72. a {
  73. color: #999;
  74. }