« MediaWiki:Chameleon.css » : différence entre les versions
De Wiki Campus Cyber
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(52 versions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
/**************************/ | /**************************/ | ||
Ligne 15 : | Ligne 4 : | ||
/**************************/ | /**************************/ | ||
body { | body { | ||
background-image: url( | background-image: url('/images/c/cf/Logo_back_campus.png'); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: right bottom; | background-position: right bottom; | ||
Ligne 42 : | Ligne 31 : | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* Margin top sur la .row en dessous du navbar container */ | /* Margin top sur la .row en dessous du navbar container */ | ||
Ligne 59 : | Ligne 42 : | ||
} | } | ||
.p-navbar .navbar-brand img { | |||
height: 2rem; | |||
margin: 1rem 1.5rem; | |||
} | } | ||
Ligne 99 : | Ligne 60 : | ||
.p-navbar.collapsible .navbar-nav > div:not(:last-child) { | .p-navbar.collapsible .navbar-nav > div:not(:last-child) { | ||
width: 100%; | width: 100%; | ||
text-align: center; | |||
} | |||
/* navbar div */ | |||
.p-navbar.collapsible .navbar-nav > div:nth-of-type(6) { | |||
width: 10%; | |||
text-align: center; | text-align: center; | ||
} | } | ||
Ligne 130 : | Ligne 97 : | ||
/* PersonalToolsIcon */ | /* PersonalToolsIcon */ | ||
a.navbar-userloggedin:before, | a.navbar-userloggedin:before, | ||
a.navbar-usernotloggedin:before{ | a.navbar-usernotloggedin:before{ | ||
margin-right: 0; | margin-right: 0; | ||
color: var(--white); | color: var(--white); | ||
width:100%; | |||
} | |||
a.navbar-usernotloggedin { | |||
width:100%; | |||
} | } | ||
.navbar-tools.navbar-nav { | .navbar-tools.navbar-nav { | ||
background-color: var(--red); | background-color: var(--red); | ||
} | |||
.navbar-tools .navbar-tool.dropdown { | |||
width:100%; | |||
} | } | ||
.navbar-tools.navbar-nav:hover { | .navbar-tools.navbar-nav:hover { | ||
Ligne 153 : | Ligne 129 : | ||
text-align: center; | text-align: center; | ||
} | } | ||
.dropdown-menu:not(.toolboxnoflatten .dropdown-menu) { | .dropdown-menu:not(.toolboxnoflatten .dropdown-menu) { | ||
Ligne 159 : | Ligne 136 : | ||
margin-top: 0; | margin-top: 0; | ||
padding: 0; | padding: 0; | ||
box-shadow: 2px 5px 8px #6f6f6fba; | /* box-shadow: 2px 5px 8px #6f6f6fba;*/ | ||
box-shadow: none; | |||
transition: .25s; | transition: .25s; | ||
} | } | ||
.dropdown-toggle::after { | .dropdown-toggle::after { | ||
border:none; | border:none; | ||
Ligne 179 : | Ligne 158 : | ||
} | } | ||
.p-navbar.collapsible .navbar-nav > div:last-child { | .p-navbar.collapsible .navbar-nav > div:last-child { | ||
/** width: 20%; **/ | |||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
Ligne 228 : | Ligne 207 : | ||
/*************************************/ | /*************************************/ | ||
/* ********tables | /* ********tables / dashboards ******** */ | ||
/*************************************/ | /*************************************/ | ||
/* Dashboards | /*Dashboards */ | ||
.wikitable { | .wikitable { | ||
border: 8px solid var(--blue); | border: 8px solid var(--blue); | ||
Ligne 258 : | Ligne 237 : | ||
.skin-chameleon table th { | .skin-chameleon table th { | ||
text-align: left; | text-align: left; | ||
} | |||
*/ | .infobox .shortDescription { | ||
text-align: center; | |||
font-weight: normal; | |||
} | |||
/*************************************/ | |||
/* ******** cards & recap & article .... ******** */ | |||
/*************************************/ | |||
.tocrecap .toc { | |||
max-height: 150px !important; | |||
} | |||
.recap-edito { | |||
background: #8EB1C7; | |||
border-radius: 20px; | |||
padding: 1rem; | |||
margin-bottom: 0.5rem; | |||
} | |||
.recap-gtci { | |||
background: rgb(184, 231, 231, 0.45); | |||
border-radius: 20px; | |||
padding: 1rem; | |||
margin-bottom: 0.5rem; | |||
} | |||
.recap-proj { | |||
background: rgb(201, 224, 151, 0.45); | |||
border-radius: 20px; | |||
padding: 1rem; | |||
margin-bottom: 0.5rem; | |||
} | |||
.recap-evt { | |||
background: rgb(127, 192, 183, 0.45); | |||
border-radius: 20px; | |||
padding: 1rem; | |||
margin-bottom: 0.5rem; | |||
} | |||
.recap-evt h2, .recap-proj h2, .recap-gtci h2, .recap-edito h2 { | |||
margin-top: 0!important; | |||
padding-top: 0!important; | |||
} | |||
Ligne 276 : | Ligne 295 : | ||
/* HomePage */ | /* HomePage */ | ||
.class-item-content h3 a { | |||
font-weight: lighter; | |||
} | |||
.rss-feed { | .rss-feed { | ||
margin: 50px 0 2rem; | margin: 50px 0 2rem; | ||
} | } | ||
# | .disclaimerhome { | ||
margin-top : | text-align: center; | ||
background-color: #f8f9fa; | |||
border: 1px solid #c1272d; | |||
} | |||
.studio-presentation { | |||
margin-top : 60%; | |||
} | |||
.insider-home { | |||
margin: auto; | |||
} | |||
.player-home { | |||
text-align: center; | |||
} | } | ||
/*************************************/ | |||
/* ************* FOOTER ************ */ | |||
/*************************************/ | |||
.footer .p-navbar { background: var(--blue); } | |||
.footer .p-navbar .nav-item a { color: white; } | |||
.footer .p-navbar .toolboxnoflatten > a { color: white !important; } | |||
.footer .p-navbar .nav-item a:hover, | |||
.footer .p-navbar .nav-item a:focus { color: var(--red); } | |||
/* ***** FOOTER TOOLBOX ***** */ | |||
.toolboxnoflatten .nav-link { color: initial !important; } | |||
/*************************************/ | |||
/* ******** ADVANCED SEARCH ******** */ | |||
/*************************************/ | |||
.mw-advancedSearch-namespace-selection-header > .oo-ui-labelElement { | |||
float: none; | |||
margin: 0 0.5em 0.1em 0.5rem; | |||
border-bottom: 1px solid #a2a9b1; | |||
} | |||
/* needs to be ordered */ | |||
.toc h2 { | |||
font-weight: 500; | |||
} | |||
.smw-template-furtherresults a { | |||
box-shadow: none; | |||
} | |||
/*responsive */ | |||
@media (min-width: 768px) { | |||
.dropdown:hover .dropdown-menu { | |||
display: block; | |||
} | |||
.studio-presentation { | |||
margin-top : 23%; | |||
} | |||
.player-home { | |||
text-align: right; | |||
} | |||
.nav-item.dropdown:nth-of-type(5):hover .dropdown-menu { | |||
transform: translateX(-106px); | |||
} | |||
/* Full height navbar on desktop and tablette */ | |||
nav#mw-navigation.p-navbar { | |||
height: 70px; | |||
margin: 0 !important; | |||
} | |||
.p-navbar .navbar-brand img { | |||
height: 2rem; | |||
margin: 2rem 1.5rem; | |||
} | |||
.p-navbar .navbar-brand.p-logo { | |||
display: flex; | |||
align-items: center; | |||
} | |||
.p-navbar.collapsible .navbar-collapse, | |||
.p-navbar.collapsible .navbar-collapse .navbar-nav, | |||
.p-navbar.collapsible .navbar-collapse .navbar-nav .nav-item.dropdown, | |||
.p-navbar.collapsible .navbar-collapse .navbar-nav .nav-item.dropdown a.nav-link, | |||
.p-navbar.collapsible .navbar-nav > div:last-child { | |||
height: 100% !important; | |||
} | |||
.p-navbar.collapsible .navbar-collapse .navbar-nav .nav-item.dropdown a.nav-link { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
} | |||
/* ***** Bo4 TABLES ***** */ | |||
.table-responsive { display: table; } | |||
/* Supression du padding des enfants du navbar container */ | |||
nav#mw-navigation.p-navbar { | |||
padding-right: 0px; | |||
margin: 0 !important; | |||
width: 100%; | |||
} | |||
.infoboxActeur { | |||
margin-left: 0; | |||
} | |||
} | |||
@media (min-width:992px) { | |||
@media ( | /* ***** FOOTER TOOLBOX ***** */ | ||
/* Dropdown user */ | .nav-item.p-tb-dropdown.toolboxnoflatten { | ||
display: none; | |||
} | |||
} | |||
@media (max-width:992px) { | |||
#t-upload, #t-specialpages, #t-print, #t-permalink, #t-info, #t-cite, #t-recentchangeslinked, #t-smwbrowselink, | |||
#t-contributions, #t-log, #t-blockip, #t-userrights, #t-upload, #t-specialpages, #t-print, #t-permalink, #t-info, | |||
#t-smwbrowselink, .dropdown-menu #t-whatlinkshere { | |||
display: none; | |||
} | |||
.toolboxnoflatten #t-upload, .toolboxnoflatten #t-specialpages, .toolboxnoflatten #t-print, .toolboxnoflatten #t-permalink, | |||
.toolboxnoflatten #t-info, .toolboxnoflatten #t-cite, .toolboxnoflatten #t-recentchangeslinked, | |||
.toolboxnoflatten #t-smwbrowselink { | |||
display: block; | |||
} | |||
/* Dropdown user */ | |||
.p-navbar .navbar-nav .p-personal-tools.dropdown-menu { | .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { | ||
transform: translateX(-143px) !important; | transform: translateX(-143px) !important; | ||
Ligne 311 : | Ligne 452 : | ||
} | } | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
/* Mobile */ | |||
/* navbar container */ | /* navbar container */ | ||
.navbarRow.row { | .navbarRow.row { | ||
Ligne 318 : | Ligne 459 : | ||
position: absolute; | position: absolute; | ||
} | } | ||
.navbarRow.row > .col { padding: 0; } | .navbarRow.row > .col { | ||
nav#mw-navigation.p-navbar { width: 100%; } | padding: 0; | ||
} | |||
nav#mw-navigation.p-navbar { | |||
width: 100%; | |||
} | |||
/* Navbar Dropdown */ | /* Navbar Dropdown */ | ||
Ligne 351 : | Ligne 496 : | ||
overflow-wrap: break-word; | overflow-wrap: break-word; | ||
} | } | ||
/* Outils */ | /* Outils */ | ||
Ligne 372 : | Ligne 518 : | ||
} | } | ||
/**************************/ | /**************************/ | ||
Ligne 387 : | Ligne 527 : | ||
/**************************/ | /**************************/ | ||
.p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-80px); } | |||
@media (max-width: 1700px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-92px); } } | @media (max-width: 1700px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-92px); } } | ||
@media (max-width: 1600px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-95px); } } | @media (max-width: 1600px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-95px); } } | ||
Ligne 417 : | Ligne 557 : | ||
*/ | */ | ||
/* à ranger correctement */ | |||
infobox tbody { | |||
box-shadow: none; | |||
padding: 6px 10px; | |||
border-radius: 0; | |||
background: hsl(0deg 0% 98%); | |||
height: fit-content; | |||
min-width: 100%; | |||
justify-content: center; | |||
} | |||
@media (min-width: 768px) { | |||
.infoboxActeur { | |||
margin-left: 0!important; | |||
min-width: 80vw; | |||
} | |||
} | |||
.infobox { | |||
color: black; | |||
background: none; | |||
border: none; | |||
padding: 0; | |||
min-width: 100%; | |||
} | |||
.pageHeader { | |||
display: inline; | |||
} | |||
a[href].external { | |||
color: #228E9A; | |||
} | |||
a { | |||
color: #228E9A; | |||
} | |||
a[href].external:hover, a:hover { | |||
color: #28B4C4; | |||
} | |||
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited { | |||
color: #885053; | |||
} | |||
a:visited { | |||
color: #885053; | |||
} | |||
.itemContribute a, .smw-template-furtherresults a { | |||
color: white; | |||
} | |||
/********************** darkmode ***************************/ | |||
/***********************************************************/ | |||
.client-darkmode body { | |||
background-color: lightgrey; | |||
} | |||
.client-darkmode .homepage-banner, .client-darkmode .customFooter, .footer .p-navbar { | |||
color: black !important; | |||
background: rgb(217,241,250); | |||
background: linear-gradient(93deg, rgba(217,241,250,1) 0%, rgba(172,200,240,1) 100%); | |||
} | |||
.client-darkmode .rss-item { | |||
background: lightblue; | |||
} | |||
.client-darkmode .rss-feed .mw-parser-output .rss-item dd:last-child { | |||
background:cadetblue; | |||
color:black; | |||
} | |||
.client-darkmode div.langue_interface { | |||
background:cadetblue; | |||
} | |||
.client-darkmode .homepage-banner-content h1, .client-darkmode .customFooter div, .client-darkmode .customFooter a, .client-darkmode .footer .p-navbar .nav-item a { | |||
color: black!important; | |||
} | |||
. | .client-darkmode #mw-navigation.p-navbar a.nav-link { | ||
background-color: #acc8f0 ; | |||
color: black!important; | |||
} | |||
.client-darkmode .nav-item.dropdown:nth-of-type(5) > a, .client-darkmode div.langue_interface, .client-darkmode .navbar-tools.navbar-nav { | |||
background-color: cadetblue!important; | |||
} | |||
.client-darkmode .class-item-content h3 a, .client-darkmode .smw-template-furtherresults a, .client-darkmode .wikitable > * > tr > th { | |||
background-color: cadetblue; | |||
} | |||
. | .client-darkmode img { | ||
filter: invert(1) hue-rotate(180deg); | |||
} | |||
.client-darkmode .wikitable { | |||
border: 8px solid cadetblue; | |||
} | } | ||
.client-darkmode .class-item { | |||
background: hsl(0deg 0% 84%); | |||
} | } | ||
.client-darkmode .rss-feed .mw-parser-output .rss-item { | |||
background-color: lightblue | |||
} | |||
/* darkmode other states */ | |||
.client-darkmode a:visited { | |||
color: black; | |||
. | |||
} | } |
Dernière version du 9 juillet 2024 à 14:24
/**************************/ /* ***** BACKGROUND ***** */ /**************************/ body { background-image: url('/images/c/cf/Logo_back_campus.png'); background-repeat: no-repeat; background-position: right bottom; background-attachment: fixed; background-size: 30%; } /**************************/ /* ***** TOP NAVBAR ***** */ /**************************/ /* navbar container */ .navbarRow.row { position: absolute; top: 0; left: 0; width: 99.9vw; padding-left: 5px; z-index: 1000; } /* Supression du padding des enfants du navbar container */ .navbarRow.row > .col { padding: 0; } /* Margin top sur la .row en dessous du navbar container */ .navbarRow.row+.row { margin-top: 80px; } /* Navbar */ nav#mw-navigation.p-navbar { background-color: transparent; } .p-navbar .navbar-brand img { height: 2rem; margin: 1rem 1.5rem; } .p-navbar.collapsible .navbar-nav { width: 100%; } /* logo */ .p-navbar .navbar-brand.p-logo { height: 100%; padding-top: 0.3125rem; } /* navbar div */ .p-navbar.collapsible .navbar-nav > div:not(:last-child) { width: 100%; text-align: center; } /* navbar div */ .p-navbar.collapsible .navbar-nav > div:nth-of-type(6) { width: 10%; text-align: center; } /* links -> buttons */ #mw-navigation.p-navbar a.nav-link { background-color: var(--blue); color: var(--white) !important; transition: .25s; font-size: 1rem; } /* buttons :hover */ #mw-navigation.p-navbar .mw-list-item a.nav-link:hover, #mw-navigation.p-navbar .nav-item a.nav-link:hover { background-color: var(--blueHover); } .p-navbar .navbar-nav .dropdown-menu > div > a:not(.toolboxnoflatten a):last-child:first-child:hover{ background: var(--blue); } /* Link groupe de travail */ a.nav-link.n-Groupes-de-travail { white-space: nowrap; } /* EchoIcons */ ul.navbar-tools.echo-icons { display: none; } /* PersonalToolsIcon */ a.navbar-userloggedin:before, a.navbar-usernotloggedin:before{ margin-right: 0; color: var(--white); width:100%; } a.navbar-usernotloggedin { width:100%; } .navbar-tools.navbar-nav { background-color: var(--red); } .navbar-tools .navbar-tool.dropdown { width:100%; } .navbar-tools.navbar-nav:hover { background-color: var(--redHover); } div#pt-anonuserpage { color: var(--white); text-align: center; font-weight: bold; font-size: 1rem; } /* Dropdown menu */ .p-navbar.collapsible .navbar-nav .dropdown-menu { width: 100%; text-align: center; } .dropdown-menu:not(.toolboxnoflatten .dropdown-menu) { background: none; border: none; margin-top: 0; padding: 0; /* box-shadow: 2px 5px 8px #6f6f6fba;*/ box-shadow: none; transition: .25s; } .dropdown-toggle::after { border:none; } .dropdown-toggle { text-transform: uppercase; } /* Dropdown user */ .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { border-radius: 0; background: var(--red) !important; transform: translateX(-130px); } .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child { color: var(--white); } .p-navbar.collapsible .navbar-nav > div:last-child { /** width: 20%; **/ margin: 0; padding: 0; height: 40px; display: flex; align-items: center; justify-content: center; z-index: 100; } .p-navbar.collapsible .navbar-nav > div:last-child > div:not(.dropdown-menu), .p-navbar.collapsible .navbar-nav > div:last-child > div a { min-width: 30px; width: 100%; text-align: center; } .p-navbar .navbar-nav .dropdown-menu > div > a:not(.toolboxnoflatten a):last-child:first-child:hover { background: var(--redHover); color: var(--white); } /* Outils */ .nav-item.dropdown:nth-of-type(5) { width: 10% !important; } .nav-item.dropdown:nth-of-type(5) > a { background-color: var(--red)!important; font-size: 0px !important; } .nav-item.dropdown:nth-of-type(5):hover > a { background-color: var(--redHover)!important; } .nav-item.dropdown:nth-of-type(5) > a:before { content: "⚙️"; font-size: initial; margin-right: 0 !important; } .nav-item.dropdown:nth-of-type(5) > .dropdown-menu div a { background-color: var(--red) !important; } .nav-item.dropdown:nth-of-type(5) > .dropdown-menu div a:hover { background-color: var(--redHover) !important; } /*************************************/ /* ********tables / dashboards ******** */ /*************************************/ /*Dashboards */ .wikitable { border: 8px solid var(--blue); } .wikitable > * > tr > th { background-color: var(--blue); color: #F6F6F6; font-weight: 400; border: none; } .wikitable > * > tr > th a { color: #F6F6F6; } .wikitable > * > tr > td { border-right: none; border-left: none; } .wikitable > * > tr > th a:hover { color: var(--red); } .skin-chameleon table th { text-align: left; } .infobox .shortDescription { text-align: center; font-weight: normal; } /*************************************/ /* ******** cards & recap & article .... ******** */ /*************************************/ .tocrecap .toc { max-height: 150px !important; } .recap-edito { background: #8EB1C7; border-radius: 20px; padding: 1rem; margin-bottom: 0.5rem; } .recap-gtci { background: rgb(184, 231, 231, 0.45); border-radius: 20px; padding: 1rem; margin-bottom: 0.5rem; } .recap-proj { background: rgb(201, 224, 151, 0.45); border-radius: 20px; padding: 1rem; margin-bottom: 0.5rem; } .recap-evt { background: rgb(127, 192, 183, 0.45); border-radius: 20px; padding: 1rem; margin-bottom: 0.5rem; } .recap-evt h2, .recap-proj h2, .recap-gtci h2, .recap-edito h2 { margin-top: 0!important; padding-top: 0!important; } /*************************************/ /* ******** BANNER ******** */ /*************************************/ .homepage-banner-content h1 { text-transform: uppercase; } .homepage-banner-content h1 span span { color: var(--red); } /* HomePage */ .class-item-content h3 a { font-weight: lighter; } .rss-feed { margin: 50px 0 2rem; } .disclaimerhome { text-align: center; background-color: #f8f9fa; border: 1px solid #c1272d; } .studio-presentation { margin-top : 60%; } .insider-home { margin: auto; } .player-home { text-align: center; } /*************************************/ /* ************* FOOTER ************ */ /*************************************/ .footer .p-navbar { background: var(--blue); } .footer .p-navbar .nav-item a { color: white; } .footer .p-navbar .toolboxnoflatten > a { color: white !important; } .footer .p-navbar .nav-item a:hover, .footer .p-navbar .nav-item a:focus { color: var(--red); } /* ***** FOOTER TOOLBOX ***** */ .toolboxnoflatten .nav-link { color: initial !important; } /*************************************/ /* ******** ADVANCED SEARCH ******** */ /*************************************/ .mw-advancedSearch-namespace-selection-header > .oo-ui-labelElement { float: none; margin: 0 0.5em 0.1em 0.5rem; border-bottom: 1px solid #a2a9b1; } /* needs to be ordered */ .toc h2 { font-weight: 500; } .smw-template-furtherresults a { box-shadow: none; } /*responsive */ @media (min-width: 768px) { .dropdown:hover .dropdown-menu { display: block; } .studio-presentation { margin-top : 23%; } .player-home { text-align: right; } .nav-item.dropdown:nth-of-type(5):hover .dropdown-menu { transform: translateX(-106px); } /* Full height navbar on desktop and tablette */ nav#mw-navigation.p-navbar { height: 70px; margin: 0 !important; } .p-navbar .navbar-brand img { height: 2rem; margin: 2rem 1.5rem; } .p-navbar .navbar-brand.p-logo { display: flex; align-items: center; } .p-navbar.collapsible .navbar-collapse, .p-navbar.collapsible .navbar-collapse .navbar-nav, .p-navbar.collapsible .navbar-collapse .navbar-nav .nav-item.dropdown, .p-navbar.collapsible .navbar-collapse .navbar-nav .nav-item.dropdown a.nav-link, .p-navbar.collapsible .navbar-nav > div:last-child { height: 100% !important; } .p-navbar.collapsible .navbar-collapse .navbar-nav .nav-item.dropdown a.nav-link { display: flex; align-items: center; justify-content: center; } /* ***** Bo4 TABLES ***** */ .table-responsive { display: table; } /* Supression du padding des enfants du navbar container */ nav#mw-navigation.p-navbar { padding-right: 0px; margin: 0 !important; width: 100%; } .infoboxActeur { margin-left: 0; } } @media (min-width:992px) { /* ***** FOOTER TOOLBOX ***** */ .nav-item.p-tb-dropdown.toolboxnoflatten { display: none; } } @media (max-width:992px) { #t-upload, #t-specialpages, #t-print, #t-permalink, #t-info, #t-cite, #t-recentchangeslinked, #t-smwbrowselink, #t-contributions, #t-log, #t-blockip, #t-userrights, #t-upload, #t-specialpages, #t-print, #t-permalink, #t-info, #t-smwbrowselink, .dropdown-menu #t-whatlinkshere { display: none; } .toolboxnoflatten #t-upload, .toolboxnoflatten #t-specialpages, .toolboxnoflatten #t-print, .toolboxnoflatten #t-permalink, .toolboxnoflatten #t-info, .toolboxnoflatten #t-cite, .toolboxnoflatten #t-recentchangeslinked, .toolboxnoflatten #t-smwbrowselink { display: block; } /* Dropdown user */ .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-143px) !important; } /* Outils */ .nav-item.dropdown:nth-of-type(5) > a:before { font-size: .8rem; } /* buttons :hover */ #mw-navigation.p-navbar a.nav-link { font-size: .8rem; } .p-navbar.collapsible .navbar-nav > div:last-child { width: 10%; height: fit-content; } } @media (max-width: 768px) { /* Mobile */ /* navbar container */ .navbarRow.row { padding: 5px 10px; position: absolute; } .navbarRow.row > .col { padding: 0; } nav#mw-navigation.p-navbar { width: 100%; } /* Navbar Dropdown */ .navbar-tool.dropdown { margin: 0 !important; } #mw-navigation.p-navbar a.nav-link:not(.mw-list-item a) { font-size: 1rem; font-weight: bold; } .p-navbar.collapsible .navbar-nav > div:last-child { width: 100%; background: var(--red); } .p-navbar.collapsible .navbar-nav:not(.navbar-tools) { width: 100vw; background: white; position: absolute; top: 55px; left: 5px; } .p-navbar .navbar-nav .dropdown-menu { position: static !important; transform: none !important; } #mw-content-text a { overflow-wrap: break-word; } /* Outils */ .p-navbar.collapsible .navbar-nav > div:last-child > div:not(.dropdown-menu) { height: 40px; flex-direction: column; justify-content: start; } .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: none !important; width: 100%; } .nav-item.dropdown:nth-of-type(5) { width: 100% !important; } .nav-item.dropdown:nth-of-type(5) > a:before { font-size: initial; } /* User Dropdown */ .p-personal-tools.dropdown-menu { transform: translate(-50%, 41%) !important; } } /**************************/ /* ***** TOP NAVBAR ***** */ /* ****** DROPDOWNS ***** */ /**************************/ .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-80px); } @media (max-width: 1700px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-92px); } } @media (max-width: 1600px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-95px); } } @media (max-width: 1500px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-100px); } } @media (max-width: 1400px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-105px); } } @media (max-width: 1300px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-105px); } } @media (max-width: 1200px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-110px); } } @media (max-width: 1100px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-115px); } } @media (max-width: 1000px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-120px); } } @media (max-width: 992px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-125px) !important; } } @media (max-width: 800px) { .p-navbar .navbar-nav .p-personal-tools.dropdown-menu { transform: translateX(-130px) !important; } } /* ***** TOP SEARCHBAR ***** */ /* .searchbarRow.row { padding: 0 15px; } /* Search field input#searchInput { border-radius: 0; } /* Search button button#searchGoButton { background: var(--blue); color: var(--white); border-radius: 0; } */ /* à ranger correctement */ infobox tbody { box-shadow: none; padding: 6px 10px; border-radius: 0; background: hsl(0deg 0% 98%); height: fit-content; min-width: 100%; justify-content: center; } @media (min-width: 768px) { .infoboxActeur { margin-left: 0!important; min-width: 80vw; } } .infobox { color: black; background: none; border: none; padding: 0; min-width: 100%; } .pageHeader { display: inline; } a[href].external { color: #228E9A; } a { color: #228E9A; } a[href].external:hover, a:hover { color: #28B4C4; } .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited { color: #885053; } a:visited { color: #885053; } .itemContribute a, .smw-template-furtherresults a { color: white; } /********************** darkmode ***************************/ /***********************************************************/ .client-darkmode body { background-color: lightgrey; } .client-darkmode .homepage-banner, .client-darkmode .customFooter, .footer .p-navbar { color: black !important; background: rgb(217,241,250); background: linear-gradient(93deg, rgba(217,241,250,1) 0%, rgba(172,200,240,1) 100%); } .client-darkmode .rss-item { background: lightblue; } .client-darkmode .rss-feed .mw-parser-output .rss-item dd:last-child { background:cadetblue; color:black; } .client-darkmode div.langue_interface { background:cadetblue; } .client-darkmode .homepage-banner-content h1, .client-darkmode .customFooter div, .client-darkmode .customFooter a, .client-darkmode .footer .p-navbar .nav-item a { color: black!important; } .client-darkmode #mw-navigation.p-navbar a.nav-link { background-color: #acc8f0 ; color: black!important; } .client-darkmode .nav-item.dropdown:nth-of-type(5) > a, .client-darkmode div.langue_interface, .client-darkmode .navbar-tools.navbar-nav { background-color: cadetblue!important; } .client-darkmode .class-item-content h3 a, .client-darkmode .smw-template-furtherresults a, .client-darkmode .wikitable > * > tr > th { background-color: cadetblue; } .client-darkmode img { filter: invert(1) hue-rotate(180deg); } .client-darkmode .wikitable { border: 8px solid cadetblue; } .client-darkmode .class-item { background: hsl(0deg 0% 84%); } .client-darkmode .rss-feed .mw-parser-output .rss-item { background-color: lightblue } /* darkmode other states */ .client-darkmode a:visited { color: black; }