Sitecof : améliogrations CSS
This commit is contained in:
parent
359f85a42d
commit
72210e1980
6 changed files with 207 additions and 126 deletions
|
@ -1,5 +0,0 @@
|
||||||
/* Welcome to Compass. Use this file to write IE specific override styles.
|
|
||||||
* Import this file using the following HTML or equivalent:
|
|
||||||
* <!--[if IE]>
|
|
||||||
* <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
|
|
||||||
* <![endif]--> */
|
|
|
@ -1,3 +0,0 @@
|
||||||
/* Welcome to Compass. Use this file to define print styles.
|
|
||||||
* Import this file using the following HTML or equivalent:
|
|
||||||
* <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" /> */
|
|
|
@ -76,94 +76,105 @@ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu,
|
||||||
body {
|
body {
|
||||||
background: #fefefe;
|
background: #fefefe;
|
||||||
font: 17px "Source Sans Pro", "sans-serif";
|
font: 17px "Source Sans Pro", "sans-serif";
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 19, ../sass/screen.scss */
|
/* line 20, ../sass/screen.scss */
|
||||||
header {
|
header {
|
||||||
background: #5B0012;
|
background: #5B0012;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 23, ../sass/screen.scss */
|
/* line 24, ../sass/screen.scss */
|
||||||
h1, h2 {
|
h1, h2 {
|
||||||
font-family: "Carter One", "serif";
|
font-family: "Carter One", "serif";
|
||||||
color: #90001C;
|
color: #90001C;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 28, ../sass/screen.scss */
|
/* line 29, ../sass/screen.scss */
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2.3em;
|
font-size: 2.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 32, ../sass/screen.scss */
|
/* line 33, ../sass/screen.scss */
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.6em;
|
font-size: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 37, ../sass/screen.scss */
|
/* line 38, ../sass/screen.scss */
|
||||||
a {
|
a {
|
||||||
color: #CC9500;
|
color: #CC9500;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
padding: 0 3px;
|
||||||
|
margin: 0 -3px;
|
||||||
|
}
|
||||||
|
/* line 44, ../sass/screen.scss */
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 43, ../sass/screen.scss */
|
/* line 49, ../sass/screen.scss */
|
||||||
h2 a {
|
h2 a {
|
||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 49, ../sass/screen.scss */
|
/* line 55, ../sass/screen.scss */
|
||||||
header a {
|
header a {
|
||||||
color: #fefefe;
|
color: #fefefe;
|
||||||
}
|
}
|
||||||
/* line 52, ../sass/screen.scss */
|
/* line 57, ../sass/screen.scss */
|
||||||
|
header a:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
/* line 61, ../sass/screen.scss */
|
||||||
header section {
|
header section {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
}
|
}
|
||||||
/* line 58, ../sass/screen.scss */
|
/* line 67, ../sass/screen.scss */
|
||||||
header section.bottom-menu {
|
header section.bottom-menu {
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #90001C;
|
background: #90001C;
|
||||||
}
|
}
|
||||||
/* line 64, ../sass/screen.scss */
|
/* line 73, ../sass/screen.scss */
|
||||||
header h1 {
|
header h1 {
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
}
|
}
|
||||||
/* line 67, ../sass/screen.scss */
|
/* line 76, ../sass/screen.scss */
|
||||||
header nav {
|
header nav {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
/* line 69, ../sass/screen.scss */
|
/* line 78, ../sass/screen.scss */
|
||||||
header nav ul {
|
header nav ul {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
/* line 72, ../sass/screen.scss */
|
/* line 81, ../sass/screen.scss */
|
||||||
header nav ul li {
|
header nav ul li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
/* line 74, ../sass/screen.scss */
|
/* line 83, ../sass/screen.scss */
|
||||||
header nav ul li > * {
|
header nav ul li > * {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
/* line 79, ../sass/screen.scss */
|
/* line 88, ../sass/screen.scss */
|
||||||
header nav ul li > *:hover {
|
header nav ul li > *:hover {
|
||||||
background: #280008;
|
background: #280008;
|
||||||
}
|
}
|
||||||
/* line 85, ../sass/screen.scss */
|
/* line 94, ../sass/screen.scss */
|
||||||
header nav .lang-select {
|
header nav .lang-select {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
/* line 91, ../sass/screen.scss */
|
/* line 100, ../sass/screen.scss */
|
||||||
header nav .lang-select:before {
|
header nav .lang-select:before {
|
||||||
content: "";
|
content: "";
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -175,12 +186,12 @@ header nav .lang-select:before {
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
/* line 103, ../sass/screen.scss */
|
/* line 112, ../sass/screen.scss */
|
||||||
header nav .lang-select a {
|
header nav .lang-select a {
|
||||||
padding: 10px 20px;
|
padding: 10px 20px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 107, ../sass/screen.scss */
|
/* line 116, ../sass/screen.scss */
|
||||||
header nav .lang-select a img {
|
header nav .lang-select a img {
|
||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
@ -188,34 +199,34 @@ header nav .lang-select a img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 118, ../sass/screen.scss */
|
/* line 127, ../sass/screen.scss */
|
||||||
article {
|
article {
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
/* line 120, ../sass/screen.scss */
|
/* line 129, ../sass/screen.scss */
|
||||||
article p, article ul {
|
article p, article ul {
|
||||||
margin: 0.4em 0;
|
margin: 0.4em 0;
|
||||||
}
|
}
|
||||||
/* line 123, ../sass/screen.scss */
|
/* line 132, ../sass/screen.scss */
|
||||||
article ul {
|
article ul {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
/* line 125, ../sass/screen.scss */
|
/* line 134, ../sass/screen.scss */
|
||||||
article ul li {
|
article ul li {
|
||||||
list-style: outside;
|
list-style: outside;
|
||||||
}
|
}
|
||||||
/* line 129, ../sass/screen.scss */
|
/* line 138, ../sass/screen.scss */
|
||||||
article:last-child {
|
article:last-child {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 134, ../sass/screen.scss */
|
/* line 143, ../sass/screen.scss */
|
||||||
.container {
|
.container {
|
||||||
max-width: 1000px;
|
max-width: 1000px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
/* line 139, ../sass/screen.scss */
|
/* line 148, ../sass/screen.scss */
|
||||||
.container .aside-wrap {
|
.container .aside-wrap {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 30px;
|
top: 30px;
|
||||||
|
@ -223,7 +234,7 @@ article:last-child {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
left: 6px;
|
left: 6px;
|
||||||
}
|
}
|
||||||
/* line 146, ../sass/screen.scss */
|
/* line 155, ../sass/screen.scss */
|
||||||
.container .aside-wrap .aside {
|
.container .aside-wrap .aside {
|
||||||
color: #222;
|
color: #222;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -232,114 +243,123 @@ article:last-child {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #FFC500;
|
background: #FFC500;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
box-shadow: -4px 4px 1px rgba(153, 118, 0, 0.3);
|
box-shadow: -3px 3px 1px rgba(34, 6, 12, 0.3);
|
||||||
}
|
}
|
||||||
/* line 156, ../sass/screen.scss */
|
/* line 165, ../sass/screen.scss */
|
||||||
.container .aside-wrap .aside h2 {
|
.container .aside-wrap .aside h2 {
|
||||||
color: #fff;
|
color: #000;
|
||||||
}
|
}
|
||||||
/* line 160, ../sass/screen.scss */
|
/* line 169, ../sass/screen.scss */
|
||||||
.container .aside-wrap .aside .calendar {
|
.container .aside-wrap .aside .calendar {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 165, ../sass/screen.scss */
|
/* line 173, ../sass/screen.scss */
|
||||||
.container .aside-wrap .aside a {
|
.container .aside-wrap .aside .calendar:last-child {
|
||||||
color: #805d00;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
/* line 167, ../sass/screen.scss */
|
/* line 178, ../sass/screen.scss */
|
||||||
|
.container .aside-wrap .aside a {
|
||||||
|
color: #000;
|
||||||
|
text-decoration: none;
|
||||||
|
background-image: linear-gradient(to top, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0) 30%);
|
||||||
|
}
|
||||||
|
/* line 182, ../sass/screen.scss */
|
||||||
.container .aside-wrap .aside a:hover {
|
.container .aside-wrap .aside a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
/* line 172, ../sass/screen.scss */
|
/* line 187, ../sass/screen.scss */
|
||||||
.container .aside-wrap .aside .aside-content {
|
.container .aside-wrap .aside .aside-content {
|
||||||
max-height: 70vh;
|
max-height: 70vh;
|
||||||
max-height: calc(80vh - 150px);
|
max-height: calc(80vh - 150px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
/* line 179, ../sass/screen.scss */
|
/* line 195, ../sass/screen.scss */
|
||||||
.container .aside-wrap .aside ul.directory li {
|
.container .aside-wrap .aside ul.directory li {
|
||||||
list-style: "." inside;
|
list-style: "|" inside;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
text-indent: -10px;
|
text-indent: -10px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
/* line 189, ../sass/screen.scss */
|
/* line 205, ../sass/screen.scss */
|
||||||
.container .content {
|
.container .content {
|
||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
}
|
}
|
||||||
/* line 194, ../sass/screen.scss */
|
/* line 210, ../sass/screen.scss */
|
||||||
.container .content h3 {
|
.container .content h3 {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
/* line 199, ../sass/screen.scss */
|
/* line 215, ../sass/screen.scss */
|
||||||
.container .content h4 {
|
.container .content h4 {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
/* line 204, ../sass/screen.scss */
|
/* line 220, ../sass/screen.scss */
|
||||||
.container .content b, .container .content strong {
|
.container .content b, .container .content strong {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
/* line 208, ../sass/screen.scss */
|
/* line 224, ../sass/screen.scss */
|
||||||
.container .content i {
|
.container .content i {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
/* line 213, ../sass/screen.scss */
|
/* line 228, ../sass/screen.scss */
|
||||||
|
.container .content p a {
|
||||||
|
color: #000;
|
||||||
|
background-image: linear-gradient(to top, rgba(255, 197, 0, 0.8) 30%, rgba(255, 197, 0, 0) 30%);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
/* line 235, ../sass/screen.scss */
|
||||||
.container .content .intro ul, .container .content .intro ol, .container .content article.paragraph ul, .container .content article.paragraph ol, .container .content article.entry .desc ul, .container .content article.entry .desc ol {
|
.container .content .intro ul, .container .content .intro ol, .container .content article.paragraph ul, .container .content article.paragraph ol, .container .content article.entry .desc ul, .container .content article.entry .desc ol {
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
}
|
}
|
||||||
/* line 219, ../sass/screen.scss */
|
/* line 241, ../sass/screen.scss */
|
||||||
.container .content .intro ul li, .container .content article.paragraph ul li, .container .content article.entry .desc ul li {
|
.container .content .intro ul li, .container .content article.paragraph ul li, .container .content article.entry .desc ul li {
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
}
|
}
|
||||||
/* line 222, ../sass/screen.scss */
|
/* line 244, ../sass/screen.scss */
|
||||||
.container .content .intro ol li, .container .content article.paragraph ol li, .container .content article.entry .desc ol li {
|
.container .content .intro ol li, .container .content article.paragraph ol li, .container .content article.entry .desc ol li {
|
||||||
list-style: arabic;
|
list-style: arabic;
|
||||||
}
|
}
|
||||||
/* line 227, ../sass/screen.scss */
|
/* line 249, ../sass/screen.scss */
|
||||||
.container .content .intro {
|
.container .content .intro {
|
||||||
border-bottom: 3px solid #7f7f7f;
|
border-bottom: 3px solid #7f7f7f;
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
padding: 15px 5px;
|
padding: 15px 5px;
|
||||||
}
|
}
|
||||||
/* line 236, ../sass/screen.scss */
|
/* line 258, ../sass/screen.scss */
|
||||||
.container .content section article {
|
.container .content section article {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 20px 30px;
|
padding: 20px 30px;
|
||||||
box-shadow: -4px 4px 1px rgba(153, 118, 0, 0.3);
|
box-shadow: -3px 3px 1px rgba(34, 6, 12, 0.3);
|
||||||
border: 1px solid rgba(153, 118, 0, 0.1);
|
border: 1px solid rgba(34, 6, 12, 0.1);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
/* line 242, ../sass/screen.scss */
|
/* line 266, ../sass/screen.scss */
|
||||||
.container .content section article a {
|
|
||||||
color: #CC9500;
|
|
||||||
}
|
|
||||||
/* line 247, ../sass/screen.scss */
|
|
||||||
.container .content section article + h2 {
|
.container .content section article + h2 {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
/* line 251, ../sass/screen.scss */
|
/* line 270, ../sass/screen.scss */
|
||||||
.container .content section article + article {
|
.container .content section article + article {
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
}
|
}
|
||||||
/* line 255, ../sass/screen.scss */
|
/* line 274, ../sass/screen.scss */
|
||||||
.container .content section .image {
|
.container .content section .image {
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
/* line 260, ../sass/screen.scss */
|
/* line 279, ../sass/screen.scss */
|
||||||
.container .content section .image img {
|
.container .content section .image img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
box-shadow: -7px 7px 1px rgba(153, 118, 0, 0.2);
|
box-shadow: -7px 7px 1px rgba(34, 6, 12, 0.2);
|
||||||
}
|
}
|
||||||
/* line 268, ../sass/screen.scss */
|
/* line 287, ../sass/screen.scss */
|
||||||
.container .content section.directory article.entry {
|
.container .content section.directory article.entry {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
|
@ -347,46 +367,46 @@ article:last-child {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-left: 6%;
|
margin-left: 6%;
|
||||||
}
|
}
|
||||||
/* line 275, ../sass/screen.scss */
|
/* line 294, ../sass/screen.scss */
|
||||||
.container .content section.directory article.entry .entry-image {
|
.container .content section.directory article.entry .entry-image {
|
||||||
display: block;
|
display: block;
|
||||||
float: right;
|
float: right;
|
||||||
width: 150px;
|
width: 150px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: -4px 4px 1px rgba(153, 118, 0, 0.2);
|
box-shadow: -4px 4px 1px rgba(34, 6, 12, 0.2);
|
||||||
border-right: 1px solid rgba(153, 118, 0, 0.2);
|
border-right: 1px solid rgba(34, 6, 12, 0.2);
|
||||||
border-top: 1px solid rgba(153, 118, 0, 0.2);
|
border-top: 1px solid rgba(34, 6, 12, 0.2);
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
transform: translateX(10px);
|
transform: translateX(10px);
|
||||||
}
|
}
|
||||||
/* line 289, ../sass/screen.scss */
|
/* line 308, ../sass/screen.scss */
|
||||||
.container .content section.directory article.entry .entry-image img {
|
.container .content section.directory article.entry .entry-image img {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
/* line 297, ../sass/screen.scss */
|
/* line 316, ../sass/screen.scss */
|
||||||
.container .content section.directory article.entry ul.links {
|
.container .content section.directory article.entry ul.links {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
border-top: 1px solid #90001C;
|
border-top: 1px solid #90001C;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
/* line 305, ../sass/screen.scss */
|
/* line 324, ../sass/screen.scss */
|
||||||
.container .content section.actuhome {
|
.container .content section.actuhome {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
align-items: top;
|
align-items: top;
|
||||||
}
|
}
|
||||||
/* line 311, ../sass/screen.scss */
|
/* line 330, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article + article {
|
.container .content section.actuhome article + article {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
/* line 315, ../sass/screen.scss */
|
/* line 334, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article.actu {
|
.container .content section.actuhome article.actu {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: none;
|
background: none;
|
||||||
|
@ -396,12 +416,12 @@ article:last-child {
|
||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
/* line 324, ../sass/screen.scss */
|
/* line 343, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article.actu .actu-header {
|
.container .content section.actuhome article.actu .actu-header {
|
||||||
position: relative;
|
position: relative;
|
||||||
box-shadow: -4px 5px 1px rgba(153, 118, 0, 0.3);
|
box-shadow: -4px 5px 1px rgba(34, 6, 12, 0.3);
|
||||||
border-right: 1px solid rgba(153, 118, 0, 0.2);
|
border-right: 1px solid rgba(34, 6, 12, 0.2);
|
||||||
border-top: 1px solid rgba(153, 118, 0, 0.2);
|
border-top: 1px solid rgba(34, 6, 12, 0.2);
|
||||||
min-height: 180px;
|
min-height: 180px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -410,41 +430,41 @@ article:last-child {
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
/* line 337, ../sass/screen.scss */
|
/* line 356, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article.actu .actu-header h2 {
|
.container .content section.actuhome article.actu .actu-header h2 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
text-shadow: 0 0 5px rgba(153, 118, 0, 0.8);
|
text-shadow: 0 0 5px rgba(34, 6, 12, 0.8);
|
||||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
|
background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
|
||||||
}
|
}
|
||||||
/* line 345, ../sass/screen.scss */
|
/* line 364, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article.actu .actu-header h2 a {
|
.container .content section.actuhome article.actu .actu-header h2 a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
/* line 351, ../sass/screen.scss */
|
/* line 370, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article.actu .actu-misc {
|
.container .content section.actuhome article.actu .actu-misc {
|
||||||
background: white;
|
background: white;
|
||||||
box-shadow: -2px 2px 1px rgba(153, 118, 0, 0.2);
|
box-shadow: -2px 2px 1px rgba(34, 6, 12, 0.2);
|
||||||
border: 1px solid rgba(153, 118, 0, 0.2);
|
border: 1px solid rgba(34, 6, 12, 0.2);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
/* line 360, ../sass/screen.scss */
|
/* line 379, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article.actu .actu-misc .actu-minical {
|
.container .content section.actuhome article.actu .actu-misc .actu-minical {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 363, ../sass/screen.scss */
|
/* line 382, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article.actu .actu-misc .actu-dates {
|
.container .content section.actuhome article.actu .actu-misc .actu-dates {
|
||||||
display: block;
|
display: block;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
/* line 370, ../sass/screen.scss */
|
/* line 389, ../sass/screen.scss */
|
||||||
.container .content section.actuhome article.actu .actu-overlay {
|
.container .content section.actuhome article.actu .actu-overlay {
|
||||||
display: block;
|
display: block;
|
||||||
background: none;
|
background: none;
|
||||||
|
@ -456,98 +476,100 @@ article:last-child {
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
/* line 386, ../sass/screen.scss */
|
/* line 405, ../sass/screen.scss */
|
||||||
.container .content section.actulist article.actu {
|
.container .content section.actulist article.actu {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
/* line 391, ../sass/screen.scss */
|
/* line 410, ../sass/screen.scss */
|
||||||
.container .content section.actulist article.actu .actu-image {
|
.container .content section.actulist article.actu .actu-image {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
}
|
}
|
||||||
/* line 397, ../sass/screen.scss */
|
/* line 416, ../sass/screen.scss */
|
||||||
.container .content section.actulist article.actu .actu-infos {
|
.container .content section.actulist article.actu .actu-infos {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
/* line 401, ../sass/screen.scss */
|
/* line 420, ../sass/screen.scss */
|
||||||
.container .content section.actulist article.actu .actu-infos .actu-dates {
|
.container .content section.actulist article.actu .actu-infos .actu-dates {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
/* line 411, ../sass/screen.scss */
|
/* line 430, ../sass/screen.scss */
|
||||||
.container .aside-wrap + .content {
|
.container .aside-wrap + .content {
|
||||||
max-width: 70%;
|
max-width: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* line 416, ../sass/screen.scss */
|
/* line 435, ../sass/screen.scss */
|
||||||
.calendar {
|
.calendar {
|
||||||
color: rgba(0, 0, 0, 0.8);
|
color: rgba(0, 0, 0, 0.8);
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
/* line 420, ../sass/screen.scss */
|
/* line 439, ../sass/screen.scss */
|
||||||
.calendar td, .calendar th {
|
.calendar td, .calendar th {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
}
|
}
|
||||||
/* line 427, ../sass/screen.scss */
|
/* line 446, ../sass/screen.scss */
|
||||||
.calendar th {
|
.calendar th {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
/* line 431, ../sass/screen.scss */
|
/* line 450, ../sass/screen.scss */
|
||||||
.calendar td {
|
.calendar td {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
width: 28px;
|
width: 28px;
|
||||||
height: 28px;
|
height: 28px;
|
||||||
}
|
}
|
||||||
/* line 436, ../sass/screen.scss */
|
/* line 455, ../sass/screen.scss */
|
||||||
.calendar td.out {
|
.calendar td.out {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
}
|
}
|
||||||
/* line 439, ../sass/screen.scss */
|
/* line 458, ../sass/screen.scss */
|
||||||
.calendar td.today {
|
.calendar td.today {
|
||||||
border-bottom-color: #000;
|
border-bottom-color: #000;
|
||||||
}
|
}
|
||||||
/* line 442, ../sass/screen.scss */
|
/* line 461, ../sass/screen.scss */
|
||||||
.calendar td:nth-child(7), .calendar td:nth-child(6) {
|
.calendar td:nth-child(7), .calendar td:nth-child(6) {
|
||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
/* line 445, ../sass/screen.scss */
|
/* line 464, ../sass/screen.scss */
|
||||||
.calendar td.hasevent {
|
.calendar td.hasevent {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #90001C;
|
color: #90001C;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
/* line 451, ../sass/screen.scss */
|
/* line 470, ../sass/screen.scss */
|
||||||
.calendar td.hasevent > a {
|
.calendar td.hasevent > a {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
color: #90001C !important;
|
color: #90001C !important;
|
||||||
|
background: none !important;
|
||||||
}
|
}
|
||||||
/* line 456, ../sass/screen.scss */
|
/* line 476, ../sass/screen.scss */
|
||||||
.calendar td.hasevent ul.cal-events {
|
.calendar td.hasevent ul.cal-events {
|
||||||
|
font-size: 0.9em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
width: 150px;
|
width: 100px;
|
||||||
left: -30px;
|
left: -30px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
background-color: #90001C;
|
background-color: #90001C;
|
||||||
}
|
}
|
||||||
/* line 469, ../sass/screen.scss */
|
/* line 489, ../sass/screen.scss */
|
||||||
.calendar td.hasevent ul.cal-events .datename {
|
.calendar td.hasevent ul.cal-events .datename {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* line 472, ../sass/screen.scss */
|
/* line 492, ../sass/screen.scss */
|
||||||
.calendar td.hasevent ul.cal-events:before {
|
.calendar td.hasevent ul.cal-events:before {
|
||||||
top: -12px;
|
top: -12px;
|
||||||
left: 38px;
|
left: 38px;
|
||||||
|
@ -556,33 +578,57 @@ article:last-child {
|
||||||
border: 6px solid transparent;
|
border: 6px solid transparent;
|
||||||
border-bottom-color: #90001C;
|
border-bottom-color: #90001C;
|
||||||
}
|
}
|
||||||
/* line 480, ../sass/screen.scss */
|
/* line 500, ../sass/screen.scss */
|
||||||
.calendar td.hasevent ul.cal-events a {
|
.calendar td.hasevent ul.cal-events a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
background: none !important;
|
||||||
}
|
}
|
||||||
/* line 485, ../sass/screen.scss */
|
/* line 506, ../sass/screen.scss */
|
||||||
.calendar td.hasevent > a:hover {
|
.calendar td.hasevent > a:hover {
|
||||||
background-color: #90001C;
|
background-color: #90001C;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
/* line 489, ../sass/screen.scss */
|
/* line 510, ../sass/screen.scss */
|
||||||
.calendar td.hasevent > a:hover + ul.cal-events {
|
.calendar td.hasevent > a:hover + ul.cal-events {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
/* line 518, ../sass/screen.scss */
|
||||||
|
.calendar tr.head th {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
/* line 520, ../sass/screen.scss */
|
||||||
|
.calendar tr.head th a {
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
width: 150%;
|
||||||
|
padding: 5px;
|
||||||
|
top: -5px;
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
/* line 528, ../sass/screen.scss */
|
||||||
|
.calendar tr.head th:first-child a {
|
||||||
|
left: 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
/* line 532, ../sass/screen.scss */
|
||||||
|
.calendar tr.head th:last-child a {
|
||||||
|
text-align: right;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* line 497, ../sass/screen.scss */
|
/* line 540, ../sass/screen.scss */
|
||||||
#calendar-wrap .details {
|
#calendar-wrap .details {
|
||||||
border-top: 1px solid #90001C;
|
border-top: 1px solid #90001C;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
/* line 502, ../sass/screen.scss */
|
/* line 545, ../sass/screen.scss */
|
||||||
#calendar-wrap .details li.datename {
|
#calendar-wrap .details li.datename {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
/* line 503, ../sass/screen.scss */
|
/* line 546, ../sass/screen.scss */
|
||||||
#calendar-wrap .details li.datename:after {
|
#calendar-wrap .details li.datename:after {
|
||||||
content: " :";
|
content: " :";
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@ $aside: #FFC500;
|
||||||
$titre: $sousbandeau;
|
$titre: $sousbandeau;
|
||||||
$lien: #CC9500;
|
$lien: #CC9500;
|
||||||
$headerlien: $fond;
|
$headerlien: $fond;
|
||||||
$ombres: darken($aside, 20%);
|
$ombres: darken(desaturate($bandeau, 30%), 10%);
|
||||||
|
|
||||||
$bodyfont: "Source Sans Pro", "sans-serif";
|
$bodyfont: "Source Sans Pro", "sans-serif";
|
||||||
$headfont: "Carter One", "serif";
|
$headfont: "Carter One", "serif";
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
body {
|
body {
|
||||||
background: $fond;
|
background: $fond;
|
||||||
font: 17px $bodyfont;
|
font: 17px $bodyfont;
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
@ -38,6 +39,11 @@ a {
|
||||||
color: $lien;
|
color: $lien;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
padding: 0 3px;
|
||||||
|
margin: 0 -3px;
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 a {
|
h2 a {
|
||||||
|
@ -48,6 +54,9 @@ h2 a {
|
||||||
header {
|
header {
|
||||||
a {
|
a {
|
||||||
color: $headerlien;
|
color: $headerlien;
|
||||||
|
&:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
section {
|
section {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -151,19 +160,25 @@ article {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: $aside;
|
background: $aside;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
box-shadow: -4px 4px 1px rgba($ombres, 0.3);
|
box-shadow: -3px 3px 1px rgba($ombres, 0.3);
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
color: #fff;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar {
|
.calendar {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: darken($lien, 15%);
|
color: #000;
|
||||||
|
text-decoration: none;
|
||||||
|
background-image: linear-gradient(to top, rgba(#fff, 0.7) 30%, rgba(#fff, 0) 30%);
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -173,11 +188,12 @@ article {
|
||||||
max-height: 70vh;
|
max-height: 70vh;
|
||||||
max-height: calc(80vh - 150px);
|
max-height: calc(80vh - 150px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.directory {
|
ul.directory {
|
||||||
li {
|
li {
|
||||||
list-style: "." inside;
|
list-style: "|" inside;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
text-indent: -10px;
|
text-indent: -10px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
|
@ -209,6 +225,12 @@ article {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p a {
|
||||||
|
color: #000;
|
||||||
|
background-image: linear-gradient(to top, rgba($aside, 0.8) 30%, rgba($aside, 0) 30%);
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.intro, article.paragraph, article.entry .desc {
|
.intro, article.paragraph, article.entry .desc {
|
||||||
ul, ol {
|
ul, ol {
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
|
@ -236,12 +258,9 @@ article {
|
||||||
article {
|
article {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 20px 30px;;
|
padding: 20px 30px;;
|
||||||
box-shadow: -4px 4px 1px rgba($ombres, 0.3);
|
box-shadow: -3px 3px 1px rgba($ombres, 0.3);
|
||||||
border: 1px solid rgba($ombres, 0.1);
|
border: 1px solid rgba($ombres, 0.1);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
a {
|
|
||||||
color: $lien;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
article + h2 {
|
article + h2 {
|
||||||
|
@ -451,16 +470,17 @@ article {
|
||||||
& > a {
|
& > a {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
color: $sousbandeau !important;
|
color: $sousbandeau !important;
|
||||||
|
background: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.cal-events {
|
ul.cal-events {
|
||||||
|
font-size: 0.9em;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
width: 150px;
|
width: 100px;
|
||||||
left: -30px;
|
left: -30px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
@ -479,6 +499,7 @@ article {
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
background: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -492,6 +513,28 @@ article {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr.head {
|
||||||
|
th {
|
||||||
|
position: relative;
|
||||||
|
a {
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
width: 150%;
|
||||||
|
padding: 5px;
|
||||||
|
top: -5px;
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
&:first-child a {
|
||||||
|
left: 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
&:last-child a {
|
||||||
|
text-align: right;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#calendar-wrap .details {
|
#calendar-wrap .details {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% load wagtailcore_tags wagtailroutablepage_tags static i18n %}
|
{% load wagtailcore_tags wagtailroutablepage_tags static i18n %}
|
||||||
<table class="calendar">
|
<table class="calendar">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr class="head">
|
||||||
<th><a href="javascript:void(0);" cal-dest="{{ prev_month }}" class="cal-btn"><</a></th>
|
<th><a href="javascript:void(0);" cal-dest="{{ prev_month }}" class="cal-btn"><</a></th>
|
||||||
<th colspan="5">{{ this_month|date:"F Y" }}</th>
|
<th colspan="5">{{ this_month|date:"F Y" }}</th>
|
||||||
<th><a href="javascript:void(0);" cal-dest="{{ next_month }}" class="cal-btn">></a></th>
|
<th><a href="javascript:void(0);" cal-dest="{{ next_month }}" class="cal-btn">></a></th>
|
||||||
|
|
Loading…
Reference in a new issue