« MediaWiki:Common.css » : différence entre les versions
De fablabo
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(22 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
/* -------- Import du style de l'ancien thème : -------- */ | |||
@font-face { | @font-face { | ||
font-family: VagRounded; | font-family: VagRounded; | ||
src: url( | src: url(/skins/chameleon/assets/fonts/vagrounded.ttf); | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: Tampon; | font-family: Tampon; | ||
src: url( | src: url(/skins/chameleon/assets/fonts/tampon.ttf); | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: Lato; | font-family: Lato; | ||
src: url( | src: url(/skins/chameleon/assets/fonts/Lato-Regular.ttf); | ||
} | } | ||
Ligne 154 : | Ligne 155 : | ||
display: inline-block; | display: inline-block; | ||
text-align: left; | text-align: left; | ||
min-width: | min-width: 100% | ||
} | } | ||
Ligne 233 : | Ligne 234 : | ||
} | } | ||
#bodyContent div.vf-cartouche-infos-donnee | #bodyContent div.vf-cartouche-infos-donnee a,#bodyContent div.vf-cartouche-infos-donnee-inline p a { | ||
color: #fcce15; | color: #fcce15; | ||
margin-left: 0.5em; | margin-left: 0.5em; | ||
Ligne 272 : | Ligne 273 : | ||
} | } | ||
* a,#bodyContent a.external,div#mw-panel div.portal div.body ul li a,.mw-body a.extiw,.mw-body a.extiw:active,div.menu ul li a,div.menu ul li a:active { | * a, | ||
#bodyContent a.external, | |||
div#mw-panel div.portal div.body ul li a, | |||
.mw-body a.extiw, | |||
.mw-body a.extiw:active, | |||
div.menu ul li a, | |||
div.menu ul li a:active, | |||
.navbar-nav .nav-item .nav-link, | |||
.navbar-nav .mw-list-item .nav-link { | |||
outline: 0; | outline: 0; | ||
color: #e5a308 | color: #e5a308 | ||
} | |||
.navbar-nav a::before { | |||
color: #e5a308; | |||
} | |||
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, | |||
#pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { | |||
opacity: 1; | |||
} | } | ||
Ligne 286 : | Ligne 303 : | ||
} | } | ||
.srf-container a,#toc a,div#mw-panel div.portal div.body ul li a { | /*.srf-container a,#toc a,div#mw-panel div.portal div.body ul li a { | ||
outline: 0; | outline: 0; | ||
color: #373741 | color: #373741 | ||
Ligne 294 : | Ligne 311 : | ||
outline: 0; | outline: 0; | ||
color: #42424e | color: #42424e | ||
} | }*/ | ||
* a.new { | * a.new { | ||
Ligne 303 : | Ligne 320 : | ||
background-position: center right; | background-position: center right; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/lien_externe.png?fd15d); | ||
background-image: -webkit-linear-gradient(transparent,transparent),url( | background-image: -webkit-linear-gradient(transparent,transparent),url(/skins/chameleon/assets/images/lien_externe.png?fd15d); | ||
/* Ancien lien : | /* Ancien lien : /skins/VectorFablabo/resources/images/ */ | ||
background-image: linear-gradient(transparent,transparent),url(linear-gradient(transparent,transparent),url( | background-image: linear-gradient(transparent,transparent),url(linear-gradient(transparent,transparent),url(/skins/chameleon/assets/images/lien_externe.png?fd15d); | ||
/* Ancien lien : | /* Ancien lien : /skins/VectorFablabo/resources/images/ */ | ||
padding-right: 18px | padding-right: 18px | ||
} | } | ||
/* -------- Affichage responsive de la page d'accueil -------- */ | |||
div.vf-liens-machine,div.vf-liens-accueil { | div.vf-liens-machine,div.vf-liens-accueil { | ||
display: flex; | display: flex; | ||
Ligne 351 : | Ligne 371 : | ||
height: 100%; | height: 100%; | ||
background-color: #333333; | background-color: #333333; | ||
border-radius: | border-radius: 10px; | ||
transition: .2s; | transition: .2s; | ||
text-decoration: none | text-decoration: none | ||
Ligne 371 : | Ligne 391 : | ||
padding-bottom: 0.2em | padding-bottom: 0.2em | ||
} | } | ||
#mw-mf-viewport #content h1 { | #mw-mf-viewport #content h1 { | ||
Ligne 387 : | Ligne 409 : | ||
width: 32%px; | width: 32%px; | ||
height: 157px | height: 157px | ||
} | } | ||
Ligne 460 : | Ligne 460 : | ||
top: 0px; | top: 0px; | ||
min-height: 200px; | min-height: 200px; | ||
width: -webkit-fill-available | height: auto; | ||
width: -webkit-fill-available; | |||
width: -moz-available; | |||
width: fill-available; | |||
} | } | ||
Ligne 524 : | Ligne 527 : | ||
div.vf-etape-titre.collapsed { | div.vf-etape-titre.collapsed { | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/fleche-menu-ferme-h2.png?864ce) | ||
} | } | ||
div.vf-etape-titre.expanded { | div.vf-etape-titre.expanded { | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/fleche-menu-ouvert-h2.png?b70f7) | ||
} | } | ||
Ligne 584 : | Ligne 587 : | ||
} | } | ||
nav ul li:hover a { | /* nav ul li:hover a { | ||
border-left: solid 12px #fcce15 | border-left: solid 12px #fcce15 | ||
} | } */ | ||
div#vf-share-section { | div#vf-share-section { | ||
Ligne 611 : | Ligne 614 : | ||
height: 25px; | height: 25px; | ||
padding-left: 10px; | padding-left: 10px; | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/partager.png?520df); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: left top | background-position: left top | ||
Ligne 628 : | Ligne 631 : | ||
#vf-share-list a.vf-share-fb { | #vf-share-list a.vf-share-fb { | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/fb.png?e1967) | ||
} | } | ||
#vf-share-list a.vf-share-tw { | #vf-share-list a.vf-share-tw { | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/tw.png?b7d2f) | ||
} | } | ||
#vf-share-list a.vf-share-pi { | #vf-share-list a.vf-share-pi { | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/pi.png?950ab) | ||
} | } | ||
#vf-share-list a.vf-share-tb { | #vf-share-list a.vf-share-tb { | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/tb.png?44165) | ||
} | } | ||
#vf-share-list a.vf-share-co { | #vf-share-list a.vf-share-co { | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/co.png?36dcb) | ||
} | } | ||
Ligne 678 : | Ligne 681 : | ||
height: 50%; | height: 50%; | ||
width: 50px; | width: 50px; | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/fleche-avant.png?ea541); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
top: 45%; | top: 45%; | ||
Ligne 689 : | Ligne 692 : | ||
height: 50%; | height: 50%; | ||
width: 50px; | width: 50px; | ||
background-image: url( | background-image: url(/skins/VectorFablabo/resources/images/fleche-apres.png?c37b1); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
top: 45%; | top: 45%; | ||
Ligne 704 : | Ligne 707 : | ||
color: #fcce15 | color: #fcce15 | ||
} | } | ||
@media (min-width: 768px) { | |||
.navbar-expand-md .navbar-nav { | |||
width: 100%; | |||
justify-content: space-around; | |||
} | |||
} | |||
/* -------- Import des tampons de dangerosité et ajout des couleurs -------- */ | |||
span#vf-tampon { | span#vf-tampon { | ||
Ligne 720 : | Ligne 732 : | ||
.vf-danger-pas span#vf-tampon { | .vf-danger-pas span#vf-tampon { | ||
color: | color: #4fb337 !important; | ||
} | } | ||
.vf-danger-peu span#vf-tampon { | .vf-danger-peu span#vf-tampon { | ||
color: | color: #8b942a !important; | ||
} | } | ||
.vf-danger-assez span#vf-tampon { | .vf-danger-assez span#vf-tampon { | ||
color: | color: #cf8714 !important; | ||
} | |||
.vf-danger-tres span#vf-tampon { | |||
color: #cf1414 !important; | |||
} | |||
/* | |||
{'pas':'#4fb337', | |||
'peu':'#8b942a', | |||
'assez':'#cf8714', | |||
'très':'#cf1414'} | |||
*/ | |||
/* -------- Pas de titre sur la page d'accueil -------- */ | |||
.rootpage-Accueil #firstHeading { | |||
display: none; | |||
} | |||
.rootpage-Accueil #content { | |||
padding-top: 2rem; | |||
} | |||
/* -------- Affichage responsive des vignettes -------- */ | |||
.vf-liste-vignettes { | |||
overflow: auto; | |||
display: grid; | |||
grid-template-columns: repeat(3, 32%); | |||
grid-gap: 8px 2% | |||
} | } | ||
@media ( | @media (max-width: 992px) { | ||
. | .vf-liste-vignettes { | ||
grid-template-columns: repeat(2, 49%); | |||
justify-content: | grid-gap: 4px 1.33% | ||
} | |||
} | |||
@media (max-width: 768px) { | |||
.vf-liste-vignettes { | |||
grid-template-columns: 90%; | |||
grid-gap: 1rem; | |||
justify-content: center | |||
} | } | ||
} | |||
/* -------- Affichage des champs du formulaire -------- */ | |||
.vf-form-entry { | |||
border-bottom: 1px solid lightgray; | |||
margin-bottom: 1rem; | |||
} | |||
.vf-form-entry-title { | |||
font-size: 1.1rem; | |||
font-weight: bold; | |||
} | |||
.vf-form-entry-title span { | |||
font-style: italic; | |||
font-size: 1rem; | |||
font-weight: normal; | |||
} | |||
/* -------- Menu -------- */ | |||
.flex-fill.navContainer.container, .flex-fill.navContainer.container div, .flex-fill.navContainer.container nav { | |||
background: #e5e5e5 !important; | |||
} | |||
.flex-fill.navContainer.container div.navbar-nav { | |||
flex-wrap: nowrap !important; | |||
} | |||
.p-navbar.collapsible .navbar-collapse.show { | |||
display: flex; | |||
position: relative; | |||
width: 100%; | |||
top: 10px; | |||
left: 0; | |||
border-radius: 0 0 6px 6px; | |||
border: 1px solid rgba(0, 0, 0, 0.15); | |||
border-top: none; | |||
z-index: 100; | |||
} | |||
nav#mw-navigation { | |||
height: 40px !important; | |||
padding-top: 6px; | |||
} | |||
/* -------- Liens -------- */ | |||
.navbar-light .navbar-nav .nav-link:hover, .p-navbar .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:hover, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:hover, .p-navbar .navbar-nav .navbar-tool > a:hover, .navbar-light .navbar-nav .nav-link:focus, .p-navbar .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:focus, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:focus, .p-navbar .navbar-nav .navbar-tool > a:focus, a:hover { | |||
color: #e5a308; | |||
text-decoration: underline; | |||
} | } |
Dernière version du 16 avril 2025 à 11:51
/* -------- Import du style de l'ancien thème : -------- */
@font-face {
font-family: VagRounded;
src: url(/skins/chameleon/assets/fonts/vagrounded.ttf);
}
@font-face {
font-family: Tampon;
src: url(/skins/chameleon/assets/fonts/tampon.ttf);
}
@font-face {
font-family: Lato;
src: url(/skins/chameleon/assets/fonts/Lato-Regular.ttf);
}
h1 {
border-bottom: 1.5px solid #373741
}
#content {
background-color: white
}
/* Commenté car problème sur Chameleon
#content h1,#content h2,#content h3,#content h4,#content h5,#content h6 {
clear: both
} */
#content h1.firstHeading,#content h1 span,#content h2 span,#content h3 span,#content h4 span,#content h5 span {
color: #373741;
font-family: VagRounded, Arial
}
#content h1.firstHeading {
background-color: #fcce15;
padding: 0 4px;
border-bottom: 1.5px solid #373741
}
#content .mw-body h1 {
border-bottom: 1.5px solid #373741
}
#content h1 span.mw-headline {
text-transform: uppercase;
font-family: VagRounded, Arial;
font-size: 2rem;
font-weight: 900;
background-color: #fcce15;
width: 100%;
display: inline-block;
margin-bottom: 0.25em
}
#content h2 {
border-bottom: 1.5px solid #373741
}
#content h2 span.mw-headline {
font-size: 1.5rem;
font-weight: 900;
background-color: #fcce15
}
#content h3 span.mw-headline {
font-size: 1.4rem;
background-color: #fcce15;
text-decoration: underline
}
#content h4 span.mw-headline {
font-size: 1.3rem;
background-color: #ffe26e
}
#content h5 span.mw-headline {
font-size: 1.2rem;
background-color: #fff5cd
}
#content div.gallerytext p {
line-height: 1.1rem;
font-style: italic
}
div#content h2 {
margin-top: 1.5rem
}
table.documentation {
border-spacing: 0px;
border-collapse: collapse;
border: 1px solid black
}
table.documentation tr td {
border: 1px solid black
}
div.portal h3 {
background-size: auto auto
}
h1 span {
font-size: 2rem
}
.mw-body h1 {
font-size: 2rem
}
.mw-editsection-bracket {
font-size: small
}
tbody tr td.enteteLiensAccueil {
background-color: red
}
span#vf-tampon {
font-family: tampon,monospace,Courier;
color: #b00000;
font-weight: bolder;
font-size: 1.3rem;
display: inline-block;
position: relative;
background-color: white;
opacity: 0.8;
float: right
}
div#vf-cartouche {
margin-top: 1.5rem;
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: 100%
}
#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.5rem;
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 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
}
ul {
list-style-type: disc;
list-style-image: none;
list-style-position: inside
}
* a,
#bodyContent a.external,
div#mw-panel div.portal div.body ul li a,
.mw-body a.extiw,
.mw-body a.extiw:active,
div.menu ul li a,
div.menu ul li a:active,
.navbar-nav .nav-item .nav-link,
.navbar-nav .mw-list-item .nav-link {
outline: 0;
color: #e5a308
}
.navbar-nav a::before {
color: #e5a308;
}
#pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
#pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {
opacity: 1;
}
* a:visited,#bodyContent a.external:visited,div#mw-panel div.portal div.body ul li a:visited,.mw-body a.extiw:visited,div.menu ul li a:visited {
outline: 0;
color: #e5a308
}
#mw-navigation #mw-head a {
color: #fcce15
}
/*.srf-container a,#toc a,div#mw-panel div.portal div.body ul li a {
outline: 0;
color: #373741
}
.srf-container a:visited,#toc a:visited,div#mw-panel div.portal div.body ul li a:visited {
outline: 0;
color: #42424e
}*/
* a.new {
color: #c20000
}
#content .external {
background-position: center right;
background-repeat: no-repeat;
background-image: url(/skins/VectorFablabo/resources/images/lien_externe.png?fd15d);
background-image: -webkit-linear-gradient(transparent,transparent),url(/skins/chameleon/assets/images/lien_externe.png?fd15d);
/* Ancien lien : /skins/VectorFablabo/resources/images/ */
background-image: linear-gradient(transparent,transparent),url(linear-gradient(transparent,transparent),url(/skins/chameleon/assets/images/lien_externe.png?fd15d);
/* Ancien lien : /skins/VectorFablabo/resources/images/ */
padding-right: 18px
}
/* -------- Affichage responsive de la page d'accueil -------- */
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 auto 14px;
width: 24%;
min-width: 200px;
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.5rem;
padding: 0.6em 0.4em 0.4em;
width: 100%;
height: 100%;
background-color: #333333;
border-radius: 10px;
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.4rem;
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-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: 100%;
height: 200px;
/* background-color: #fcce15; */
color: #373741;
overflow: hidden;
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;
min-height: 200px;
height: auto;
width: -webkit-fill-available;
width: -moz-available;
width: fill-available;
}
div.vf-vignette .vf-vignette-titre {
color: black;
width: 100%;
display: block;
padding-bottom: 1em;
font-weight: bold;
font-size: 1.2em;
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: 100%;
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(/skins/VectorFablabo/resources/images/fleche-menu-ferme-h2.png?864ce)
}
div.vf-etape-titre.expanded {
background-image: url(/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(/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(/skins/VectorFablabo/resources/images/fb.png?e1967)
}
#vf-share-list a.vf-share-tw {
background-image: url(/skins/VectorFablabo/resources/images/tw.png?b7d2f)
}
#vf-share-list a.vf-share-pi {
background-image: url(/skins/VectorFablabo/resources/images/pi.png?950ab)
}
#vf-share-list a.vf-share-tb {
background-image: url(/skins/VectorFablabo/resources/images/tb.png?44165)
}
#vf-share-list a.vf-share-co {
background-image: url(/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(/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(/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
}
@media (min-width: 768px) {
.navbar-expand-md .navbar-nav {
width: 100%;
justify-content: space-around;
}
}
/* -------- Import des tampons de dangerosité et ajout des couleurs -------- */
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;
}
.vf-danger-pas span#vf-tampon {
color: #4fb337 !important;
}
.vf-danger-peu span#vf-tampon {
color: #8b942a !important;
}
.vf-danger-assez span#vf-tampon {
color: #cf8714 !important;
}
.vf-danger-tres span#vf-tampon {
color: #cf1414 !important;
}
/*
{'pas':'#4fb337',
'peu':'#8b942a',
'assez':'#cf8714',
'très':'#cf1414'}
*/
/* -------- Pas de titre sur la page d'accueil -------- */
.rootpage-Accueil #firstHeading {
display: none;
}
.rootpage-Accueil #content {
padding-top: 2rem;
}
/* -------- Affichage responsive des vignettes -------- */
.vf-liste-vignettes {
overflow: auto;
display: grid;
grid-template-columns: repeat(3, 32%);
grid-gap: 8px 2%
}
@media (max-width: 992px) {
.vf-liste-vignettes {
grid-template-columns: repeat(2, 49%);
grid-gap: 4px 1.33%
}
}
@media (max-width: 768px) {
.vf-liste-vignettes {
grid-template-columns: 90%;
grid-gap: 1rem;
justify-content: center
}
}
/* -------- Affichage des champs du formulaire -------- */
.vf-form-entry {
border-bottom: 1px solid lightgray;
margin-bottom: 1rem;
}
.vf-form-entry-title {
font-size: 1.1rem;
font-weight: bold;
}
.vf-form-entry-title span {
font-style: italic;
font-size: 1rem;
font-weight: normal;
}
/* -------- Menu -------- */
.flex-fill.navContainer.container, .flex-fill.navContainer.container div, .flex-fill.navContainer.container nav {
background: #e5e5e5 !important;
}
.flex-fill.navContainer.container div.navbar-nav {
flex-wrap: nowrap !important;
}
.p-navbar.collapsible .navbar-collapse.show {
display: flex;
position: relative;
width: 100%;
top: 10px;
left: 0;
border-radius: 0 0 6px 6px;
border: 1px solid rgba(0, 0, 0, 0.15);
border-top: none;
z-index: 100;
}
nav#mw-navigation {
height: 40px !important;
padding-top: 6px;
}
/* -------- Liens -------- */
.navbar-light .navbar-nav .nav-link:hover, .p-navbar .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:hover, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:hover, .p-navbar .navbar-nav .navbar-tool > a:hover, .navbar-light .navbar-nav .nav-link:focus, .p-navbar .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .p-navbar .navbar-tool > a:focus, .p-navbar .navbar-light .navbar-nav .navbar-tool > a:focus, .p-navbar .navbar-nav .navbar-tool > a:focus, a:hover {
color: #e5a308;
text-decoration: underline;
}