forked from DGNum/gestioCOF
Actus et listes de clubs plus jolies et fonctionnelles, calendriers (beta)
This commit is contained in:
parent
53658589f8
commit
09e63bf00c
9 changed files with 230 additions and 18 deletions
|
@ -10,7 +10,7 @@
|
|||
@import "_colors";
|
||||
|
||||
*, *:after, *:before {
|
||||
box-sizing: content-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -120,6 +120,72 @@ header {
|
|||
article + h2 {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
&.directory {
|
||||
article.entry {
|
||||
width: 80%;
|
||||
max-width: 600px;
|
||||
max-height: 100%;
|
||||
position: relative;
|
||||
padding-right: 120px;
|
||||
|
||||
.entry-image {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 150px;
|
||||
background: #fff;
|
||||
box-shadow: -4px 4px 1px rgba(#000, 0.2);
|
||||
padding: 1px;
|
||||
overflow: hidden;
|
||||
right: 100px;
|
||||
transform: translateX(90%);
|
||||
top: -15px;
|
||||
|
||||
img {
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.actuhome {
|
||||
article.actu {
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
max-width: 400px;
|
||||
|
||||
.actu-header {
|
||||
position: relative;
|
||||
box-shadow: -4px 5px 1px rgba(#000, 0.3);
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
z-index: -1;
|
||||
}
|
||||
h2 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding-top: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
.actu-misc {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue