threejs-primitives.css 581 B

1234567891011121314151617181920212223242526272829303132
  1. div[data-primitive] {
  2. padding-bottom: 2em;
  3. border-bottom: 1px solid #888;
  4. margin-bottom: 2em;
  5. }
  6. div[data-primitive] .pair {
  7. display: flex;
  8. align-items: center;
  9. margin-bottom: 1em;
  10. }
  11. div[data-primitive] .shape {
  12. flex: 0 0 auto;
  13. width: 200px;
  14. height: 200px;
  15. }
  16. div[data-primitive] .desc {
  17. word-wrap: break-word;
  18. padding: 1em;
  19. min-width: 0;
  20. }
  21. div[data-primitive] .desc code {
  22. white-space: normal;
  23. }
  24. @media (max-width: 550px) {
  25. div[data-primitive] .shape {
  26. width: 120px;
  27. height: 120px;
  28. }
  29. }
  30. div[data-primitive] .desc {
  31. flex: 1 1 auto;
  32. }