forked from DGNum/gestioCOF
Affichage des actus
This commit is contained in:
parent
0e19abb51a
commit
5a22b1cd37
3 changed files with 103 additions and 38 deletions
|
@ -95,6 +95,9 @@ article {
|
|||
list-style: outside;
|
||||
}
|
||||
}
|
||||
&:last-child {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
|
@ -118,6 +121,10 @@ article {
|
|||
padding: 15px;
|
||||
box-shadow: -4px 4px 1px rgba(#000, 0.3);
|
||||
|
||||
h2 {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.calendar {
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
|
@ -260,6 +267,30 @@ article {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
&.actulist {
|
||||
article.actu {
|
||||
display:flex;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
|
||||
.actu-image {
|
||||
width: 30%;
|
||||
max-width: 200px;
|
||||
background-size: cover;
|
||||
background-position: center center;
|
||||
}
|
||||
.actu-infos {
|
||||
padding: 15px;
|
||||
flex: 1;
|
||||
|
||||
.actu-dates {
|
||||
font-weight: bold;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue