ads.py 982 B

12345678910111213141516171819202122
  1. css_string = """
  2. <style>
  3. .sidebar {max-width:100%; float:right}
  4. .side-block img {width:100%}
  5. .side-block {margin-bottom:15px}
  6. .side-block a.button {margin-bottom:30px; background: #006CFF; color: #fff;font-weight: 500;font-size: 16px;line-height: 20px;padding: 15px;display: inline-block;max-width: 300px;border-radius: 5px; text-decoration:none; }
  7. .side-block a.button:hover {background:#000}
  8. </style>
  9. <div class="sidebar">
  10. <div class="side-block">
  11. <a target="_blank" href="https://opencv.org/courses" rel="noopener">
  12. <img src="https://learnopencv.com/wp-content/uploads/2022/03/opencv-course1.png" alt="Opencv Courses">
  13. </div>
  14. <div class="side-block">
  15. <a href="https://learnopencv.com" class="button ">Subscribe To My Newsletter</a>
  16. <div class="side-block">
  17. </div>
  18. """