css ressource
This commit is contained in:
@@ -5,8 +5,28 @@
|
||||
.layout__region--top{
|
||||
padding-top: 4rem;
|
||||
.block-region-top{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@media screen and (min-width:1100px) {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr repeat(8, 1fr) 1fr;
|
||||
grid-template-rows: auto;
|
||||
}
|
||||
// &div:not(.block-entity-fieldnodefield-images){
|
||||
// @media screen and (min-width:800px) {
|
||||
// grid-column: 5/span 7;
|
||||
|
||||
// }
|
||||
// }
|
||||
.block-entity-fieldnodefield-images{
|
||||
display: none;
|
||||
width: fit-content;
|
||||
margin: auto;
|
||||
padding-right: 2rem;
|
||||
@media screen and (min-width:1100px) {
|
||||
grid-column: 2/span 4;
|
||||
grid-row: 1 /span 5;
|
||||
}
|
||||
|
||||
}
|
||||
.block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640{
|
||||
width: 100%;
|
||||
@@ -20,6 +40,11 @@
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 0.5rem;
|
||||
vertical-align: middle;
|
||||
@media screen and (min-width:1100px) {
|
||||
width: 50%;
|
||||
grid-column: 5/span 7;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -33,6 +58,12 @@
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
@media screen and (min-width:1100px) {
|
||||
width: 50%;
|
||||
grid-column: 5/span 7;
|
||||
grid-row: 1;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
.block-entity-fieldnodetitle{
|
||||
@@ -43,6 +74,12 @@
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
@media screen and (min-width:1100px) {
|
||||
width: 50%;
|
||||
grid-column: 5/span 7;
|
||||
grid-row: 2;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.block-entity-fieldnodefield-sous-titre{
|
||||
@@ -56,6 +93,12 @@
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
@media screen and (min-width:1100px) {
|
||||
width: 50%;
|
||||
grid-column: 5/span 7;
|
||||
grid-row: 3;
|
||||
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodefield-edition{
|
||||
margin-left: 13%;
|
||||
@@ -68,6 +111,12 @@
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
@media screen and (min-width:1100px) {
|
||||
width: 50%;
|
||||
grid-column: 5/span 7;
|
||||
grid-row: 4;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
.block-entity-fieldnodefield-auteur-s-{
|
||||
@@ -83,6 +132,12 @@
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
@media screen and (min-width:1100px) {
|
||||
width: 50%;
|
||||
grid-column: 5/span 7;
|
||||
grid-row: 5;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.block-entity-fieldnodefield-date-de-parution{
|
||||
@@ -91,6 +146,12 @@
|
||||
margin-left:9%;
|
||||
margin-right: 9%;
|
||||
}
|
||||
@media screen and (min-width:1100px) {
|
||||
width: 50%;
|
||||
grid-column: 5/span 7;
|
||||
grid-row: 6;
|
||||
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodefield-mots-clefs{
|
||||
margin-left: 13%;
|
||||
@@ -125,7 +186,12 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width:800px) {
|
||||
width: 50%;
|
||||
grid-column: 5/span 7;
|
||||
grid-row: 7;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,8 +86,9 @@
|
||||
.link-twitter{
|
||||
display: flex;
|
||||
&:before{
|
||||
content: url("../images/pictos/twitter_black.svg");
|
||||
content: url("../images/pictos/logo_x_noir.svg");
|
||||
min-width: 50px;
|
||||
align-self: center;
|
||||
}
|
||||
}
|
||||
.link-youtube{
|
||||
|
||||
@@ -18,12 +18,8 @@
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#header-top {
|
||||
height: 7rem;
|
||||
background-color: $white;
|
||||
@@ -178,9 +174,10 @@
|
||||
justify-content: center;
|
||||
align-items: flex-end;
|
||||
&:before{
|
||||
content: url("../images/pictos/twitter_white.svg");
|
||||
content: url("../images/pictos/logo_x_blanc.svg");
|
||||
min-width: 30px;
|
||||
padding-bottom: 0.3rem;
|
||||
padding-bottom: 0.5rem;
|
||||
|
||||
}
|
||||
}
|
||||
.link-youtube{
|
||||
|
||||
Reference in New Issue
Block a user