ads.css 864 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #carbonads {
  2. display: block;
  3. overflow: hidden;
  4. padding: 1em;
  5. font-family: Verdana, "Helvetica Neue", Helvetica, sans-serif;
  6. line-height: 1.5;
  7. }
  8. #carbonads span {
  9. position: relative;
  10. display: block;
  11. overflow: hidden;
  12. }
  13. .carbon-img {
  14. float: left;
  15. margin-right: 1em;
  16. }
  17. .carbon-img img {
  18. display: block;
  19. line-height: 1;
  20. }
  21. .carbon-text {
  22. display: block;
  23. float: left;
  24. max-width: calc(100% - 130px - 1em);
  25. text-align: left;
  26. }
  27. .carbon-poweredby {
  28. position: absolute;
  29. right: 0; // You can also set the position to the "left" with the value of calc(130px + carbon-text’s font size). If the font-size is 12px, you’ll want to set the left value as 142px. It’ll align the .carbon-text with .carbon-poweredby
  30. bottom: 0;
  31. display: block;
  32. font-size: .8em;
  33. text-transform: uppercase;
  34. line-height: 1;
  35. letter-spacing: 1px;
  36. }