MediaWiki:Common.css

De fablabo
Version datée du 26 novembre 2024 à 12:35 par Mathis (Wiki Valley) (discussion | contributions) (Modification du code importé)
Aller à :navigation, rechercher

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
span#vf-tampon {
    font-family: tampon,monospace,Courier;
    color: #b00000;
    font-weight: bolder;
    font-size: 1.3em;
    display: inline-block;
    position: relative;
    background-color: white;
    opacity: 0.8;
    float: right
}

div#vf-cartouche {
    margin-top: 1.5em;
    float: none;
    text-align: right;
    padding-top: 0px;
    width: 100%;
    position: relative;
    margin-bottom: -20px;
    text-align: left;
    vertical-align: top;
    min-height: 100%
}

div#vf-cartouche div {
    display: inline-block
}

div#vf-cartouche div.floatright {
    padding-left: 0px;
    margin-left: 0px
}

#content div#vf-cartouche div#infos {
    display: inline-block;
    text-align: left;
    min-width: 50%
}

#content div#vf-cartouche div#infos div#vf-cartouche-vignette {
    float: left;
    display: inline-block;
    width: 50%
}

#content div#vf-cartouche-vignette p {
    margin: 0
}

#content div#vf-cartouche div#infos div#vf-cartouche-table {
    display: inline-block;
    width: 50%
}

#content div.vf-cartouche-description {
    display: inline-block;
    font-size: 1.5em;
    font-family: vagrounded,Arial;
    max-width: 100%;
    margin-bottom: 1em;
    float: left
}

#content div.vf-cartouche-description p {
    display: inline;
    background-color: #fcce15
}

#content div.vf-cartouche-description a {
    padding: 0.2em;
    padding-top: 0.3em;
    margin-left: 0.5em;
    background-color: #333333
}

#mw-mf-viewport #content div#vf-cartouche div#infos {
    display: block
}

#mw-mf-viewport #content div#vf-cartouche div#infos div#vf-cartouche-vignette {
    float: left;
    display: block;
    width: 100%
}

#mw-mf-viewport #content div#vf-cartouche-vignette p {
    margin: 0
}

#mw-mf-viewport #content div#vf-cartouche div#infos div#vf-cartouche-table {
    display: block;
    width: 100%
}

#mw-mf-viewport #content div.vf-cartouche-description {
    display: block;
    width: 100%
}

div.vf-cartouche-infos {
    margin-top: 0.2em;
    width: 100%;
    border-bottom: 1px solid #aeaecd
}

div.vf-cartouche-infos p {
    margin: 0
}

div.vf-cartouche-infos-titre p {
    font-weight: bold;
    background-color: #fcce15;
    margin-bottom: 0.2em
}

#bodyContent div.vf-cartouche-infos-donnee p a,#bodyContent div.vf-cartouche-infos-donnee-inline p a {
    color: #fcce15;
    margin-left: 0.5em;
    margin-bottom: 0.2em;
    padding: 0.2em;
    background-image: none;
    background-color: #333333
}

div.vf-cartouche-infos-donnee p {
    text-align: right
}

div.vf-cartouche-infos-donnee {
    float: right
}

div.vf-cartouche-infos-donnee-inline p {
    float: none
}

div#vf-cartouche .vf-cartouche-inline {
    line-height: 1.1em;
    clear: left;
    display: block
}

div#vf-cartouche div#sommaire {
    display: inline-block;
    text-align: left;
    float: right
}

div.vf-liens-machine,div.vf-liens-accueil {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap
}

div.vf-liens-machine .vf-lien-machine,div.vf-liens-accueil .vf-lien-machine {
    display: flex;
    margin: 14px auto;
    width: 24%;
    text-align: center;
    vertical-align: middle;
    height: 5em;
    line-height: normal;
    min-width: 200px;
}

div.vf-liens-machine .vf-lien-accueil,div.vf-liens-accueil .vf-lien-accueil {
    display: flex;
    margin: auto;
    width: 24%;
    text-align: center;
    vertical-align: middle;
    height: 105px;
    line-height: normal
}

div.vf-liens-machine a,div.vf-liens-accueil a {
    color: #fcce15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: vagrounded,arial;
    font-size: 1.5em;
    padding: 0.6em 0.4em 0.4em;
    width: 100%;
    height: 100%;
    background-color: #333333;
    border-radius: 4px;
    transition: .2s;
    text-decoration: none
}

div.vf-liens-machine a:hover, div.vf-liens-accueil a:hover {
    transform: scale(1.03)
}

#mw-mf-viewport #content .vf-liens-machine,#mw-mf-viewport #content .vf-liens-accueil {
    display: block
}

#mw-mf-viewport #content .vf-lien-machine,#mw-mf-viewport #content .vf-lien-accueil {
    display: block;
    margin-bottom: 0.2em;
    height: auto;
    width: 100%;
    padding-bottom: 0.2em
}

#mw-mf-viewport #content h1 {
    text-transform: uppercase;
    font-family: vagrounded,Arial;
    font-size: 2.4em;
    font-weight: 900;
    background-color: #fcce15;
    width: 100%;
    display: inline-block;
    margin-bottom: 0.25em
}

#mw-mf-viewport #content div.vf-vignette {
    float: none;
    width: 32%px;
    height: 157px
}

.vf-liste-vignettes {
    overflow: auto
}

.vf-vignette mark {
    background-color: #fcce15;
    color: black
}

