Difference between revisions of "MediaWiki:Common.css"

From Communauté de la Fabrique des Mobilites
m (Couleur pour la miette de pain Connaissance)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
 
/* Le CSS placé ici sera appliqué à tous les habillages. */
 +
 +
/* Corrections pour MediaWiki 1.31 */
 +
a[href].external:hover {
 +
    text-decoration: none;
 +
}
 +
body.page-Accueil > .container, body.mw-special-WfExplore > .container, body.page-Event > .container {
 +
    max-width: none;
 +
    padding: 0;
 +
}
 +
 +
.navbar-wrapper {
 +
    background: #f8f8f8;
 +
    margin: 0;
 +
}
 +
#p-search .input-group, #mw-navigation .navbar-tool {
 +
    margin: 6px 0;
 +
}
 +
#mw-navigation .navbar-tool .ca-edit.navbar-tool-link {
 +
    width: 28px;
 +
    white-space: nowrap;
 +
    overflow: hidden;
 +
}
 +
#pt-language .sls-trigger {
 +
    background-position: center 5px;
 +
    padding: 0 0 0 65px !important;
 +
}
 +
#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
 +
    width: auto;
 +
    height: auto;
 +
    top: auto;
 +
    margin: 0;
 +
    line-height: 24px;
 +
}
 +
#pt-notifications-alert .mw-echo-notifications-badge::before, #pt-notifications-notice .mw-echo-notifications-badge::before {
 +
    position: relative;
 +
    width: 20px;
 +
    height: 20px;
 +
    top: auto;
 +
    left: auto;
 +
    vertical-align: text-bottom;
 +
}
 +
#pt-notifications-alert .mw-echo-notifications-badge::after, #pt-notifications-notice .mw-echo-notifications-badge::after {
 +
    top: auto;
 +
    left: auto;
 +
}
 +
.navbar, .p-navbar {
 +
    padding: 0;
 +
}
 +
.navbar-brand {
 +
    margin-right: 0;
 +
}
 +
.navbar-nav .wf-top-button {
 +
    margin-right: 0.5rem;
 +
}
 +
.navbar-nav .wf-top-button .btn {
 +
    font-size: 14px;
 +
    margin: 10px 6px 9px;
 +
    padding: .3rem .5rem .2rem;
 +
    white-space: nowrap;
 +
}
 +
a.navbar-more-tools::before, a.navbar-usernotloggedin::before, a.navbar-userloggedin::before {
 +
    margin-right: 0;
 +
}
 +
.skin-chameleon .navbar-tools {
 +
    height: 50px;
 +
    border-left: 1px solid #d7d7d7;
 +
    border-right: 1px solid #d7d7d7;
 +
}
 +
.p-navbar .navbar-nav .navbar-tools, .p-navbar.collapsible .navbar-nav .nav-link, .p-navbar .navbar-form {
 +
    border-right: 0;
 +
    border-left: 0;
 +
    padding-left: 0.5rem;
 +
    padding-right: 0.5rem;
 +
}
 +
.navbar-nav .wf-top-button .fa-pencil-alt, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child::before {
 +
    margin-right: 0.5em;
 +
}
 +
.container::before, .container::after, .nav.nav-pills::before, .nav.nav-pills::after {
 +
    display: table;
 +
    content: " ";
 +
}
 +
.container::after, .nav.nav-pills::after {
 +
    clear: both;
 +
}
 +
h1, h2, h3, h4, h5, h6 {
 +
    border: 0;
 +
}
 +
/* Titres page créer une ressource */
 +
.display-3 {
 +
    font-size: 2.2rem;
 +
}
 +
.WFfilter-filters .dropdown-menu {
 +
    min-width: 15em;
 +
}
 +
.mw-pt-translate-header {
 +
    display: none !important;
 +
}
 +
.mw-pt-translate-header + hr {
 +
    display: none;
 +
}
 +
