embedded.less 951 B

123456789101112131415161718192021222324252627282930313233
  1. iframe[src^="https://w.soundcloud.com"] {
  2. height: 120px;
  3. }
  4. iframe[src^="https://www.deezer.com"] {
  5. // The real size is 92px, but 94px are needed to avoid an inner scrollbar of
  6. // the embedded HTML.
  7. height: 94px;
  8. }
  9. iframe[src^="https://www.mixcloud.com"] {
  10. // the embedded player from mixcloud has some quirks: initial there is an
  11. // issue with an image URL that is blocked since it is an a Cross-Origin
  12. // request. The alternative text (<img alt='Mixcloud Logo'> then cause an
  13. // scrollbar in the inner of the iframe we can't avoid. Another quirk comes
  14. // when pressing the play button, sometimes the shown player has an height of
  15. // 200px, sometimes 250px.
  16. height: 250px;
  17. }
  18. iframe[src^="https://bandcamp.com/EmbeddedPlayer"] {
  19. // show playlist
  20. height: 350px;
  21. }
  22. iframe[src^="https://bandcamp.com/EmbeddedPlayer/track"] {
  23. // hide playlist
  24. height: 120px;
  25. }
  26. iframe[src^="https://genius.com/songs"] {
  27. height: 65px;
  28. }