walled_garden.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. /**
  3. * Modbash Clean Elgg Theme
  4. *
  5. * Copyright (c) 2015 ModBash
  6. *
  7. * @author Shane Barron <admin@modbash.com>
  8. * @copyright 2015 SocialApparatus
  9. * @license GNU General Public License (GPL) version 2
  10. * @version 1
  11. * @link http://modbash.com
  12. */
  13. ?>
  14. /* <style> /**/
  15. .elgg-body-walledgarden {
  16. margin: 100px auto 0;
  17. position: relative;
  18. width: 530px;
  19. }
  20. .elgg-module-walledgarden {
  21. position: absolute;
  22. top: 0;
  23. left: 0;
  24. background-color: #FFF;
  25. border: 1px solid #DEDEDE;
  26. padding: 10px;
  27. border-radius: 3px;
  28. box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.25);
  29. }
  30. .elgg-module-walledgarden > .elgg-head {
  31. padding: 20px 20px 0 20px;
  32. }
  33. .elgg-module-walledgarden > .elgg-body {
  34. padding: 0 20px;
  35. }
  36. .elgg-module-walledgarden > .elgg-foot {
  37. padding: 0 20px 20px 20px;
  38. }
  39. .elgg-menu-walled-garden {
  40. margin: 10px 0;
  41. }
  42. .elgg-walledgarden-single > .elgg-body {
  43. padding: 0 18px;
  44. }
  45. .elgg-body-walledgarden h3 {
  46. font-size: 1.5em;
  47. line-height: 1.1em;
  48. padding-bottom: 5px;
  49. }
  50. .elgg-heading-walledgarden {
  51. line-height: 1.1em;
  52. }
  53. .elgg-module-walledgarden .elgg-output img {
  54. width: 100%;
  55. height: auto;
  56. }
  57. @media (max-width: 600px) {
  58. .elgg-page-walledgarden {
  59. padding: 20px;
  60. }
  61. .elgg-body-walledgarden {
  62. margin: 40px auto 0;
  63. width: auto;
  64. }
  65. }