_faq.scss 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .block-views-blockfaq-block-1{
  2. display: grid;
  3. grid-template-columns: 1fr repeat(4, 2fr) 1fr;
  4. div:first-child{
  5. grid-column: 2 / span 3;
  6. // width: 70%;
  7. // margin: auto;
  8. .node-type-question_reponse{
  9. border-bottom: 1px solid $blue-light;
  10. padding-bottom: 2rem;
  11. .field--name-title{
  12. display: none;
  13. }
  14. .field--name-field-question{
  15. p{
  16. font-family: 'Source Code Pro' ;
  17. font-weight: 500 ;
  18. color: $blue-dark ;
  19. font-size: 1.5rem;
  20. &:after{
  21. display:inline-flex;
  22. content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
  23. justify-self: flex-end;
  24. }
  25. }
  26. }
  27. .field--name-field-reponse{
  28. display: none;
  29. }
  30. .opened{
  31. display: block;
  32. }
  33. .field--name-field-fichiers{
  34. span:nth-of-type(2){
  35. display: none;
  36. }
  37. .file--mime-application-pdf{
  38. span:nth-of-type(2){
  39. display: none;
  40. }
  41. ::before{
  42. display: inline-block;
  43. content: url("../images/pictos/noun_Download_file_307900.svg");
  44. width: 30px;
  45. height: 30px;
  46. padding-right: 0.8rem;
  47. }
  48. a{
  49. display: inline-flex;
  50. align-items: center;
  51. color: $black;
  52. font-weight: 800;
  53. }
  54. }
  55. }
  56. .field--name-field-liens{
  57. a{
  58. &:before{
  59. display: inline-block;
  60. content: url("../images/pictos/noun_External Link_674151.svg");
  61. width: 30px;
  62. height: 30px;
  63. padding-right: 0.8rem;
  64. }
  65. display:flex;
  66. flex-direction: row;
  67. justify-content: left;
  68. align-items: center;
  69. color: $black;
  70. font-weight: 800;
  71. }
  72. svg{
  73. display: none;
  74. }
  75. }
  76. .field--name-field-ress{
  77. margin-top: 0.5rem;
  78. a{
  79. color: $black;
  80. text-decoration: underline;
  81. font-weight: 800;
  82. }
  83. }
  84. }
  85. }
  86. }