Sprankelprachtig aan/afmeldsysteem

application.scss 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * This is a manifest file that'll be compiled into application.css, which will include all the files
  3. * listed below.
  4. *
  5. * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
  6. * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
  7. *
  8. * You're free to add application-wide styles to this file and they'll appear at the bottom of the
  9. * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
  10. * files in this directory. Styles in this file should be added after the last require_* statement.
  11. * It is generally better to create a new file per style scope.
  12. *
  13. *= require_self
  14. *= require_tree .
  15. */
  16. @import "bootstrap-sprockets";
  17. @import "bootstrap";
  18. /* Horizontally distribute ul items.
  19. *
  20. * Adapted from the following StackOverflow answer:
  21. * http://stackoverflow.com/a/13505797 , by user 'joshnh'
  22. * Licensed under CC-BY-SA 3.0 as per the StackOverflow TOS.
  23. *
  24. */
  25. ul.hdis {
  26. text-align: justify;
  27. padding-left: 0 !important;
  28. }
  29. ul.hdis:after {
  30. content: '';
  31. display: inline-block;
  32. width: 100%;
  33. }
  34. ul.hdis:before {
  35. content: '';
  36. display: block;
  37. margin-top: -1.25em;
  38. }
  39. ul.hdis li {
  40. display: inline-block;
  41. margin-right: -.25em;
  42. position: relative;
  43. top: 1.25em;
  44. }
  45. /* End of CC-BY-SA code. */