print.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. @import './base/fonts';
  2. body{
  3. margin:0;
  4. padding: 0;
  5. }
  6. #printable-root-page{
  7. // outline: 1px solid blue;
  8. box-sizing: border-box;
  9. width: 21cm;
  10. padding: 1cm .5cm 2cm;
  11. >header{
  12. display: flex;
  13. flex-flow: nowrap;
  14. align-items: baseline;
  15. h1{
  16. margin:0;
  17. font-weight: 600;
  18. }
  19. }
  20. >article{
  21. padding-top: 1em;
  22. >h2{
  23. font-weight: 600;
  24. margin:0;
  25. // display: inline-block;
  26. }
  27. // .field--name-field-short-description{}
  28. .field--name-field-reference{
  29. // display: inline-block;
  30. margin:0 0 1em 0;
  31. }
  32. .field--name-body,
  33. .field--name-field-samples{
  34. display: inline-block;
  35. vertical-align: top;
  36. }
  37. .field--name-body{
  38. width: 75%;
  39. p{
  40. margin:0;
  41. }
  42. }
  43. .field__label{
  44. font-size: 0.756em;
  45. font-weight: 700;
  46. }
  47. .field--name-field-samples{
  48. width:23%;
  49. text-align: right;
  50. .field__item{
  51. font-size: 0.756em;
  52. }
  53. }
  54. .field--name-field-manufacturer,
  55. .field--name-field-distributor{
  56. margin-top: 1em;
  57. display: inline-block;
  58. vertical-align: top;
  59. width:49%;
  60. .field__item{
  61. padding-bottom: 0.5em;
  62. }
  63. .taxonomy-term{
  64. >h2{
  65. margin:0;
  66. font-weight: 600;
  67. font-size: 1em;
  68. }
  69. p{ margin:0;}
  70. }
  71. }
  72. .field--name-field-materiau-images{
  73. margin-top: 1em;
  74. display: flex;
  75. flex-flow: row wrap;
  76. justify-content: space-between;
  77. .field__item{
  78. flex:0 0 33%;
  79. img{
  80. width: 100%;
  81. height:auto;
  82. }
  83. }
  84. }
  85. }
  86. }