選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

60 行
1.2KB

  1. .teaser {
  2. cursor: pointer;
  3. border: 1px solid #d8d8d8;
  4. max-width: 30em;
  5. min-height: -webkit-min-content;
  6. min-height: min-content;
  7. min-width: -webkit-min-content;
  8. min-width: min-content;
  9. border-radius: 12.5px;
  10. }
  11. .teaser-header {
  12. flex-direction: column;
  13. max-width: 40em;
  14. }
  15. .teaser-img {
  16. border-top-left-radius: 12.5px;
  17. border-top-right-radius: 12.5px;
  18. background: linear-gradient(48deg, #dfd9d9, #fff);
  19. display: flex;
  20. justify-content: center;
  21. align-items: center;
  22. }
  23. .teaser-title {
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. flex-direction: column;
  28. text-align: center;
  29. padding: 1em;
  30. font-size: 25px;
  31. }
  32. .teaser-content {
  33. background: linear-gradient(48deg, #dfd9d9, #fff);
  34. border-bottom-left-radius: 12.5px;
  35. border-bottom-right-radius: 12.5px;
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. flex-direction: column;
  40. padding: 1em;
  41. }
  42. .teaser-date {
  43. padding: 5px;
  44. display: flex;
  45. justify-content: center;
  46. align-items: center;
  47. flex-direction: column;
  48. text-align: center;
  49. }
  50. img {
  51. max-width: 100%;
  52. height: auto;
  53. }