.nav.nav-pills .dropdown-menu .btn {
 +
    white-space: nowrap;
 +
    cursor: pointer;
 +
}
 +
.label {
 +
    padding: .2em .6em .3em;
 +
    line-height: 1;
 +
    text-align: center;
 +
    white-space: nowrap;
 +
    border-radius: .25em;
 +
}
 +
.label-default {
 +
    background-color: #777;
 +
}
 +
.project-card .project-title {
 +
    height: auto;
 +
}
 +
body.mw-special-WfExplore .footer-info, body.page-Accueil .footer-info, body.page-Event .footer-info {
 +
    display: none !important;
 +
}
 +
body > .flex-fill.container > .row {
 +
    margin: 0;
 +
}
 +
body > .mb-2.mt-4.container-fluid {
 +
    background-color: #58585a;
 +
    margin-bottom: 0 !important;
 +
    padding-bottom: 0.5rem;
 +
}
 +
body > .mb-2.mt-4.container-fluid .row:not(:last-child) .col {
 +
    padding: 0;
 +
}
 +
body > .mb-2.mt-4.container-fluid h4, body > .mb-2.mt-4.container-fluid .row:not(:first-child) a {
 +
    color: #fff;
 +
}
 +
#cs-comments {
 +
    background: #f9fafc;
 +
    margin-top: 0;
 +
}
 +
.navbar-horizontal-toolbox, .footer-info-wrapper {
 +
    background: #f8f8f8;
 +
}
 +
.footer-info {
 +
    margin: 0;
 +
}
 +
.FabmobFooter {
 +
    padding-top: 20px;
 +
}
 +
.FabmobFooter .logo-fabmob {
 +
    width: 100%;
 +
}
 +
.footer-places-icons-wrapper .container .col {
 +
    flex-basis: auto;
 +
    max-width: none;
 +
    width: auto;
 +
}
 +
.footer-places {
 +
    display: inline-flex !important;
 +
}
 +
 
/*Masque {{{Area}}} dans les vignettes des pages utilisateurs */
 
/*Masque {{{Area}}} dans les vignettes des pages utilisateurs */
 
 
.area-style {  
 
.area-style {  
 
display: none;
 
display: none;
Line 189: Line 347:
 
color: black;  
 
color: black;  
 
padding: .4rem 1rem;
 
padding: .4rem 1rem;
 +
}
 +
 +
.sign-up-button-hp a {
 +
color: inherit
 +
}
 +
 +
.project-card-author {
 +
    display: none;
 +
}
 +
 +
 +
 +
/* Skin spécifique sur le profil */
 +
div#profileWf {
 +
    margin-top: 30px;
 +
}
 +
 +
#profileWf .project-byline {
 +
    display: none;
 +
 +
}
 +
#profileWf .project-blurb {
 +
    display: none;
 +
 +
}
 +
 +
#profileWf h5.project-title {
 +
    min-height: 25px;
 +
}
 +
 +
h5.project-title {
 +
    height: 28px;
 +
}
 +
 +
#profileWf .tabs-follow-btn {
 +
    float: right;
 +
}
 +
 +
.fa {
 +
    display: inline-block;
 +
    font: normal normal normal 14px/1 FontAwesome;
 +
    font-size: inherit;
 +
    text-rendering: auto;
 +
    -webkit-font-smoothing: antialiased;
 +
    -moz-osx-font-smoothing: grayscale;
 +
}
 +
 +
.nav-tabs {
 +
    border-bottom: 1px solid #dddddd;
 +
}
 +
 +
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
 +
    border-color: #52bad5 #ddd #fff #ddd;
 +
    border-style: solid;
 +
    border-width: 1px;
 +
}
 +
 +
#profileWf .nav-tabs > li > a {
 +
    padding: 12px 15px;
 +
}
 +
 +
#profileWf .nav-tabs .btn-sm {
 +
    bottom: 5px;
 +
    position: relative;
 +
}
 +
 +
