rs.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .dl_ressource{
  2. font-size: 0.9rem;
  3. line-height: 1.2;
  4. font-family: 'Marianneregular';
  5. text-align: left;
  6. margin: 1.5rem .25rem 0 .25rem;
  7. @media screen and (min-width : 768px){
  8. margin-top: 1.5rem;
  9. text-align: center;
  10. font-size: 0.5rem;
  11. }
  12. a{
  13. &::before{
  14. content: "";
  15. display: inline-block;
  16. background-image: url($picto_dl);
  17. background-repeat: no-repeat;
  18. background-size: contain;
  19. width: 25px;
  20. height: 25px;
  21. vertical-align: middle;
  22. margin-right: 0.5rem;
  23. @media screen and (min-width : 768px){
  24. margin-right: 0;
  25. }
  26. }
  27. &> span{
  28. display: inline-block;
  29. @media screen and (min-width : 992px){
  30. display: inline-block!important;
  31. margin-top: 0.5rem;
  32. }
  33. @media screen and (min-width : 768px){
  34. display: none;
  35. }
  36. }
  37. }
  38. }
  39. .__rs{
  40. & > div{
  41. width: 25px;
  42. height: 25px;
  43. margin: 0 0.25rem;
  44. }
  45. }
  46. @media screen and (min-width: 768px) {
  47. .__rs{
  48. &:not(.moment){
  49. margin: auto;
  50. & > div{
  51. margin: 0 auto 0.5rem auto;
  52. }
  53. }
  54. }
  55. }
  56. @media screen and (min-width: 992px) {
  57. .__rs{
  58. &.moment{
  59. margin: auto;
  60. & > div{
  61. margin: 0 auto 0.5rem auto;
  62. }
  63. }
  64. }
  65. }