ajax
This commit is contained in:
@@ -1,113 +1,19 @@
|
||||
/** Extra columns spacing **/
|
||||
.extra-spacing:not(.col-12), :not(.col12) > .e-content {
|
||||
padding-right: 1rem;
|
||||
|
||||
@include breakpoint(md) {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/** Breadcrumbs styling **/
|
||||
#breadcrumbs {
|
||||
padding-left: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: -1rem;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
|
||||
i {
|
||||
display: none;
|
||||
}
|
||||
|
||||
span, a {
|
||||
padding: 0 0.5rem;
|
||||
&:first-child {
|
||||
padding-left: 0;
|
||||
#item_list{
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
.card{
|
||||
width: $Wi50;
|
||||
&:nth-child(odd){
|
||||
margin-right: $margI;
|
||||
}
|
||||
}
|
||||
|
||||
span, a {
|
||||
&:not(:first-child)::before {
|
||||
color: #e7e9ed;
|
||||
content: "/";
|
||||
padding-right: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Blog Listing **/
|
||||
.blog-listing {
|
||||
|
||||
.bricklayer-column {
|
||||
padding-left: 0px;
|
||||
padding-right: 25px;
|
||||
|
||||
}
|
||||
.card {
|
||||
margin-bottom: 25px;
|
||||
border: 0;
|
||||
box-shadow: 0 10px 45px -9px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.card-footer {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.blog-date {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.label {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/** Blog Item **/
|
||||
.content-title {
|
||||
margin-bottom: 2rem;
|
||||
|
||||
h2 {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.label {
|
||||
font-size: 12px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/** Pagination **/
|
||||
ul.pagination {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.prev-next {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
|
||||
/** Sidebar specific tweaks **/
|
||||
#sidebar {
|
||||
|
||||
ul.related-pages {
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
border-bottom: 1px solid $border-color;
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
.card-header{
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
margin-bottom: $marg;
|
||||
& > * {
|
||||
margin-right: $marg;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
ul.archives {
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
|
||||
.label {
|
||||
vertical-align: text-top;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
Header{
|
||||
header{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
h1{
|
||||
margin: 30px 0 0 30px;
|
||||
}
|
||||
left: 0;
|
||||
margin: 0 0 0 $marg;
|
||||
padding: $marg 0;
|
||||
width: calc( #{$Wi} - #{$marg} );
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#item{
|
||||
.card-image{
|
||||
img{
|
||||
margin-bottom: $marg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.other_projets{
|
||||
border-top: 1px solid black;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: $margI;
|
||||
margin-bottom: $margI;
|
||||
h3{
|
||||
margin: 1rem 0 $marg 0;
|
||||
width: 100%;
|
||||
}
|
||||
.card{
|
||||
width: $Wi33;
|
||||
&:nth-child(-1n+3){
|
||||
margin-right: $marg;
|
||||
}
|
||||
.card-header{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
& > *{
|
||||
margin-right: $marg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,94 +0,0 @@
|
||||
.dropmenu {
|
||||
|
||||
@include breakpoint(md) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
white-space: nowrap;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
padding: $dropmenu-vert-padding ($dropmenu-horiz-padding + $dropmenu-child-padding) $dropmenu-vert-padding $dropmenu-horiz-padding;
|
||||
display: block;
|
||||
|
||||
&:hover, &:focus, &.active {
|
||||
color: $dropmenu-hover-text !important;
|
||||
}
|
||||
|
||||
&:before {
|
||||
content: '\f107';
|
||||
font-family: 'FontAwesome';
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
float: right;
|
||||
margin-right: - (2 *$dropmenu-child-padding);
|
||||
}
|
||||
|
||||
&:only-child {
|
||||
//background: none;
|
||||
padding-right: $dropmenu-horiz-padding;
|
||||
|
||||
&:before {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
& > ul {
|
||||
display: block;
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul li a:before {
|
||||
content: '\f105';
|
||||
}
|
||||
|
||||
ul {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
list-style: none;
|
||||
background: $dropmenu-bg;
|
||||
box-shadow: $dropmenu-shadow;
|
||||
visibility: hidden;
|
||||
|
||||
ul {
|
||||
position: absolute;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
& > ul > li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
// Animation options
|
||||
&.animated {
|
||||
ul li {
|
||||
transition: background .7s, color 0.5s;
|
||||
}
|
||||
|
||||
ul li:hover > ul {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
ul ul {
|
||||
transition: transform .3s, opacity .5s;
|
||||
opacity: 0;
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
@mixin breakpoint($point) {
|
||||
@if $point == 2x {
|
||||
@media (min-width:$size-2x) {
|
||||
@content;
|
||||
}
|
||||
} @else if $point == xl {
|
||||
@media (max-width: $size-xl) {
|
||||
@content;
|
||||
}
|
||||
|
||||
} @else if $point == lg {
|
||||
@media (max-width: $size-lg) {
|
||||
@content;
|
||||
}
|
||||
} @else if $point == md {
|
||||
@media (max-width: $size-md) {
|
||||
@content;
|
||||
}
|
||||
} @else if $point == sm {
|
||||
@media (max-width: $size-sm) {
|
||||
@content;
|
||||
}
|
||||
} @else if $point == xs {
|
||||
@media (max-width: $size-xs) {
|
||||
@content;
|
||||
}
|
||||
} @else {
|
||||
@warn "Breakpoint mixin supports: xs, sm, md, lg, xl, 2x";
|
||||
}
|
||||
}
|
||||
|
||||
@mixin vertical-align($position: relative) {
|
||||
position: $position;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
@mixin button-primary() {
|
||||
background: $primary-color;
|
||||
border-color: $primary-color-dark;
|
||||
color: $light-color;
|
||||
&:focus,
|
||||
&:hover {
|
||||
background: darken($primary-color-dark, 2%);
|
||||
border-color: darken($primary-color-dark, 5%);
|
||||
color: $light-color;
|
||||
}
|
||||
&:active,
|
||||
&.active {
|
||||
background: darken($primary-color-dark, 4%);
|
||||
border-color: darken($primary-color-dark, 7%);
|
||||
color: $light-color;
|
||||
}
|
||||
}
|
||||
|
||||
@function strip-unit($value) {
|
||||
@return $value / ($value * 0 + 1);
|
||||
}
|
||||
|
||||
@mixin fluid-type($min-vw, $max-vw, $min-font-size, $max-font-size) {
|
||||
$u1: unit($min-vw);
|
||||
$u2: unit($max-vw);
|
||||
$u3: unit($min-font-size);
|
||||
$u4: unit($max-font-size);
|
||||
|
||||
@if $u1 == $u2 and $u1 == $u3 and $u1 == $u4 {
|
||||
& {
|
||||
font-size: $min-font-size;
|
||||
@media screen and (min-width: $min-vw) {
|
||||
font-size: calc(#{$min-font-size} + #{strip-unit($max-font-size - $min-font-size)} * ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)}));
|
||||
}
|
||||
@media screen and (min-width: $max-vw) {
|
||||
font-size: $max-font-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,193 +1,224 @@
|
||||
.mobile-container {
|
||||
position: absolute;
|
||||
//width: 100%;
|
||||
//height: 100%;
|
||||
top: 40%;
|
||||
left: 0;
|
||||
margin: 0 auto;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.mobile-logo {
|
||||
svg, img {
|
||||
height: 42px;
|
||||
margin-top: .7rem;
|
||||
margin-left: 1.4rem;
|
||||
|
||||
path {
|
||||
fill: $light-color;
|
||||
@media screen and (max-width: 414px) {
|
||||
// typographie
|
||||
header{
|
||||
a{
|
||||
font-size: $txt-figli-m;
|
||||
line-height: $Flhome-m;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Hamburger Menu
|
||||
.mobile-menu {
|
||||
|
||||
display: none;
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 3;
|
||||
|
||||
.header-fixed & {
|
||||
position: fixed;
|
||||
.home{
|
||||
p{
|
||||
font-size: $txt-figli-m!important;
|
||||
line-height: $Flhome-m!important;
|
||||
}
|
||||
}
|
||||
.other_projets{
|
||||
h3{
|
||||
font-size: $txt-figli-m;
|
||||
}
|
||||
}
|
||||
|
||||
@include breakpoint(md) {
|
||||
display: block;
|
||||
// mep
|
||||
header{
|
||||
width: calc( #{$Wi-m} - (#{$marg} * 2) );
|
||||
}
|
||||
|
||||
.button_container {
|
||||
position: absolute;
|
||||
top: 1.3rem;
|
||||
right: $horiz-padding;
|
||||
height: $mobile-button-height;
|
||||
width: $mobile-button-width;
|
||||
cursor: pointer;
|
||||
z-index: 100;
|
||||
transition: opacity .25s ease, top 0.5s ease;
|
||||
|
||||
$bar-offset: $mobile-button-height / 3;
|
||||
|
||||
&:hover {
|
||||
opacity: .7;
|
||||
body{
|
||||
#start{
|
||||
width: calc( #{$Wi-m} - (#{$marg} * 2) );
|
||||
}
|
||||
|
||||
&.active {
|
||||
position: fixed;
|
||||
|
||||
.top {
|
||||
transform: translateY($bar-offset) translateX(0) rotate(45deg);
|
||||
background: $mobile-color-active;
|
||||
}
|
||||
.middle {
|
||||
opacity: 0;
|
||||
background: $mobile-color-active;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
transform: translateY(-($bar-offset)) translateX(0) rotate(-45deg);
|
||||
background: $mobile-color-active;
|
||||
&:not(.home){
|
||||
#start{
|
||||
margin-top: $Flhome;
|
||||
}
|
||||
}
|
||||
.sidebar-right{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
background: $mobile-color-main;
|
||||
border: none;
|
||||
height: 4px;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
transition: all .35s ease;
|
||||
cursor: pointer;
|
||||
|
||||
&:nth-of-type(2) {
|
||||
top: $bar-offset;
|
||||
#item_list{
|
||||
.card{
|
||||
width: calc( #{$Wi-m} );
|
||||
&:nth-child(odd){
|
||||
margin-right: 0;
|
||||
}
|
||||
.card-header{
|
||||
margin-bottom: $marg;
|
||||
& > * {
|
||||
margin-right: $marg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-of-type(3) {
|
||||
top: $bar-offset * 2;
|
||||
.other_projets{
|
||||
margin-top: $margI;
|
||||
.card{
|
||||
width: $Wi-m;
|
||||
&:nth-child(-1n+3){
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.overlay {
|
||||
position: fixed;
|
||||
background: #000;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 0%;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity .35s, visibility .35s, height .35s;
|
||||
|
||||
&.open {
|
||||
opacity: .95;
|
||||
visibility: visible;
|
||||
height: 100%;
|
||||
|
||||
@media screen and (max-width: 768px) and (orientation: portrait) {
|
||||
// typographie
|
||||
header{
|
||||
a{
|
||||
font-size: 2.5rem;
|
||||
line-height: 3rem;
|
||||
}
|
||||
}
|
||||
nav {
|
||||
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
.home{
|
||||
p{
|
||||
font-size: $txt-figli-t!important;
|
||||
line-height: $Flhome-t!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.overlay-menu {
|
||||
height: calc(100% - 90px);
|
||||
overflow-y: scroll;
|
||||
|
||||
& > .tree {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.treemenu {
|
||||
|
||||
&.treemenu-root {
|
||||
margin: 1rem;
|
||||
.other_projets{
|
||||
h3{
|
||||
font-size: $txt-figli-t;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
margin: 0 0 1px;
|
||||
padding: 5px 0;
|
||||
line-height: 1.2rem;
|
||||
|
||||
background: rgba($gray-color-dark,0.1);
|
||||
|
||||
a {
|
||||
display: block;
|
||||
margin-left: 1.2rem;
|
||||
font-size: 1rem;
|
||||
|
||||
&:hover, &:focus, &.active {
|
||||
color: $primary-color-light !important;
|
||||
text-decoration: none;
|
||||
body{
|
||||
&:not(.home){
|
||||
#start{
|
||||
margin-top: 5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 0 0 0 1rem;
|
||||
}
|
||||
|
||||
.toggler {
|
||||
cursor: pointer;
|
||||
vertical-align: top;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1rem;
|
||||
padding-left: 5px;
|
||||
float: left;
|
||||
|
||||
&:before {
|
||||
display: inline-block; margin-right: 2pt;
|
||||
#item_list{
|
||||
.card{
|
||||
width: calc( #{$Wi-m} );
|
||||
&:nth-child(odd){
|
||||
margin-right: 0;
|
||||
}
|
||||
.card-header{
|
||||
margin-bottom: $marg;
|
||||
& > * {
|
||||
margin-right: $marg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
li.tree-empty > .toggler {
|
||||
opacity: 0.3; cursor: default;
|
||||
|
||||
&:before {
|
||||
content: "\2022";
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 812px) and (orientation: landscape) {
|
||||
// typographie
|
||||
header{
|
||||
a{
|
||||
font-size: $txt-figli-m;
|
||||
line-height: $Flhome-m;
|
||||
}
|
||||
}
|
||||
.home{
|
||||
p{
|
||||
font-size: $txt-figli-m!important;
|
||||
line-height: $Flhome-m!important;
|
||||
}
|
||||
}
|
||||
.other_projets{
|
||||
h3{
|
||||
font-size: $txt-figli-m;
|
||||
}
|
||||
}
|
||||
|
||||
li.tree-closed > .toggler:before {
|
||||
content: "+";
|
||||
// mep
|
||||
header{
|
||||
width: calc( #{$Wi-m} - (#{$marg} * 2) );
|
||||
}
|
||||
|
||||
li.tree-opened > .toggler:before {
|
||||
content: "\2212";
|
||||
body{
|
||||
#start{
|
||||
width: calc( #{$Wi-m} - (#{$marg} * 2) );
|
||||
}
|
||||
&:not(.home){
|
||||
#start{
|
||||
margin-top: $Flhome;
|
||||
}
|
||||
}
|
||||
.sidebar-right{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#item_list{
|
||||
.card{
|
||||
width: $Wi50;
|
||||
&:nth-child(odd){
|
||||
margin-right: $margI;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.other_projets{
|
||||
.card{
|
||||
width: $Wi33;
|
||||
&:nth-child(-1n+3){
|
||||
margin-right: $marg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-nav-open {
|
||||
overflow-y: hidden;
|
||||
@media screen and (max-width: 910px) and (orientation: portrait) {
|
||||
header{
|
||||
a{
|
||||
font-size: 2.5rem;
|
||||
line-height: 3rem;
|
||||
}
|
||||
}
|
||||
.home{
|
||||
p{
|
||||
font-size: $txt-figli-t!important;
|
||||
line-height: $Flhome-t!important;
|
||||
}
|
||||
}
|
||||
.other_projets{
|
||||
h3{
|
||||
font-size: $txt-figli-t;
|
||||
}
|
||||
}
|
||||
body{
|
||||
&:not(.home){
|
||||
#start{
|
||||
margin-top: 5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 660px) {
|
||||
header{
|
||||
a{
|
||||
font-size: $txt-figli-m;
|
||||
line-height: $Flhome-m;
|
||||
}
|
||||
}
|
||||
.home{
|
||||
p{
|
||||
font-size: $txt-figli-m!important;
|
||||
line-height: $Flhome-m!important;
|
||||
}
|
||||
}
|
||||
.other_projets{
|
||||
h3{
|
||||
font-size: $txt-figli-m;
|
||||
}
|
||||
}
|
||||
|
||||
body{
|
||||
&:not(.home){
|
||||
#start{
|
||||
margin-top: $Flhome;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ html {
|
||||
padding: 0;
|
||||
line-height: 1.15; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* Sections
|
||||
@@ -24,7 +25,7 @@ html {
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0 50px 0 50px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -41,7 +42,7 @@ main {
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
font-size: auto;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
@@ -76,6 +77,10 @@ pre {
|
||||
/**
|
||||
* Remove the gray background on active links in IE 10.
|
||||
*/
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
ul{
|
||||
list-style: none;
|
||||
}
|
||||
@@ -163,6 +168,7 @@ img {
|
||||
border-style: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
|
||||
@@ -2,32 +2,27 @@
|
||||
position: fixed;
|
||||
width: 20%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
ul{
|
||||
top: 0;
|
||||
display: inline-flex;
|
||||
.list-projets{
|
||||
margin: auto;
|
||||
text-align: right;
|
||||
margin-right: 20px;
|
||||
a{
|
||||
color: grey;
|
||||
position: relative;
|
||||
&:hover{
|
||||
li{
|
||||
position: relative;
|
||||
&::after{
|
||||
content: " ";
|
||||
top: 7px;
|
||||
right: -13px;
|
||||
display: block;
|
||||
position: absolute;
|
||||
background-color: grey;
|
||||
border-radius: 5px;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
ul{
|
||||
&:nth-child(1){
|
||||
margin-top: 0;
|
||||
}
|
||||
margin: $marg $marg 0px 0;
|
||||
text-align: right;
|
||||
li{
|
||||
&:hover{
|
||||
a{
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
a{
|
||||
color: grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,76 @@
|
||||
#start{
|
||||
width: 70%;
|
||||
margin: auto auto auto 10%;
|
||||
html, body, header{
|
||||
background: #f9f9f9fe;
|
||||
}
|
||||
|
||||
body{
|
||||
#start{
|
||||
width: calc( #{$Wi} - #{$marg} );
|
||||
margin: $marg auto auto $marg;
|
||||
#text_figli{
|
||||
p {
|
||||
a{
|
||||
position: relative;
|
||||
&::after{
|
||||
display: block;
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
transform: translate(-25%,-65%);
|
||||
z-index: 999;
|
||||
}
|
||||
// &:hover{
|
||||
// &::after{
|
||||
// content: url('/user/themes/figureslibres/images/ovale.svg');
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// top: 0;
|
||||
// left: 0;
|
||||
// }
|
||||
// }
|
||||
&.marg{
|
||||
margin-right: $marg;
|
||||
}
|
||||
}
|
||||
}
|
||||
.card{
|
||||
width: calc(100% / 4);
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
line-height: 0;
|
||||
margin-right: $marg;
|
||||
position: relative;
|
||||
margin-top: $marg;
|
||||
.card-header{
|
||||
display: none;
|
||||
& > *{
|
||||
font-size: 0.8rem;
|
||||
line-height: 1rem;
|
||||
margin-right: $marg;
|
||||
}
|
||||
}
|
||||
&:hover{
|
||||
.card-header{
|
||||
width: 100%;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
padding: $marg;
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
position: absolute;
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
}
|
||||
&:last-child{
|
||||
vertical-align: baseline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&:not(.home){
|
||||
#start{
|
||||
margin-top: calc( 2rem + #{$Flhome});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,24 +1,93 @@
|
||||
h1, h2, h3, p, ul, li, a{
|
||||
font-family: 'Montserrat-Regular';
|
||||
font-weight: normal;
|
||||
h1, h2, h3, p, ul, li, a, span{
|
||||
font-family: $lato;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-size: 1.2rem!important;
|
||||
}
|
||||
|
||||
p{
|
||||
font-family: 'Montserrat-Medium'!important;
|
||||
}
|
||||
|
||||
ul{
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.2rem;
|
||||
header{
|
||||
a{
|
||||
font-size: $txt-figli;
|
||||
line-height: $Flhome;
|
||||
}
|
||||
}
|
||||
|
||||
.home{
|
||||
p{
|
||||
font-size: $Fphome;
|
||||
font-size: $txt-figli;
|
||||
line-height: $Flhome;
|
||||
}
|
||||
#text_figli{
|
||||
strong{
|
||||
position: relative;
|
||||
&::after{
|
||||
display: block;
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: black;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
a{
|
||||
position: relative;
|
||||
&:nth-child(1){
|
||||
}
|
||||
&:nth-child(2){
|
||||
font-family: $playfair;
|
||||
}
|
||||
&:nth-child(3){
|
||||
font-family: $syne;
|
||||
}
|
||||
&:nth-child(4){
|
||||
font-family: $avara;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#item{
|
||||
.content-title{
|
||||
display: flex;
|
||||
margin: $marg 0;
|
||||
& > * {
|
||||
margin-right: $marg;
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
h2{
|
||||
margin: 0 $marg 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a.publique, span.publique{
|
||||
font-family: $playfair;
|
||||
}
|
||||
|
||||
a.sociale, span.sociale{
|
||||
font-family: $syne;
|
||||
}
|
||||
|
||||
a.culturelle, span.culturelle{
|
||||
font-family: $avara;
|
||||
}
|
||||
|
||||
.sidebar-right{
|
||||
ul, a{
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.other_projets{
|
||||
h3{
|
||||
font-size: $txt-figli;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.card{
|
||||
h2{
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user