.profile-info-container div.mw-parser-output {
 +
    width: auto;
 +
}
 +
 +
#profileWf .profile-info-container a {
 +
    float: none;
 +
}
 +
 +
 +
.ns-1000 #p-logo a { background-image: url(./.../wiki_resources/magic_intuition_logo.png) !important; }
 +
.ns-1000 #content, .ns-3001 #content { background-color: #f5f5ff; }
 +
 +
 +
span.actionable_button.search_action {
 +
    display: none;
 +
}
 +
 +
 +
/* Correctif pour l'editeur visuel dans le formulaire */
 +
.mw-parser-output table {
 +
    border-collapse: inherit;
 +
}
 +
 +
 +
 +
body.rootpage-Wiki.lafabriquedesmobilites.fr .mw-body {
 +
    padding: 0;
 +
    margin: 0;
 +
}
 +
 +
body.page-Wiki.lafabriquedesmobilites.fr > .container, body.mw-special-WfExplore > .container, body.page-Event > .container {
 +
    max-width: none;
 +
    padding: 0;
 
}
 
}

Latest revision as of 17:04, 22 October 2021

/* Le CSS placé ici sera appliqué à tous les habillages. */

/* Corrections pour MediaWiki 1.31 */
a[href].external:hover {
    text-decoration: none;
}
body.page-Accueil > .container, body.mw-special-WfExplore > .container, body.page-Event > .container {
    max-width: none;
    padding: 0;
}

.navbar-wrapper {
    background: #f8f8f8;
    margin: 0;
}
#p-search .input-group, #mw-navigation .navbar-tool {
    margin: 6px 0;
}
#mw-navigation .navbar-tool .ca-edit.navbar-tool-link {
    width: 28px;
    white-space: nowrap;
    overflow: hidden;
}
#pt-language .sls-trigger {
    background-position: center 5px;
    padding: 0 0 0 65px !important;
}
#pt-notifications-alert .mw-echo-notifications-badge, #pt-notifications-notice .mw-echo-notifications-badge {
    width: auto;
    height: auto;
    top: auto;
    margin: 0;
    line-height: 24px;
}
#pt-notifications-alert .mw-echo-notifications-badge::before, #pt-notifications-notice .mw-echo-notifications-badge::before {
    position: relative;
    width: 20px;
    height: 20px;
    top: auto;
    left: auto;
    vertical-align: text-bottom;
}
#pt-notifications-alert .mw-echo-notifications-badge::after, #pt-notifications-notice .mw-echo-notifications-badge::after {
    top: auto;
    left: auto;
}
.navbar, .p-navbar {
    padding: 0;
}
.navbar-brand {
    margin-right: 0;
}
.navbar-nav .wf-top-button {
    margin-right: 0.5rem;
}
.navbar-nav .wf-top-button .btn {
    font-size: 14px;
    margin: 10px 6px 9px;
    padding: .3rem .5rem .2rem;
    white-space: nowrap;
}
a.navbar-more-tools::before, a.navbar-usernotloggedin::before, a.navbar-userloggedin::before {
    margin-right: 0;
}
.skin-chameleon .navbar-tools {
    height: 50px;
    border-left: 1px solid #d7d7d7;
    border-right: 1px solid #d7d7d7;
}
.p-navbar .navbar-nav .navbar-tools, .p-navbar.collapsible .navbar-nav .nav-link, .p-navbar .navbar-form {
    border-right: 0;
    border-left: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.navbar-nav .wf-top-button .fa-pencil-alt, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child::before {
    margin-right: 0.5em;
}
.container::before, .container::after, .nav.nav-pills::before, .nav.nav-pills::after {
    display: table;
    content: " ";
}
.container::after, .nav.nav-pills::after {
    clear: both;
}
h1, h2, h3, h4, h5, h6 {
    border: 0;
}
/* Titres page créer une ressource */
.display-3 {
    font-size: 2.2rem;
}
.WFfilter-filters .dropdown-menu {
    min-width: 15em;
}
.mw-pt-translate-header {
    display: none !important;
}
.mw-pt-translate-header + hr {
    display: none;
}
.nav.nav-pills .dropdown-menu .btn {
    white-space: nowrap;
    cursor: pointer;
}
.label {
    padding: .2em .6em .3em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border-radius: .25em;
}
.label-default {
    background-color: #777;
}
.project-card .project-title {
    height: auto; 
}
body.mw-special-WfExplore .footer-info, body.page-Accueil .footer-info, body.page-Event .footer-info {
    display: none !important;
}
body > .flex-fill.container > .row {
    margin: 0;
}
body > .mb-2.mt-4.container-fluid {
    background-color: #58585a;
    margin-bottom: 0 !important;
    padding-bottom: 0.5rem;
}
body > .mb-2.mt-4.container-fluid .row:not(:last-child) .col {
    padding: 0;
}
body > .mb-2.mt-4.container-fluid h4, body > .mb-2.mt-4.container-fluid .row:not(:first-child) a {
    color: #fff;
}
#cs-comments {
    background: #f9fafc;
    margin-top: 0;
}
.navbar-horizontal-toolbox, .footer-info-wrapper {
    background: #f8f8f8;
}
.footer-info {
    margin: 0;
}
.FabmobFooter {
    padding-top: 20px;
}
.FabmobFooter .logo-fabmob {
    width: 100%;
}
.footer-places-icons-wrapper .container .col {
    flex-basis: auto;
    max-width: none;
    width: auto;
}
.footer-places {
    display: inline-flex !important;
}

