improved display printable cards

This commit is contained in:
Bachir Soussi Chiadmi 2021-01-25 22:26:25 +01:00
parent 15ad8e2652
commit 2d07379946
3 changed files with 21 additions and 23 deletions

View File

@ -2559,17 +2559,17 @@ body {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
width: 49%; } width: 49%; }
#printable-root-page > article .field--name-field-manufacturer .field__item, #printable-root-page > article .field--name-field-manufacturer .taxonomy-term,
#printable-root-page > article .field--name-field-distributor .field__item { #printable-root-page > article .field--name-field-distributor .taxonomy-term {
padding-bottom: 0.5em; } padding-bottom: 0.5em; }
#printable-root-page > article .field--name-field-manufacturer .taxonomy-term > h2, #printable-root-page > article .field--name-field-manufacturer .taxonomy-term > h2,
#printable-root-page > article .field--name-field-distributor .taxonomy-term > h2 { #printable-root-page > article .field--name-field-distributor .taxonomy-term > h2 {
margin: 0; margin: 0;
font-weight: 600; font-weight: 600;
font-size: 1em; } font-size: 1em; }
#printable-root-page > article .field--name-field-manufacturer .taxonomy-term p, #printable-root-page > article .field--name-field-manufacturer .taxonomy-term p,
#printable-root-page > article .field--name-field-distributor .taxonomy-term p { #printable-root-page > article .field--name-field-distributor .taxonomy-term p {
margin: 0; } margin: 0; }
#printable-root-page > article .field--name-field-materiau-images { #printable-root-page > article .field--name-field-materiau-images {
margin-top: 1em; margin-top: 1em;
display: flex; display: flex;

View File

@ -49,17 +49,17 @@ body {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
width: 49%; } width: 49%; }
#printable-root-page > article .field--name-field-manufacturer .field__item, #printable-root-page > article .field--name-field-manufacturer .taxonomy-term,
#printable-root-page > article .field--name-field-distributor .field__item { #printable-root-page > article .field--name-field-distributor .taxonomy-term {
padding-bottom: 0.5em; } padding-bottom: 0.5em; }
#printable-root-page > article .field--name-field-manufacturer .taxonomy-term > h2, #printable-root-page > article .field--name-field-manufacturer .taxonomy-term > h2,
#printable-root-page > article .field--name-field-distributor .taxonomy-term > h2 { #printable-root-page > article .field--name-field-distributor .taxonomy-term > h2 {
margin: 0; margin: 0;
font-weight: 600; font-weight: 600;
font-size: 1em; } font-size: 1em; }
#printable-root-page > article .field--name-field-manufacturer .taxonomy-term p, #printable-root-page > article .field--name-field-manufacturer .taxonomy-term p,
#printable-root-page > article .field--name-field-distributor .taxonomy-term p { #printable-root-page > article .field--name-field-distributor .taxonomy-term p {
margin: 0; } margin: 0; }
#printable-root-page > article .field--name-field-materiau-images { #printable-root-page > article .field--name-field-materiau-images {
margin-top: 1em; margin-top: 1em;
display: flex; display: flex;

View File

@ -62,10 +62,8 @@ body{
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
width:49%; width:49%;
.field__item{
padding-bottom: 0.5em;
}
.taxonomy-term{ .taxonomy-term{
padding-bottom: 0.5em;
>h2{ >h2{
margin:0; margin:0;
font-weight: 600; font-weight: 600;