You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

105 regels
2.0 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. bottom: 0;
  29. color: var(--theme-color-white);
  30. display: block;
  31. font-size: 12px;
  32. left: 100%;
  33. line-height: 1.2;
  34. padding: 8px;
  35. position: absolute;
  36. text-shadow: 0 0 3px rgba(0,0,0,.6),0 0 8px rgba(0,0,0,.6);
  37. transform: rotate(-90deg);
  38. transform-origin: 0 100%;
  39. width: 66%;
  40. z-index: 2;
  41. }
  42. }
  43. img {
  44. position: absolute;
  45. display: block;
  46. width: 100%;
  47. height: 100%;
  48. object-fit: cover;
  49. border-top-left-radius: 4px;
  50. border-top-right-radius: 4px;
  51. }
  52. .text-box {
  53. padding: 10px;
  54. }
  55. h3 {
  56. font-size: 28px;
  57. line-height: 32px;
  58. margin: 5px 10px 15px 10px;
  59. text-decoration: underline;
  60. @include word-wrap();
  61. }
  62. .job-box,
  63. .city-box {
  64. margin-bottom: 5px;
  65. background: var(--theme-color-primary-dimmed-04);
  66. border-radius: 4px;
  67. padding: 4px 0 2px 0;
  68. @media(max-width: 567px) {
  69. display: none;
  70. }
  71. a,
  72. span {
  73. display: block;
  74. position: relative;
  75. width: calc(100% - 8px);
  76. margin: 0;
  77. padding: 0 0 0 26px;
  78. font-size: 16px;
  79. line-height: 18px;
  80. white-space: nowrap;
  81. overflow: hidden;
  82. text-overflow: ellipsis;
  83. cursor: pointer;
  84. &:before {
  85. position: absolute;
  86. left: 4px;
  87. top: 50%;
  88. font-family: "Icons";
  89. transform: translate(0, -50%);
  90. }
  91. }
  92. }
  93. }