libreavous/squelettes/scss/styles/_perso.scss

1415 lines
25 KiB
SCSS
Raw Normal View History

// perso
// les différences
2021-09-02 20:04:44 +02:00
.btn {
padding: 0.5em 1em;
font-weight: 500;
2021-10-03 17:54:47 +02:00
border-radius:0;
2021-09-02 20:04:44 +02:00
&:hover {
background:$couleurPrincipaleOn;
color:$couleurPrincipale !important;
}
}
.liens .btn {
padding: 0.7em 1em;
}
.btn.blanc {
2021-10-03 17:54:47 +02:00
/* border-radius: 0.7em; */
2021-09-02 20:04:44 +02:00
}
span.btn {
cursor:text;
}
2021-09-13 13:45:14 +02:00
.flex {
width:100%;
2021-09-13 13:50:16 +02:00
clear:both;
2021-09-13 13:45:14 +02:00
}
2021-09-02 20:04:44 +02:00
.page_wrapper {
2021-09-28 12:10:21 +02:00
background:$couleurPrincipale url('../images/egalizer.png') repeat-x center -300px;
2021-09-02 20:04:44 +02:00
/* background-attachment:fixed; */
2021-02-09 08:03:46 +01:00
@media ($bp-small) {
2021-09-28 12:10:21 +02:00
background:$couleurPrincipale url('../images/egalizer-480.png') repeat-x center -300px;
2021-02-09 08:03:46 +01:00
}
}
.page_header {
padding:0;
> .page_container {
background-color:$couleurSecondaire;
@include flex();
align-items:stretch;
}
.header_title {
min-width: 150px;
background:white;
}
2021-03-07 12:55:04 +01:00
.header_menu {
flex-grow: 2;
2021-10-03 18:25:32 +02:00
padding:0;
.nav {
padding-top:0;
2021-10-03 17:35:26 +02:00
.nav-list {
@include flex();
justify-content:end;
align-items:stretch;
background:$couleurPrincipale;
2021-10-03 17:35:26 +02:00
}
li {
margin:0;
}
a {
padding:1.1rem 1rem 1rem;
margin:0;
background:$couleurPrincipale !important;
border:0;
&:hover, &:active, &:focus, &.on {
color:$couleurPrincipale !important;
background:$couleurPrincipaleOn !important;
border:0;
}
}
}
2021-03-07 12:55:04 +01:00
.liens {
2021-03-11 16:29:35 +01:00
text-align:right;
2021-10-03 18:25:32 +02:00
margin-top:1.2rem;
2021-03-07 12:55:04 +01:00
.btn {
2021-03-11 16:29:35 +01:00
float:right;
margin-top:1.55rem;
2021-03-07 12:55:04 +01:00
.fas:before {
font-size:1rem;
}
&:hover, &:focus {
background:$couleurPrincipaleOn;
color:$couleurPrincipale !important;
.fas:before {
color:$couleurPrincipale !important;
}
}
}
.sociaux {
float:right;
2021-03-11 16:29:35 +01:00
display:inline-block;
2021-03-07 12:55:04 +01:00
font-size:0.8rem;
margin:1.8rem 1.5rem 0 0;
2021-03-07 12:55:04 +01:00
.socicon {
background:none !important;
color:$blancTransparent;
&:hover, &:focus {
color:$couleurPrincipaleOn;
}
}
}
.formulaire_spip.formulaire_abomailman_mini_une_liste {
width:230px;
float:right;
2021-03-07 14:53:42 +01:00
position:relative;
margin:0 0 0 1rem;
2021-03-11 16:29:35 +01:00
text-align:left;
2021-03-07 14:53:42 +01:00
.reponse_formulaire {
position: absolute;
top: 100%;
margin: 0;
}
2021-03-07 12:55:04 +01:00
}
}
}
> .page_container .nav > ul .loupe a {
2021-10-03 17:35:26 +02:00
padding:0;
i.fa-search {
2021-10-03 17:35:26 +02:00
padding:1.25rem 1.1rem 1.2rem;
background-color:$couleurPrincipale;
/* font-size:0.8rem; */
border-radius:0;
/* color:white; */
}
&:focus i.fa-search, &:active i.fa-search, &:hover i.fa-search {
background-color:$couleurPrincipaleOn;
color:$couleurPrincipale;
}
}
}
2021-03-07 14:53:42 +01:00
.page_header_container {
align-items: flex-start;
}
2021-03-11 16:29:35 +01:00
.arbo {
@include visuallyhidden;
2021-03-07 12:55:04 +01:00
}
2021-09-10 12:36:03 +02:00
.encart {
float:right;
text-align:right;
font-size:1.1rem;
margin-left:2rem;
span {
font-size:115%;
&.btn {
background:$couleurSecondaire;
color:white !important;
font-weight:900;
margin:0.6rem 0 0.3rem;
padding:1.3rem 2rem;
&:first-letter {
text-transform:uppercase;
}
}
}
2021-10-12 09:31:46 +02:00
@include media($bp-xxsmall) {
float:none;
}
}
2021-09-28 22:27:51 +02:00
.bientot {
display:inline-block;
color:$couleurSecondaire;
font-weight:900;
}
2021-09-10 12:36:03 +02:00
//----------------------------------------
// Boutons
//----------------------------------------
.button,
2021-09-10 14:15:48 +02:00
.formulaire_spip:not(.formulaire_recherche):not(.formulaire_abomailman_mini_une_liste) button,
2021-09-10 12:36:03 +02:00
.formulaire_spip input[type=submit]
{
@include bouton($couleur-boutons, #fff, $couleurPrincipaleOn);
}
2021-10-03 17:54:47 +02:00
.formulaire_spip.formulaire_recherche form, .button, .formulaire_spip:not(.formulaire_recherche):not(.formulaire_abomailman_mini_une_liste) button, .formulaire_spip input[type="submit"],
html .formulaire_spip input[type="text"] {
border-radius:0;
}
2021-09-10 12:36:03 +02:00
.sansbordure a.spip_out, a.sansbordure {
border: 0 !important;
2021-09-10 12:36:03 +02:00
}
.texte_accueil {
.page_content > article&:not(.annonce) {
margin-bottom:0;
2021-11-09 20:39:52 +01:00
padding-right:2rem;
}
background-color:white;
.main {
padding-bottom:1rem;
}
@include media($bp-medium-up) {
.flex2 > .main {
max-width:60%;
}
.flex2 > .aside {
max-width:40%;
padding-left:4rem;
@include media($bp-medium) {
padding-left:2rem;
}
}
}
}
.body__sommaire .page_main .annonce {
h1 {
margin-top:0;
}
}
.article-resume {
background-color:white;
padding:1rem;
}
2021-09-07 11:11:19 +02:00
.article__texte {
margin-bottom:3rem;
2021-09-07 11:11:19 +02:00
}
.article__interactivite {
> div {
@include flex;
> a {
margin-left:1rem;
}
}
p {
margin:0;
}
}
2021-06-10 18:05:33 +02:00
.page_main {
overflow:hidden;
}
.page_main_content {
align-items: start;
2021-09-10 12:36:03 +02:00
@include media($bp-medium-up) {
.page_article:not(.article_chronique) & {
2021-09-10 12:36:03 +02:00
background:white;
.page_aside {
margin-left:0;
}
}
}
}
.composition_emissions, .composition_emission, .composition_chroniques {
.page_main_content {
flex-direction: column;
}
.page_content, .page_aside {
2021-09-02 20:04:44 +02:00
}
.page_content {
}
}
.page_content, .page_aside, .page_extra {
2021-09-02 20:04:44 +02:00
> * {
margin:0 0 2rem;
padding:1rem 4rem;
@include clearfix();
@include media($bp-medium) {
padding:1rem 2rem;
}
2021-09-02 20:04:44 +02:00
&.page_extra {
padding:0;
}
&.btn {
background:$couleurSecondaire;
2021-09-13 18:56:00 +02:00
color:white !important;
2021-09-10 12:36:03 +02:00
&:hover {
background:$couleurPrincipaleOn;
color:white !important;
2021-09-02 20:04:44 +02:00
}
}
}
2021-09-28 23:13:59 +02:00
> article {
padding:2rem 4rem;
@include media($bp-medium) {
padding:2rem 2rem 1rem;
}
background-color:white;
2021-09-28 23:13:59 +02:00
h1 {
margin:0;
}
}
2021-09-28 23:13:59 +02:00
/*.page_article & > article, .composition_emission & > article, > .texte, > .ps, .rubrique_blog & > section, > .periode,
.prochaine_emission, .derniere_emission, .page_recherche & {
background-color:white;
2021-09-28 23:13:59 +02:00
}*/
2021-09-02 20:04:44 +02:00
> .ajaxbloc {
padding-top: 0;
2021-09-28 12:10:21 +02:00
margin-top: 6rem;
2021-09-02 20:04:44 +02:00
position: relative;
.emissions > h2, .emissions > a {
position:absolute;
margin-top:-2.6rem;
}
.article_blog & {
margin-top:0;
padding:1rem 2rem;
background-color:white;
.pagination .pagination-items a, .pagination .lien_pagination a {
color:$couleurPrincipale;
}
}
}
2021-09-23 22:49:32 +02:00
.composition_blog & > .content {
margin:0;
}
}
2021-03-07 12:55:04 +01:00
2021-09-13 15:53:29 +02:00
.page_content {
.page_rubrique & {
/* background-color:#fff; */
}
2021-09-23 20:31:26 +02:00
.rubrique_chroniques & .liste.articles {
margin-top:3rem;
}
2021-09-13 15:53:29 +02:00
@include media($bp-medium-up) {
> * {
/* padding-right:2rem; */
2021-09-13 15:53:29 +02:00
}
}
@include media($bp-large-up) {
}
}
.page_aside {
background:white;
2021-09-13 15:53:29 +02:00
> ul .article-resume {
padding:0;
}
2021-09-28 12:10:21 +02:00
> * {
@include media($bp-medium-up) {
padding-left:0;
}
2021-09-13 15:53:29 +02:00
}
}
.page_extra {
background:white;
}
2021-06-10 18:05:33 +02:00
h2 {
font-weight:900;
}
.fl {
border-top:2em solid $couleurPrincipale;
border-bottom:2em solid $couleurPrincipale;
margin:0 -1000px;
padding:2em 1000px;
background:white;
}
.fb {
padding:2em 0;
> h2 {
margin-top:2em;
}
}
.photoapril {
margin-bottom:1em;
}
.galeriephotos {
2021-09-14 12:38:39 +02:00
float:right;
font-size:1.2rem;
line-height: 1.8;
}
2021-09-09 20:26:33 +02:00
.galerie_photoapril figure {
@include media($bp-large-up) {
&:first-child {
text-align:left;
}
&:last-child {
text-align:right;
}
}
}
2021-06-10 18:05:33 +02:00
.licence {
padding:1em;
line-height:1.2;
margin-top:2em;
background:$couleurBackgroundTexteBleu;
}
2021-09-23 16:33:03 +02:00
.detail_emission ul, ul.spip, li ul.spip, .sujets > ul {
@include liste-triangle;
2021-09-28 16:59:02 +02:00
margin-left:0;
}
ul.spip {
ul.spip {
margin-left:1rem;
2021-09-28 16:59:02 +02:00
}
2021-06-10 18:05:33 +02:00
}
2021-09-23 16:33:03 +02:00
2021-06-10 18:05:33 +02:00
.btn.blanc {
color:$couleurPrincipale !important;
background:white;
border:1px solid rgba($couleurPrincipale,0.2);
2021-10-03 17:54:47 +02:00
border-radius:0;
2021-06-10 18:05:33 +02:00
&:hover {
background:$couleurPrincipaleOn;
}
&.bold {
border-color:$couleurPrincipale;
}
2021-06-10 18:05:33 +02:00
}
.article__infos {
position:relative;
height:auto;
width: auto;
white-space: inherit;
clip: unset;
clip-path: unset;
font-size:1em;
margin:-2rem 0 1rem -4rem;
2021-10-20 22:00:00 +02:00
display: flex;
align-items: center;
@include media($bp-medium) {
2021-10-12 09:31:46 +02:00
margin:-2rem -200px 0 -2rem;
line-height:1.2;
.emission_heroine & {
@include flex();
}
.article__date {
/* flex-grow:1; */
}
.prochaine_emission.emission_heroine & {
margin-right:0;
2021-09-14 13:02:12 +02:00
}
}
@include media($bp-small) {
2021-10-12 09:31:46 +02:00
margin:-2rem 0 0 -2rem;
}
@include media($bp-xxsmall) {
flex-wrap: wrap;
.article__date, .btn {
margin:0.3rem 0 0 1rem;
}
}
overflow:visible;
.composition_blog & {
margin:0;
}
}
.num_emission {
display:inline-block;
2021-03-11 16:29:35 +01:00
width:150px;
padding:0.5rem;
margin-right:1.5rem;
@include media($bp-small) {
margin-right:0.5rem;
}
2021-03-11 16:29:35 +01:00
font-weight:700;
font-size:2.8rem;
2021-03-11 16:29:35 +01:00
text-align:center;
color:$couleurSecondaire;
background:$couleurBackgroundTexte;
font-family:$typo-titre;
}
2021-06-25 07:52:45 +02:00
.article__date {
display:none; /* provisoire, par simplicite */
}
2021-09-02 20:04:44 +02:00
.composition_emissions, .composition_emission, .emissions, .derniere_emission, .prochaine_emission {
.article__date {
display:inline;
font-size:1.5rem;
color:$couleurSecondaire;
font-weight:700;
font-family:$typo-titre;
2021-11-08 11:01:04 +01:00
@include media($bp-small) {
font-size:1.2rem;
}
2021-09-02 20:04:44 +02:00
}
}
.composition_blog {
.article__date {
display:inline-block;
}
.page_content, .page_aside, .page_extra {
> aside, > footer {
margin:0;
padding:0;
}
}
2021-03-11 16:29:35 +01:00
}
.liste.articles.blog {
background-color:white;
2021-10-19 16:57:29 +02:00
margin:-2rem 0;
.liste-items {
list-style:none;
margin:0 0 2rem;
.item {
border-top:1px solid $couleurPrincipale;
&:first-child {
border:0;
}
.article-resume {
padding-left:0;
padding-right:0;
}
}
}
}
2021-06-21 10:00:24 +02:00
.lecteur {
@include flex;
align-items:center;
margin-bottom:3rem;
2021-06-21 10:00:24 +02:00
> .podlove_wrapper {
width:76%;
}
2021-09-10 12:36:03 +02:00
@include media($bp-medium) {
flex-direction: column;
text-align: center;
margin:0 -4rem;
@include media($bp-medium) {
2021-10-07 14:39:42 +02:00
margin:0;
}
2021-09-10 12:36:03 +02:00
.telecharger {
padding:0;
margin-top:1rem;
2021-09-10 12:36:03 +02:00
}
> .podlove_wrapper {
width:100%;
}
}
2021-07-11 11:41:33 +02:00
}
.texte_aside {
width:200px;
padding:0 0 1rem 2rem;
text-align:center;
@include media($bp-small) {
padding:0 0 1rem;
margin:0 auto;
}
}
.telecharger {
list-style:none;
margin:0 0 0.5rem;
text-align:left;
@include media($bp-small) {
padding:0 0 1rem;
2021-09-14 10:11:11 +02:00
margin: 0 auto;
}
2021-07-11 11:41:33 +02:00
li {
padding:0.5rem 0 0.5rem;
2021-07-11 11:41:33 +02:00
}
.btn.podcast {
width:100%;
padding-left:2.2rem;
padding-bottom:0.3rem;
2021-07-11 11:41:33 +02:00
font-size:1.15rem;
text-transform:none;
&:before {
left:0.8rem;
}
2021-07-11 11:41:33 +02:00
}
}
.duree {
font-size:0.7rem;
}
2021-07-11 11:41:33 +02:00
.btn.podcast {
padding:0 0.5em 0.1em 1rem;
2021-07-11 11:41:33 +02:00
position:relative;
text-align:left;
border-width:0.25em;
border-color:$couleurSecondaire;
color:$couleurSecondaire !important;
font-weight:900;
font-size:0.6rem;
text-transform:uppercase;
2021-09-23 15:15:47 +02:00
&:not(.mini):before {
2021-07-11 11:41:33 +02:00
@include triangle(right, $couleurSecondaire, 0.5em);
position: absolute;
left: 0.4rem;
2021-07-11 11:41:33 +02:00
top: 50%;
margin-top:-0.45em;
2021-07-11 11:41:33 +02:00
}
small {
font-size:0.7em;
font-weight:400;
}
2021-09-23 15:15:47 +02:00
&.mp3:not(.mini) {
2021-07-11 11:41:33 +02:00
border-color:$couleurPrincipale;
color:$couleurPrincipale !important;
&:before {
@include triangle(right, $couleurPrincipale, 0.5em);
}
}
&:hover, &:active, &:focus {
background:$couleurPrincipaleOn !important;
2021-07-11 11:41:33 +02:00
border-color:$couleurPrincipaleOn !important;
color:$couleurPrincipale !important;
&:before {
@include triangle(right, $couleurPrincipale, 0.5em);
}
2021-07-11 11:41:33 +02:00
}
2021-09-23 15:15:47 +02:00
&.mini {
background-color:white;
2021-09-23 17:50:39 +02:00
background-position:top !important;
background-size:100% !important;
2021-09-23 15:15:47 +02:00
border:0 !important;
2021-09-23 17:50:39 +02:00
transition:none !important;
2021-10-03 18:20:57 +02:00
height:11px;
2021-09-23 15:15:47 +02:00
width:33px;
padding:0;
&:before {
display:none;
}
&:hover {
background-color:white !important;
2021-09-23 17:50:39 +02:00
background-position:bottom !important;
background-size:100% !important;
2021-09-23 15:15:47 +02:00
}
&.ogg {
background-image:url('img/ogg.png');
margin-left:1rem;
2021-09-23 15:15:47 +02:00
&:hover {
2021-09-23 17:50:39 +02:00
background-image:url('img/ogg.png') !important;
2021-09-23 15:15:47 +02:00
}
}
&.mp3 {
background-image:url('img/mp3.png');
margin-left:0.5rem;
2021-09-23 15:15:47 +02:00
&:hover {
2021-09-23 17:50:39 +02:00
background-image:url('img/mp3.png') !important;
2021-09-23 15:15:47 +02:00
}
}
}
2021-07-11 11:41:33 +02:00
}
.sujet_autre {
background:$couleurBackgroundTexte;
padding:1rem 4rem;
margin:2rem -4rem -2rem;
@include media($bp-medium) {
padding:1rem 2rem;
margin:2rem -2rem -2rem;
}
2021-09-14 12:31:30 +02:00
&.flex {
width:auto;
}
> ul {
2021-07-12 09:22:15 +02:00
@include flex;
@include vendor-prefix(flex-wrap, wrap);
> li {
2021-07-12 09:22:15 +02:00
width:50%;
&:nth-child(odd) {
padding-right:2rem;
2021-07-12 09:22:15 +02:00
}
&:nth-child(even) {
padding-left:2rem;
2021-09-28 16:59:02 +02:00
&:before {
left:1rem;
2021-09-28 16:59:02 +02:00
}
2021-07-12 09:22:15 +02:00
}
h3 {
margin:0;
}
2021-07-12 09:22:15 +02:00
}
}
// pour insertion dans le texte/chapo avant d'avoir le podcast
.chapo & {
margin-bottom: -2rem;
clear:both;
font-size:1rem;
> * {
font-size:1.2rem;
}
}
2021-09-08 11:29:22 +02:00
.derniere_emission & {
margin:0 -4rem;
@include media($bp-medium) {
margin:0 -2rem;
}
2021-09-13 18:56:00 +02:00
width:auto;
2021-09-08 11:29:22 +02:00
}
2021-06-21 10:00:24 +02:00
}
2021-03-07 12:55:04 +01:00
/* notation */
2021-09-29 16:21:56 +02:00
.formulaire_notation .notation_note {
display:inline-block;
}
.formulaire_jaime_jaimepas {
.note, .reponse_formulaire {
float:left;
}
}
div.star-rating, div.star-rating a {
background-image:url('img/star.png');
}
div.rating-cancel a {
background-image:url('img/delete.png');
}
/**/
2021-03-07 12:55:04 +01:00
.sociaux {
.socicon {
display: inline-block;
}
a.spip_out {
border:0;
}
}
2021-09-10 12:36:03 +02:00
a:hover .fab, a:hover .fas {
color:$couleurPrincipaleOn;
}
/* bloc connex */
.page_connex {
2021-09-02 20:04:44 +02:00
margin:3rem 0 0;
padding:0 0 1rem;
2021-09-28 12:10:21 +02:00
/* background:$couleurPrincipale; */
}
.page_connex_content {
color:white;
.liste h2 {
color:white;
font-size:1rem;
}
ul {
list-style:none;
margin-left:0;
li {
margin:0 0 0.5rem;
}
}
a {
border:0;
}
2021-03-07 12:55:04 +01:00
}
.article_forum {
background:white;
color:$couleurPrincipale;
margin:0 0 4rem;
padding:1rem 4rem;
@include media($bp-medium) {
padding:1rem 2rem;
}
}
/**/
2021-03-11 16:29:35 +01:00
.page_footer {
.article {
@include media($bp-small-up) {
@include flex;
justify-content:space-between;
> * {
width: calc(50% - 1rem);
}
}
.article__texte, .article__chapo {
margin-bottom:2rem;
font-weight:400;
strong, i, .btn {
font-size:115%;
}
2021-03-11 16:29:35 +01:00
}
}
.formulaire_spip.formulaire_recherche {
/* max-width:100%; */
2021-03-11 16:29:35 +01:00
}
}
2021-06-21 10:00:24 +02:00
/* page sommaire */
.body__sommaire .page_main {
h1 {
margin: 1em 0 0.8em;
}
.emission_heroine h1 {
2021-10-03 13:39:06 +02:00
font-size: 2.4rem;
2021-10-12 09:31:46 +02:00
@include media($bp-xxsmall) {
font-size:2rem;
}
}
}
2021-09-28 12:10:21 +02:00
.emission-resume.article-resume {
align-items:center;
padding: 0 1rem 0 4rem;
2021-09-28 12:10:21 +02:00
margin:0;
@include media($bp-medium) {
padding:0 1rem 0 2rem;
2021-09-28 12:10:21 +02:00
}
h1 {
small {
display:inline-block;
}
}
2021-09-28 12:10:21 +02:00
}
.derniere_emission, .liste.emissions {
padding-bottom:0;
> h2 {
color:white;
2021-09-28 12:10:21 +02:00
.page_recherche & {
padding:0 4rem;
2021-09-28 12:10:21 +02:00
}
}
.article__infos {
margin-top:0;
.num_emission {
font-size:2rem;
padding:0.1rem 1rem;
width: auto;
}
.article__date {
font-size:1rem;
color:$couleurPrincipale;
font-weight:400;
}
.btn.blanc {
2021-09-24 23:15:58 +02:00
margin-left:1rem;
font-weight:700;
}
}
}
.derniere_emission:not(.emission_heroine) {
.emission-resume {
margin:0 -4rem;
2021-09-14 12:12:19 +02:00
@include media($bp-medium) {
margin:0 -2rem;
2021-09-14 12:12:19 +02:00
}
}
}
.derniere_emission.emission_heroine {
position:relative;
margin-top:-2rem;
padding:0;
padding-left:0 !important;
padding-right:0 !important;
background:white;
> h2 {
color:$couleurPrincipale;
/* margin-top:-3.6rem; */
/* margin-bottom:0.65rem; */
padding-left:4rem;
@include media($bp-medium) {
/* margin-bottom: 2.05rem; */
}
@include media($bp-small) {
/* margin-bottom: 2.15rem; */
}
}
2021-10-03 18:49:50 +02:00
html:not(.composition_chroniques) & .article__infos {
margin-top:0;
}
}
.prochaine_emission.emission_heroine {
.page_content > article& {
margin-bottom:4rem;
}
}
2021-09-28 22:27:51 +02:00
.texte_content {
flex:1;
padding-bottom:1rem;
2021-10-12 09:31:46 +02:00
min-height: 240px;
2021-09-28 22:27:51 +02:00
h1 {
font-size:1.6rem;
}
h2 {
font-size:1.2rem;
}
p.flex {
margin:1rem 0;
padding-right:2rem;
align-items:center;
.podcast {
font-size:110%;
text-transform:none;
padding-left:1.6rem;
}
}
}
2021-09-02 20:04:44 +02:00
.liste.emissions {
.cartouche {
margin:0;
}
> h2 {
margin-bottom:0.6rem;
}
> ul {
list-style:none;
padding:0;
margin:0 -4rem;
2021-09-28 12:10:21 +02:00
.page_recherche & {
margin:0;
}
@include media($bp-medium) {
margin:0 -2rem;
}
> li {
margin-bottom:2px;
}
}
li {
line-height: 1.3;
margin-bottom: 0.5rem;
> small {
display:inline-block;
margin-left:0.5rem;
}
}
2021-09-28 12:10:21 +02:00
2021-09-08 11:29:22 +02:00
.pagination .pagination-items a, .pagination .pagination-items span, .pagination .lien_pagination, .pagination .lien_pagination span {
color:white;
&.on, &:hover {
background:transparent !important;
color:$couleurPrincipaleOn !important;
color:$couleurPrincipale;
}
}
.sujet_autre {
margin: 1rem -1rem -1rem;
padding:1rem;
2021-09-13 18:56:00 +02:00
width:auto;
2021-09-08 11:29:22 +02:00
}
}
2021-09-02 20:04:44 +02:00
.liste.emissions.chroniques {
> ul > li {
background-color:white;
margin-bottom:1rem;
2021-09-02 20:04:44 +02:00
}
.emission-resume.article-resume {
/* align-items:start; */
2021-09-02 20:04:44 +02:00
}
2021-09-08 11:29:22 +02:00
2021-09-02 20:04:44 +02:00
}
.emission_heroine.emission-resume.article-resume {
margin-bottom:4rem;
padding-bottom: 2rem;
.article__infos {
margin: 0 0 0 -4rem;
2021-10-03 17:54:47 +02:00
@include media($bp-medium) {
margin: 0 0 0 -2rem;
}
}
.article__date {
display:inline-block;
margin-right:1rem;
font-size:1rem;
color:$couleurPrincipale;
font-weight:400;
}
.chapo {
font-size:1.2rem;
}
2021-09-14 16:37:13 +02:00
.radiolive {
clear: right;
text-align: center;
max-width:100%;
margin: 0 0 1rem;
2021-09-14 16:37:13 +02:00
h4 {
text-align:center;
}
iframe {
min-height:300px;
}
2021-09-14 16:37:13 +02:00
}
@include media($bp-medium) {
h1, .chapo, .sujet_principal {
clear:both;
}
2021-09-14 16:37:13 +02:00
.encart, .radiolive {
clear:both;
margin:0 0 1rem;
2021-09-14 16:37:13 +02:00
}
}
2021-09-14 16:51:56 +02:00
@include media($bp-small) {
.radiolive {
margin: 0 -2rem;
float: none;
}
}
}
/* modele radiolive */
.radiolive {
@include clearfix();
p {
line-height:1.1;
}
iframe {
min-height:300px;
}
audio {
2021-10-07 14:39:42 +02:00
@include media($bp-medium) {
margin:0.5rem -4rem;
width:100%;
}
}
.live_audio {
@include media($bp-medium-up) {
@include flex();
align-items:center;
justify-content:space-between;
> * {
width:33%;
&:first-child {
text-align:left;
}
&:last-child {
text-align:right;
}
}
}
padding:1rem;
background:$couleurSecondaire;
color:white;
text-align:center;
h4 {
margin:0;
color:white;
}
}
}
2021-06-21 10:00:24 +02:00
.orange {
color:$couleurSecondaire;
}
2021-06-21 10:00:24 +02:00
2021-09-08 11:29:22 +02:00
.pagination .pagination-items a, .pagination .pagination-items span, .pagination .lien_pagination a /* spip 3 et 4 */ {
color:white;
.composition_blog & {
color:$couleurPrincipale;
}
}
.header_initiatives, .header_initiatives .nav, .btn-nav, .header_initiatives .btn-initiatives {
@include gradient-4(#02375b,#02375b,#02375b,#00263e);
.inclure_blocs { /* pour un var_mode=inclure sans encombre */
display:none;
}
}
/* centrer le lecteur audio pour SPIP3 */
.audio-wrapper {
margin: 0 auto;
}
2021-09-08 11:29:22 +02:00
2021-09-13 15:53:29 +02:00
.page_recherche, .page_plan {
2021-09-28 12:10:21 +02:00
.page_content .formulaire_spip.formulaire_recherche {
float:right;
padding-left:0 !important;
padding-right:2rem;
width:250px;
}
2021-10-05 18:48:18 +02:00
.page_content {
background:white;
}
2021-09-28 12:10:21 +02:00
}
2021-09-13 15:53:29 +02:00
/* ajout Antoine - 1 */
2021-06-21 10:00:24 +02:00
/*! Plusieurs typographies sont finalement trop grosses, j'ai réduit. */
h1, .h1 {
2021-11-08 11:16:52 +01:00
/* font-size: 2.6em; */
2021-09-13 18:56:00 +02:00
a {
border:0;
}
2021-06-21 10:00:24 +02:00
}
h2 {
font-weight: 700;
}
.article-resume__titre a {
color: #2E5281;
border-bottom: inherit;
}
/*! certaines graisses sont trop forte en 700.*/
2021-09-27 14:22:30 +02:00
/*.page_header > .page_container .nav a {
2021-06-21 10:00:24 +02:00
font-weight: 500;
2021-09-27 14:22:30 +02:00
}*/
2021-06-21 10:00:24 +02:00
/*! Sur le menu j'ai augmenté la hauteur du bouton RSS et le champ recherche. Pour le menu avec le hover je propose de modifier le design, car le bouton bleu cyan au rollover est trop prégnant. Je convertis en filets simlple 2pt. Par contre j'ai basculé le padding sur le "li" sinon le filet sous le "a" débordait de chaque côté (voir copie-écran de la retouche css de la bannière)
Sur le menu, je vais voir s'il est possible de faire des filets de rollover composés de tirets et de points avec les fonctions css border-image. Ce qui ferrait un rappel du design.*/
/*! cyan ausurvol*/
.page_header .nav a:hover, .page_header .nav a.on, .page_header .nav a.active {
color: white !important;
background-color: transparent !important;
border-bottom:3px solid #00c4f5;
}
.header_initiatives .menu-entree.sousinitiatives > ul.ouvert li {
background:#02375b;
}
2021-06-21 10:00:24 +02:00
/*! bleu charte ensuite */
.page_header .nav a.on, .page_header .nav a.active {
border-bottom:3px solid #2E5281;
}
.formulaire_spip input[type="text"]{
min-height: 2.5em;
line-height: 1.875em;
}
/*! trop gros, j'ai réduis. */
.num_emission {
font-size: 2.3rem;
}
.nav li {
margin: 0 0.7em;
}
.page_header .nav a {
padding: 0.3em 0em 0.2em;
color: white !important;
background-color: inherit;
border-radius:0;
border-bottom:3px solid transparent;
}
/*! couleurs des liens sortants selon la maquette */
.formulaire_spip .abonnement button::after {
bottom: 0.8rem;
}
/*! fond du cartouche galerie selon la maquette avec ombrages*/
.fl {
background: #EEF1F5;
box-shadow: inset 0px 1px 20px rgba(0, 0, 0, 0.5);
}
/*! Polices du pied de page plus maigre */
.page_footer p {
font-size: 0.8rem;
font-weight: 200;
a, a.spip_out {
display:inline;
font-weight:400;
color:white;
border-bottom-width:1px;
}
}
/*
* ajouts Antoine 07/09
*/
/* réduction de corps de titre
*/
h3, .h3 {
font-size: 1.2em;
}
2021-10-04 09:38:09 +02:00
/* pas de graissage de corps. Dans le corps de texte, les liens "a" sont soulignés
*/
a.spip_out {
font-weight: 400;
2021-10-04 09:38:09 +02:00
color: #2E5281;
border-bottom:1px solid $couleurPrincipale;
}
/* réduction et degraissages des boutons podcats
*/
.btn.podcast {
padding: 0em 0.5em 0em 1rem;
border-width: 0.15rem;
font-weight: 700;
font-size: 0.5rem;
}
.podlove.native, .podlove .info, .podlove .progress {
font-family:$typo-titre;
color: #005184;
font-weight: 300;
}
2021-10-03 17:54:47 +02:00
.telecharger .btn.blanc {
border-width: 0.3rem;
}
.telecharger .btn.podcast {
font-size: 1rem;
font-weight: 600;
}
.btn.podcast small {
font-size: 0.6em;
font-weight: 300;
}
2021-09-14 12:22:35 +02:00
/* ajout du 14/09 */
/* titres des chroniques en corps moins gras et gros */
.chronique h3 {
font-weight: 400;
font-size: 1em;
line-height: 1.6em;
font-family: 'lato','sans-serif';
}
2021-10-04 09:38:09 +02:00
2021-09-14 12:22:35 +02:00
/* liens du footer */
.page_footer p {
line-height: 1.8em;
}
.page_footer p a, .page_footer p a.spip_out {
border-bottom: none;
}
.page_footer a:hover,.page_footer p a:hover, .page_footer p a.spip_out:hover {
color: #00c4f5;
}
.sociaux .socicon:hover {
color: #00c4f5;
}
/* pave dernière émission, calage des boutons à gauche */
.derniere_emission .texte_content p.flex, .liste.emissions .texte_content p.flex {
margin: 1rem 0;
justify-content: start;
}
.derniere_emission .texte_content p.flex a, .liste.emissions .texte_content p.flex a{
margin-right: 2rem;
}
/* repositionnement photo de l'émission (IMCOMPLET:si possible un format carré) */
.derniere_emission .photo, .liste.emissions .photo {
max-width: 250px;
}
.derniere_emission .photo .photoapril, .liste.emissions .photo .photoapril {
margin: 1em;
}
.derniere_emission .photo, .liste.emissions .photo {
background: inherit;
}
.derniere_emission .photo a, .liste.emissions .photo a {
color: #2E5281;
padding: 0;
margin-right: 1em;
}
/*
* fin
*/
2021-10-05 18:46:12 +02:00
.page_header > .page_container .nav > ul .loupe .formulaire_recherche.vu {
top: 1.4rem;
}
@media (max-width:940px) {
.page_header > .page_container {
.nav {
font-size:0.95rem;
z-index:7;
position:static;
2021-10-03 17:35:26 +02:00
> .nav-list {
position:absolute;
width:100%;
top:36px;
left:-100%;
z-index:10;
2021-10-03 17:35:26 +02:00
justify-content:space-around;
&.ouvert{
left:0;
}
.loupe {
.formulaire_recherche.vu {
right:50%;
margin-right:-160px;
max-width:320px;
form {
padding:0.5rem;
&:before {
display:none;
}
}
}
}
}
}
}
.btn-nav {
display:block;
}
.header_initiatives {
.btn-initiatives {
display:block;
}
2021-10-03 17:35:26 +02:00
.nav {
position:absolute;
width:100%;
top:36px;
left:-100%;
@include vendor-prefix(transition,all 0.3s ease-in-out);
&.ouvert {
left:0;
}
ul, .initiatives {
display:inline;
}
}
}
}
@include media(min-width:941px) {
.page_header > .page_container .nav {
position:relative;
}
}
@media (max-width:804px) {
.page_header .header_menu .liens {
margin-top:0;
}
.page_header .header_menu .liens .sociaux {
margin-top:0.8rem;
}
}
@media (max-width:650px) {
.page_header .header_menu .liens .btn {
margin-top:0.5rem;
}
}
@media (max-width:580px) {
.page_header > .page_container .nav {
padding-top:0;
}
.page_header .header_menu {
padding:0.3rem 1rem;
}
.page_header .header_menu .liens .sociaux {
margin-top:0;
}
.article-resume > :last-child.telecharger {
margin-bottom:1rem;
}
2021-09-02 20:04:44 +02:00
.page_header .header_menu .liens .formulaire_spip.formulaire_abomailman_mini_une_liste {
width:160px;
}
.page_header .header_title {
min-width: 100px;
}
2021-06-21 10:00:24 +02:00
}
2021-10-03 17:35:26 +02:00
@media($bp-medium) {
.page_header > .page_container {
.nav {
font-size:0.95rem;
z-index:7;
position:static;
> .nav-list {
position:absolute;
width:100%;
top:36px;
left:-100%;
z-index:10;
justify-content:space-around;
flex-wrap:wrap;
padding:0;
&.ouvert{
left:0;
}
a {
padding:1.1rem 1rem 1rem;
margin:0;
background:$couleurPrincipale !important;
border:0;
&:hover, &:active, &:focus, &.on {
color:$couleurPrincipale !important;
background:$couleurPrincipaleOn !important;
border:0;
}
}
.loupe {
.formulaire_recherche.vu {
right:50%;
margin-right:-160px;
max-width:320px;
form {
padding:0.5rem;
&:before {
display:none;
}
}
}
}
}
}
}
}