.vf-vignette-description {
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s
}

div.vf-vignette {
    position: relative;
    float: left;
    display: block;
    width: 290px;
    height: 200px;
    background-color: #fcce15;
    color: #373741;
    overflow: hidden;
    margin: 0.2em;
    background-size: 100% 100%;
    font-family: vagrounded,Arial;
    font-size: 1.1em
}

/* Valeur mal entrée dans VF de base, commenté car inutile et inutilisée visiblement
.vf-liste-vignettes-3 div.vf-vignette {
    width: 32%px
} */

.vf-liste-vignettes-2 div.vf-vignette {
    width: 49%;
    height: 250px
}

div.vf-vignette p {
    position: relative;
    margin: 0
}

div.vf-vignette a {
    width: 250px
}

div.vf-vignette img {
    position: relative;
    overflow: hidden;
    top: 0px
}

div.vf-vignette .vf-vignette-titre {
    color: black;
    width: 240px;
    display: block;
    padding: 5px;
    padding-bottom: 1em;
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase
}

div.vf-vignette span.vf-vignette-titre {
    background-color: #fcce15
}

div.vf-vignette-informations {
    position: absolute;
    color: black;
    font-weight: bold;
    width: 240px;
    top: 0px;
    left: 0px;
    display: block;
    padding: 5px;
    padding-bottom: 2em;
    font-size: 1em;
    pointer-events: none
}

div.vf-vignette,div.vf-vignette:hover {
    text-decoration: none
}

span.vf-vignette-description {
    display: none;
    font-size: 0.8em;
    text-transform: none;
    padding-bottom: 1em;
    min-height: 100px;
    color: black;
    background-color: transparent
}

span.vf-vignette-description:first-letter {
    text-transform: capitalize
}

div.vf-vignette:hover div.vf-vignette-description {
    opacity: 1
}

span.smw-template-furtherresults {
    display: block
}

div.vf-etape-titre {
    cursor: pointer;
    background-position: center left;
    background-repeat: no-repeat
}

div.vf-etape-titre.collapsed {
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/fleche-menu-ferme-h2.png?864ce)
}

div.vf-etape-titre.expanded {
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/fleche-menu-ouvert-h2.png?b70f7)
}

div.vf-etape-content {
    transition: 0.8s background-position linear
}

#content div.vf-etapes p {
    line-height: 0.5em
}

#content div.vf-etapes div.vf-etape p {
    line-height: auto
}

#content .spoilers {
    background-color: #333333
}

#content .spoilers-button {
    color: #fcce15;
    border: none;
    padding: 3px 10px;
    background: none;
    height: 2.5em
}

#content .spoilers-body {
    background-color: #EEE
}

#content .toolbar,#content .wikiEditor-ui-toolbar,#content .tabs {
    background-image: none;
    background-color: #ffffff
}

#content #msupload-div {
    background-color: #42424e
}

#content #msupload-list .file {
    background-color: #ffffff
}

#content #msupload-list .green {
    background-color: #a8dba8
}

#content #msupload-bottom {
    height: auto
}

#mw-mf-page-left {
    background-color: #42424e
}

nav ul li:hover a {
    border-left: solid 12px #fcce15
}

div#vf-share-section {
    font-size: 0.75em;
    position: relative;
    float: right;
    margin-left: 10px;
    width: 25px
}

div#vf-share-section a.vf-share-item {
    width: 100%;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 35px;
    background-repeat: no-repeat;
    background-position: left center;
    background-color: #333333
}

#vf-share-section #vf-share-button {
    width: 35px;
    height: 25px;
    padding-left: 10px;
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/partager.png?520df);
    background-repeat: no-repeat;
    background-position: left top
}

#vf-share-list {
    background-color: #333333;
    position: relative;
    float: none;
    opacity: 0;
    display: none;
    transition: all 0.5s;
    width: 9em;
    margin-top: 5px
}

#vf-share-list a.vf-share-fb {
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/fb.png?e1967)
}

#vf-share-list a.vf-share-tw {
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/tw.png?b7d2f)
}

#vf-share-list a.vf-share-pi {
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/pi.png?950ab)
}

#vf-share-list a.vf-share-tb {
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/tb.png?44165)
}

#vf-share-list a.vf-share-co {
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/co.png?36dcb)
}

#vf-share-section:hover #vf-share-list {
    display: block;
    opacity: 1
}

.vf-fullscreen-img {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(1,1,1,0.5);
    display: -moz-box;
    -moz-box-pack: center;
    -moz-box-align: center;
    display: -webkit-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    display: box;
    box-pack: center;
    box-align: center
}

.vf-fullscreen-img img {
    width: 100%
}

.vf-button-before {
    position: fixed;
    height: 50%;
    width: 50px;
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/fleche-avant.png?ea541);
    background-repeat: no-repeat;
    top: 45%;
    left: 10px;
    cursor: pointer
}

.vf-button-after {
    position: fixed;
    height: 50%;
    width: 50px;
    background-image: url(/mediawiki/skins/VectorFablabo/resources/images/fleche-apres.png?c37b1);
    background-repeat: no-repeat;
    top: 45%;
    right: 10px;
    cursor: pointer
}

.vf-fullscreen-caption {
    position: fixed;
    top: 10px;
    margin-top: 15px;
    font-size: 120%;
    font-weight: bold;
    color: #fcce15
}