Sitecof CSS ++

This commit is contained in:
Evarin 2020-08-29 23:14:19 +02:00
parent 72210e1980
commit 7db75c0060
2 changed files with 86 additions and 68 deletions

View file

@ -105,8 +105,8 @@ a {
color: #CC9500; color: #CC9500;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
padding: 0 3px; padding: 0 2px;
margin: 0 -3px; margin: 0 -2px;
} }
/* line 44, ../sass/screen.scss */ /* line 44, ../sass/screen.scss */
a:hover { a:hover {
@ -277,7 +277,7 @@ article:last-child {
} }
/* line 195, ../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;
@ -307,31 +307,35 @@ article:last-child {
font-style: italic; font-style: italic;
} }
/* line 228, ../sass/screen.scss */ /* line 228, ../sass/screen.scss */
.container .content p a { .container .content .intro, .container .content article.paragraph, .container .content article.entry {
line-height: 1.5;
}
/* line 231, ../sass/screen.scss */
.container .content .intro a, .container .content article.paragraph a, .container .content article.entry a {
color: #000; color: #000;
background-image: linear-gradient(to top, rgba(255, 197, 0, 0.8) 30%, rgba(255, 197, 0, 0) 30%); background-image: linear-gradient(to top, rgba(255, 197, 0, 0.8) 30%, rgba(255, 197, 0, 0) 30%);
text-decoration: none; text-decoration: none;
} }
/* line 235, ../sass/screen.scss */ /* line 237, ../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 ul, .container .content article.entry ol {
padding-left: 1em; padding-left: 1em;
} }
/* line 241, ../sass/screen.scss */ /* line 243, ../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 ul li {
list-style: disc; list-style: disc;
} }
/* line 244, ../sass/screen.scss */ /* line 246, ../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 ol li {
list-style: arabic; list-style: arabic;
} }
/* line 249, ../sass/screen.scss */ /* line 251, ../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 258, ../sass/screen.scss */ /* line 260, ../sass/screen.scss */
.container .content section article { .container .content section article {
background: #fff; background: #fff;
padding: 20px 30px; padding: 20px 30px;
@ -339,35 +343,35 @@ article:last-child {
border: 1px solid rgba(34, 6, 12, 0.1); border: 1px solid rgba(34, 6, 12, 0.1);
border-radius: 2px; border-radius: 2px;
} }
/* line 266, ../sass/screen.scss */ /* line 268, ../sass/screen.scss */
.container .content section article + h2 { .container .content section article + h2 {
margin-top: 15px; margin-top: 15px;
} }
/* line 270, ../sass/screen.scss */ /* line 272, ../sass/screen.scss */
.container .content section article + article { .container .content section article + article {
margin-top: 25px; margin-top: 25px;
} }
/* line 274, ../sass/screen.scss */ /* line 276, ../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 279, ../sass/screen.scss */ /* line 281, ../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(34, 6, 12, 0.2); box-shadow: -7px 7px 1px rgba(34, 6, 12, 0.2);
} }
/* line 287, ../sass/screen.scss */ /* line 289, ../sass/screen.scss */
.container .content section.directory article.entry { .container .content section.directory article.entry {
width: 80%; width: 90%;
max-width: 600px; max-width: 600px;
max-height: 100%; max-height: 100%;
position: relative; position: relative;
margin-left: 6%; margin-left: 6%;
} }
/* line 294, ../sass/screen.scss */ /* line 296, ../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;
@ -381,32 +385,38 @@ article:last-child {
margin-left: 10px; margin-left: 10px;
margin-bottom: 10px; margin-bottom: 10px;
transform: translateX(10px); transform: translateX(10px);
line-height: 0;
} }
/* line 308, ../sass/screen.scss */ /* line 311, ../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 316, ../sass/screen.scss */ /* line 319, ../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;
font-weight: bold;
} }
/* line 324, ../sass/screen.scss */ /* line 325, ../sass/screen.scss */
.container .content section.directory article.entry ul.links .label {
font-weight: normal;
}
/* line 332, ../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 330, ../sass/screen.scss */ /* line 338, ../sass/screen.scss */
.container .content section.actuhome article + article { .container .content section.actuhome article + article {
margin: 0; margin: 0;
} }
/* line 334, ../sass/screen.scss */ /* line 342, ../sass/screen.scss */
.container .content section.actuhome article.actu { .container .content section.actuhome article.actu {
position: relative; position: relative;
background: none; background: none;
@ -416,7 +426,7 @@ article:last-child {
min-width: 300px; min-width: 300px;
flex: 1; flex: 1;
} }
/* line 343, ../sass/screen.scss */ /* line 351, ../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(34, 6, 12, 0.3); box-shadow: -4px 5px 1px rgba(34, 6, 12, 0.3);
@ -430,7 +440,7 @@ article:last-child {
background-position: center center; background-position: center center;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
/* line 356, ../sass/screen.scss */ /* line 364, ../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%;
@ -440,11 +450,11 @@ article:last-child {
text-shadow: 0 0 5px rgba(34, 6, 12, 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 364, ../sass/screen.scss */ /* line 372, ../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 370, ../sass/screen.scss */ /* line 378, ../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(34, 6, 12, 0.2); box-shadow: -2px 2px 1px rgba(34, 6, 12, 0.2);
@ -454,17 +464,17 @@ article:last-child {
padding: 15px; padding: 15px;
padding-top: 5px; padding-top: 5px;
} }
/* line 379, ../sass/screen.scss */ /* line 387, ../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 382, ../sass/screen.scss */ /* line 390, ../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 389, ../sass/screen.scss */ /* line 397, ../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;
@ -476,82 +486,82 @@ article:last-child {
z-index: 5; z-index: 5;
opacity: 0; opacity: 0;
} }
/* line 405, ../sass/screen.scss */ /* line 413, ../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 410, ../sass/screen.scss */ /* line 418, ../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 416, ../sass/screen.scss */ /* line 424, ../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 420, ../sass/screen.scss */ /* line 428, ../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 430, ../sass/screen.scss */ /* line 438, ../sass/screen.scss */
.container .aside-wrap + .content { .container .aside-wrap + .content {
max-width: 70%; max-width: 70%;
} }
/* line 435, ../sass/screen.scss */ /* line 443, ../sass/screen.scss */
.calendar { .calendar {
color: rgba(0, 0, 0, 0.8); color: rgba(0, 0, 0, 0.8);
width: 200px; width: 200px;
} }
/* line 439, ../sass/screen.scss */ /* line 447, ../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 446, ../sass/screen.scss */ /* line 454, ../sass/screen.scss */
.calendar th { .calendar th {
font-weight: bold; font-weight: bold;
} }
/* line 450, ../sass/screen.scss */ /* line 458, ../sass/screen.scss */
.calendar td { .calendar td {
font-size: 0.8em; font-size: 0.8em;
width: 28px; width: 28px;
height: 28px; height: 28px;
} }
/* line 455, ../sass/screen.scss */ /* line 463, ../sass/screen.scss */
.calendar td.out { .calendar td.out {
opacity: 0.3; opacity: 0.3;
} }
/* line 458, ../sass/screen.scss */ /* line 466, ../sass/screen.scss */
.calendar td.today { .calendar td.today {
border-bottom-color: #000; border-bottom-color: #000;
} }
/* line 461, ../sass/screen.scss */ /* line 469, ../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 464, ../sass/screen.scss */ /* line 472, ../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 470, ../sass/screen.scss */ /* line 478, ../sass/screen.scss */
.calendar td.hasevent > a { .calendar td.hasevent > a {
padding: 3px; padding: 3px;
color: #90001C !important; color: #90001C !important;
background: none !important; background: none !important;
} }
/* line 476, ../sass/screen.scss */ /* line 484, ../sass/screen.scss */
.calendar td.hasevent ul.cal-events { .calendar td.hasevent ul.cal-events {
font-size: 0.9em; font-size: 0.9em;
text-align: left; text-align: left;
@ -565,11 +575,11 @@ article:last-child {
padding: 5px; padding: 5px;
background-color: #90001C; background-color: #90001C;
} }
/* line 489, ../sass/screen.scss */ /* line 497, ../sass/screen.scss */
.calendar td.hasevent ul.cal-events .datename { .calendar td.hasevent ul.cal-events .datename {
display: none; display: none;
} }
/* line 492, ../sass/screen.scss */ /* line 500, ../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;
@ -578,25 +588,25 @@ article:last-child {
border: 6px solid transparent; border: 6px solid transparent;
border-bottom-color: #90001C; border-bottom-color: #90001C;
} }
/* line 500, ../sass/screen.scss */ /* line 508, ../sass/screen.scss */
.calendar td.hasevent ul.cal-events a { .calendar td.hasevent ul.cal-events a {
color: #fff; color: #fff;
background: none !important; background: none !important;
} }
/* line 506, ../sass/screen.scss */ /* line 514, ../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 510, ../sass/screen.scss */ /* line 518, ../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 */ /* line 526, ../sass/screen.scss */
.calendar tr.head th { .calendar tr.head th {
position: relative; position: relative;
} }
/* line 520, ../sass/screen.scss */ /* line 528, ../sass/screen.scss */
.calendar tr.head th a { .calendar tr.head th a {
position: absolute; position: absolute;
display: block; display: block;
@ -605,30 +615,30 @@ article:last-child {
top: -5px; top: -5px;
background: none !important; background: none !important;
} }
/* line 528, ../sass/screen.scss */ /* line 536, ../sass/screen.scss */
.calendar tr.head th:first-child a { .calendar tr.head th:first-child a {
left: 0; left: 0;
text-align: left; text-align: left;
} }
/* line 532, ../sass/screen.scss */ /* line 540, ../sass/screen.scss */
.calendar tr.head th:last-child a { .calendar tr.head th:last-child a {
text-align: right; text-align: right;
right: 0; right: 0;
} }
/* line 540, ../sass/screen.scss */ /* line 548, ../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 545, ../sass/screen.scss */ /* line 553, ../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 546, ../sass/screen.scss */ /* line 554, ../sass/screen.scss */
#calendar-wrap .details li.datename:after { #calendar-wrap .details li.datename:after {
content: " :"; content: " :";
} }

View file

@ -39,8 +39,8 @@ a {
color: $lien; color: $lien;
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
padding: 0 3px; padding: 0 2px;
margin: 0 -3px; margin: 0 -2px;
&:hover { &:hover {
text-decoration: underline; text-decoration: underline;
} }
@ -193,7 +193,7 @@ article {
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;
@ -225,13 +225,15 @@ article {
font-style: italic; font-style: italic;
} }
p a { .intro, article.paragraph, article.entry {
color: #000; line-height: 1.5;
background-image: linear-gradient(to top, rgba($aside, 0.8) 30%, rgba($aside, 0) 30%);
text-decoration: none; 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 {
ul, ol { ul, ol {
padding-left: 1em; padding-left: 1em;
li { li {
@ -285,7 +287,7 @@ article {
&.directory { &.directory {
article.entry { article.entry {
width: 80%; width: 90%;
max-width: 600px; max-width: 600px;
max-height: 100%; max-height: 100%;
position: relative; position: relative;
@ -304,6 +306,7 @@ article {
margin-left: 10px; margin-left: 10px;
margin-bottom: 10px; margin-bottom: 10px;
transform: translateX(10px); transform: translateX(10px);
line-height: 0;
img { img {
width: auto; width: auto;
@ -317,6 +320,11 @@ article {
margin-top: 10px; margin-top: 10px;
border-top: 1px solid $sousbandeau; border-top: 1px solid $sousbandeau;
padding-top: 10px; padding-top: 10px;
font-weight: bold;
.label {
font-weight: normal;
}
} }
} }
} }