imporved css
This commit is contained in:
@@ -196,20 +196,26 @@ $header_height:400px;
|
||||
}
|
||||
|
||||
}
|
||||
//
|
||||
// html,
|
||||
// body,
|
||||
// #container,
|
||||
// #main,
|
||||
// #main>.region,
|
||||
// #block-system-main,
|
||||
// #block-system-main>.content,
|
||||
// .node-thematique{
|
||||
// overflow-x: visible;
|
||||
// }
|
||||
|
||||
html,
|
||||
body,
|
||||
#container,
|
||||
#main,
|
||||
#main>.region,
|
||||
#block-system-main,
|
||||
#block-system-main>.content,
|
||||
.node-thematique{
|
||||
overflow-x: visible;
|
||||
@mixin vidlabel(){
|
||||
font-size: 1em;
|
||||
font-weight: 600;
|
||||
padding:0.2em 0.4em;
|
||||
background-color: rgba(255,255,255,0.9);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// thematique
|
||||
.node-thematique{
|
||||
min-height:766px;
|
||||
@@ -359,35 +365,37 @@ body,
|
||||
.field-name-field-emvideo a{ display: block; line-height: 0;}
|
||||
.group-description{
|
||||
cursor: pointer; pointer-events: none;
|
||||
box-sizing: border-box;
|
||||
position:absolute; z-index: 2;
|
||||
top:0; left: 0;
|
||||
width:90%;
|
||||
height:80%;
|
||||
margin:5%;
|
||||
padding:5%;
|
||||
background-color: rgba(255,255,255,0);
|
||||
transition: background-color 0.3s ease-in-out;
|
||||
width:100%; height:100%;
|
||||
|
||||
.field-name-field-ecouter{
|
||||
font-size: 1em;
|
||||
font-weight: 500;
|
||||
background-color: rgba(255,255,255,0.9);
|
||||
transition: background-color 0.3s ease-in-out;
|
||||
display: inline-block;
|
||||
@include vidlabel();
|
||||
|
||||
margin:15px;
|
||||
// transition: background-color 0.3s ease-in-out;
|
||||
}
|
||||
.field-name-field-description{
|
||||
position: absolute;
|
||||
top:0; left:0;
|
||||
box-sizing: border-box;
|
||||
width:80%;
|
||||
height:70%;
|
||||
margin:10%;
|
||||
padding:5%;
|
||||
opacity: 0;
|
||||
background-color: rgba(255,255,255,0.9);
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
h3{
|
||||
font-weight: 500; font-size: 2em
|
||||
font-weight: 500; font-size: 2em; margin:0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover .group-description{
|
||||
background-color: rgba(255,255,255,0.9);
|
||||
.field-name-field-ecouter{
|
||||
background-color: rgba(255,255,255,0);
|
||||
}
|
||||
// background-color: rgba(255,255,255,0.9);
|
||||
// .field-name-field-ecouter{
|
||||
// background-color: rgba(255,255,255,0);
|
||||
// }
|
||||
.field-name-field-description{opacity:1;}
|
||||
}
|
||||
}
|
||||
@@ -421,12 +429,8 @@ body,
|
||||
margin:5%;
|
||||
// opacity: 0;
|
||||
.field-name-field-doc{
|
||||
display: inline-block;
|
||||
@include vidlabel;
|
||||
z-index:5;
|
||||
font-size: 1em;
|
||||
font-weight: 500;
|
||||
padding: 7px;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
transition:background-color 0.3s ease-in-out;
|
||||
}
|
||||
.field-name-title-field{
|
||||
@@ -474,11 +478,7 @@ body,
|
||||
// letter-spacing: -0.25em;
|
||||
|
||||
.field-label{
|
||||
font-size: 1.3em;
|
||||
font-weight: 400;
|
||||
background-color: #fff;
|
||||
display: inline-block;
|
||||
padding:0.2em 0.4em 0;
|
||||
@include vidlabel;
|
||||
margin-bottom: 0.3em;
|
||||
}
|
||||
&>.field-items{
|
||||
@@ -507,7 +507,7 @@ body,
|
||||
transition:opacity,background-color 0.3s ease-in-out;
|
||||
.field-name-title-field{
|
||||
font-size: 4em;
|
||||
font-weight: 700;
|
||||
font-weight: 800;
|
||||
font-style: italic;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user