/*Masque {{{Area}}} dans les vignettes des pages utilisateurs */
.area-style { 
display: none;
}

html {
font-family:sans-serif;
-ms-text-size-adjust:100%;
-webkit-text-size-adjust:100%
}

/* On écrase la photo du thème pour la page d'accueil */
#landing.marketing-section-hp {
  background-image: url(https://images.unsplash.com/photo-1533757347678-84aeb7d9f8a9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=900&q=60);
}

/* La photo étant sombre car le texte blanc, on met un fond blanc aux icônes réseaux sociaux */
.marketing-section-hp li.gallerybox {
  background: white;
  border-radius: 4rem;
}


h1#firstHeading {
color: #1e4a5a;
}
h1#firstHeading::before {
content: url(https://wiki.lafabriquedesmobilites.fr/images/fabmob/5/5f/Puce.png);
vertical-align: middle;
margin-right: .6rem;
}

div#content h2 {
color:#1e4a5a;
}

@media (max-width: 600px) {
  #content {
    padding: 0;
  }
h1#firstHeading {
line-height: initial;
}
  #content .fiche {
    width: 100%;
  }
}

.fiche {
border: 1px solid #e9e9e9;
width: 95%;
border-radius: 5px;
padding: 1.6rem;
box-shadow: 2px 2px 10px #f4f4f4;
}

.fiche #main-picture img {
border-radius: 1rem;
}

.fichitem {
color:#368aa9;
font-weight: bold;
}

.fichitem::before {
content: url(http://wiki.lafabriquedesmobilites.fr/images/fabmob/3/3b/Puce-jaune.png);
margin-right: 0.6rem;
vertical-align: middle;
}
.fiche #short-description {
  font-style: italic
}
.fichitem.link::before {
content: '🌐'
}

/* Pour les pages imprimables */
@media print {
    .firstHeading { margin-top: 0; padding-top: 0; }
    #siteSub { display: none; }
    .printfooter { display: none; }
    #catlinks, .catlinks { display: none; }
    #footer, .FabmobFooter, .footer-main { display: none; }
}

#print-button {
    background-color: #e7e7e7
    border: 1px solid #7b83a7;
    color: #777777;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 8px;
}

.impression {align: right;}

.searchresults .container {
    width: 100% !important;
}

