_questions.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. .question {
  2. @include spacing;
  3. &__fakenews {
  4. @include spacing(b 0);
  5. }
  6. &__manipula {
  7. min-height: 135px;
  8. }
  9. &__title {
  10. @include font-size(h4);
  11. @include spacing;
  12. text-align: center;
  13. }
  14. &__intro {
  15. @include font-size(small);
  16. @include spacing;
  17. text-align: center;
  18. }
  19. &__instruction {
  20. @include spacing(b .25);
  21. font-weight: 400;
  22. text-align: center;
  23. }
  24. &__hint {
  25. @include font-size(small);
  26. text-align: center;
  27. }
  28. &__options {
  29. @include center;
  30. display: flex;
  31. justify-content: center;
  32. &__item {
  33. @include spacing-inner(h .5);
  34. .question__ofwhat & {
  35. width: 25%;
  36. }
  37. .question__compound & {
  38. @include spacing-inner(h 1);
  39. }
  40. .question__fakenews & {
  41. @include spacing-inner(l 0);
  42. }
  43. }
  44. }
  45. &__source {
  46. @include font-size(small);
  47. text-align: center;
  48. }
  49. &__message {
  50. @include font-size(small);
  51. @include color(main);
  52. max-width: 842px; // same as svg
  53. text-align: right;
  54. height: 21px;
  55. > div {
  56. &[aria-hidden='true'] {
  57. display: none;
  58. }
  59. }
  60. }
  61. &__ofwhat--no-mb {
  62. @include spacing(b 0);
  63. p {
  64. @include spacing(b 0);
  65. }
  66. }
  67. &__compound__setting {
  68. p {
  69. &:nth-of-type(1),
  70. &:nth-last-of-type(1) {
  71. @include spacing(b 2);
  72. }
  73. }
  74. }
  75. }