123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- .page-node-site{
- .node-type-ressource{
- display: grid;
- grid-template-columns: 1fr repeat(3, 1fr) 1fr;
- grid-template-rows: repeat(2, auto);
- padding-top: 3rem;
- .image-ressource{
- grid-row: 1;
- grid-column: 2 /span 2;
- margin-right: 2rem;
- img{
- height: 400px;
- width: auto;
- }
- }
- .infos-content{
- grid-row: 1;
- grid-column: 3 /span 4;
- margin-left: 2rem;
-
- .field--name-field-type-de-ressource{
- text-transform: uppercase;
- font-size: 1rem;
- }
- .field--name-field-sous-titre{
- font-size: 2rem;
- }
- .field--name-field-auteur{
- font-weight: 800;
- font-size: 1.3rem;
- }
- .field--name-field-site{
- background-color: rgb(153, 147, 174);
- border-radius: 50px;
- width: fit-content;
- padding: 0.2rem 0.9rem;
- margin-top: 1rem;
- a{
- color: white;
- font-weight: 900;
- font-size: 0.8rem;
- vertical-align: top;
- }
- }
- }
- .body-content {
- grid-row: 2;
- grid-column: 2 /span 3;
- width: 100%;
- margin-top: 2rem;
- .field--name-field-fichiers{
- width: fit-content;
- }
- .summary-content{
-
- }
- .links-content{
- margin-top: 2rem;
- position: relative;
- left: -10%;
- width: 25%;
- }
- }
- }
- }
|