.search-section .container {
    width: 100% !important;
}

/* ConfirmEdit QuestyCaptcha -- on Create Account */
.htmlform-tip + .mw-htmlform-field-HTMLInfoField { color:red; }

input#mw-input-captchaWord {
    background-color: #ff000047;
}
.mw-htmlform-field-HTMLInfoField.mw-ui-vform-field {
    color: red;
}

/* ConfirmEdit QuestyCaptcha -- on Edit page + add a URL */
label[for=wpCaptchaWord] {
    color:green;
    font-weight:bold;
    font-size:150%;
    font-style:italic;
}

.dropdown-menu.dropdown-menu-2cols {
    min-width: 460px;
}


.project-card:hover {
    box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, 0.6);
}

/* Afficher un espace sur le bouton chargement dans l'explorateur */

.load-more-previous {
     margin: 2px auto 40px;
}

/* Style des breadcrumbs introduits par l'extension breadcrumbs2, pour personnaliser les pages Commun et Projet, et autres */
.miettes-de-pain > a {
padding: 0.2rem 0.6rem; 
border-radius: .3rem;
font-weight: bold;
}

.miettes-de-pain.commun > a, .miettes-de-pain.commun > a:visited {
background:#99b836;
color: white; 
}

.miettes-de-pain.projet > a, .miettes-de-pain.projet > a:visited {
background:#ebd75e;
color: black;
}

.miettes-de-pain.communauté> a, .miettes-de-pain.communauté> a:visited {
background:#6fb7dd;
color: white;
}

.miettes-de-pain.défi> a, .miettes-de-pain.défi> a:visited, .miettes-de-pain.défi> a:link {
background:#315abb;
color: white;
}

.miettes-de-pain.acteur> a, .miettes-de-pain.acteur> a:visited, .miettes-de-pain.acteur> a:link {
background:#bb31ac;
color: white;
}
.miettes-de-pain.connaissance> a, .miettes-de-pain.connaissance> a:visited, .miettes-de-pain.connaissance> a:link {
background:#38ada9;
color: white;
}

.badge-contributeur img {
width: 16rem;
height: auto;
}

.fiche-engagement-button {
background: #80deff; 
border-radius: .1rem; 
border: 1px solid black; 
color: black; 
padding: .4rem 1rem;
}

.sign-up-button-hp a {
color: inherit
}

.project-card-author {
    display: none;
}



/* Skin spécifique sur le profil */
div#profileWf {
    margin-top: 30px;
}

#profileWf .project-byline {
    display: none;

}
#profileWf .project-blurb {
    display: none;

}

#profileWf h5.project-title {
    min-height: 25px;
}

h5.project-title {
    height: 28px;
}

#profileWf .tabs-follow-btn {
    float: right;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-tabs {
    border-bottom: 1px solid #dddddd;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border-color: #52bad5 #ddd #fff #ddd;
    border-style: solid;
    border-width: 1px;
}

#profileWf .nav-tabs > li > a {
    padding: 12px 15px;
}

#profileWf .nav-tabs .btn-sm {
    bottom: 5px;
    position: relative;
}

.profile-info-container div.mw-parser-output {
    width: auto;
}

#profileWf .profile-info-container a {
    float: none;
}


.ns-1000 #p-logo a { background-image: url(./.../wiki_resources/magic_intuition_logo.png) !important; }
.ns-1000 #content, .ns-3001 #content { background-color: #f5f5ff; }


span.actionable_button.search_action {
    display: none;
}


/* Correctif pour l'editeur visuel dans le formulaire */
.mw-parser-output table {
    border-collapse: inherit;
}



body.rootpage-Wiki.lafabriquedesmobilites.fr .mw-body {
    padding: 0;
    margin: 0;
}

body.page-Wiki.lafabriquedesmobilites.fr > .container, body.mw-special-WfExplore > .container, body.page-Event > .container {
    max-width: none;
    padding: 0;
}