您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

93 行
1.7 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .election-result-list-item {
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: space-between;
  7. border-radius: 4px;
  8. background: var(--theme-grey-light);
  9. text-decoration: none;
  10. width: 312px;
  11. @media (max-width: 693px) {
  12. width: 100%;
  13. }
  14. @media(max-width: 356px) {
  15. max-width: none;
  16. }
  17. .top-box {
  18. display: block;
  19. cursor: pointer;
  20. }
  21. .image-box {
  22. position: relative;
  23. width: 100%;
  24. padding-bottom: 100%;
  25. border-top-left-radius: 4px;
  26. border-top-right-radius: 4px;
  27. .copyright {
  28. @include copyright;
  29. }
  30. }
  31. img {
  32. position: absolute;
  33. display: block;
  34. width: 100%;
  35. height: 100%;
  36. object-fit: cover;
  37. border-top-left-radius: 4px;
  38. border-top-right-radius: 4px;
  39. }
  40. .text-box {
  41. padding: 10px;
  42. }
  43. h3 {
  44. font-size: 28px;
  45. line-height: 32px;
  46. margin: 5px 10px 15px 10px;
  47. text-decoration: underline;
  48. @include word-wrap();
  49. }
  50. .job-box,
  51. .city-box {
  52. margin-bottom: 5px;
  53. background: var(--theme-color-primary-dimmed-04);
  54. border-radius: 4px;
  55. padding: 4px 0 2px 0;
  56. @media(max-width: 567px) {
  57. display: none;
  58. }
  59. a,
  60. span {
  61. display: block;
  62. position: relative;
  63. width: calc(100% - 8px);
  64. margin: 0;
  65. padding: 0 0 0 26px;
  66. font-size: 16px;
  67. line-height: 18px;
  68. white-space: nowrap;
  69. overflow: hidden;
  70. text-overflow: ellipsis;
  71. cursor: pointer;
  72. &:before {
  73. position: absolute;
  74. left: 4px;
  75. top: 50%;
  76. font-family: "Icons";
  77. transform: translate(0, -50%);
  78. }
  79. }
  80. }
  81. }