style.scss 584 B

12345678910111213141516171819202122232425262728293031
  1. .tdld {
  2. position: relative;
  3. flex: none;
  4. height: 15vw;
  5. max-height: 15rem;
  6. background-image: url("//dd.unicraft.org/static/branding/tdld/header/bg.png");
  7. background-repeat: no-repeat;
  8. background-position: center;
  9. background-size: cover;
  10. &::before,
  11. &::after {
  12. position: absolute;
  13. display: block;
  14. width: 30%;
  15. height: 5%;
  16. content: '';
  17. background: #ffed00;
  18. }
  19. &::before {
  20. top: 0;
  21. left: 0;
  22. opacity: .2;
  23. }
  24. &::after {
  25. right: 0;
  26. bottom: 0;
  27. }
  28. }