« MediaWiki:Common.css » : différence entre les versions

Page de l’interface de MediaWiki
mAucun résumé des modifications
Aucun résumé des modifications
 
(6 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
/*############ Custom CSS for WikiThionville. ############*/
.hheader-form .btn,.hheader-form .input{background-color:transparent;color:#f0f8ff}.container,.favs{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.card-li,.counters{margin-bottom:100px}.card-container,.hheader-form,.home-header #popular ul li font,.panel{position:relative}:root{--primary:#f15234;--border-color:rgba(142, 26, 2, 0.6);--bg:rgb(20, 24, 31);--bg-card:#212630;--bg-card-glass:rgba(33, 38, 48, 0.8);--transition-duration:200ms}.hheader-form,.home-header #popular ul li{outline:1px solid var(--border-color);transition:outline var(--transition-duration);background:var(--bg-card-glass);box-shadow:0 4px 30px rgba(0,0,0,.1);backdrop-filter:blur(8px)}@media only screen and (max-width:270px){#bodyContent:not(:has(.home-header)){zoom:0.2}}@media only screen and (min-width:270px){#bodyContent:not(:has(.home-header)){zoom:0.3}}@media only screen and (min-width:340px){#bodyContent:not(:has(.home-header)){zoom:0.4}}@media only screen and (min-width:415px){#bodyContent:not(:has(.home-header)){zoom:0.5}}@media only screen and (min-width:570px){#bodyContent:not(:has(.home-header)){zoom:0.7}}@media only screen and (min-width:730px){#bodyContent:not(:has(.home-header)){zoom:0.9}}@media only screen and (min-width:850px){#bodyContent:not(:has(.home-header)){zoom:1}}@media only screen and (max-width:570px){#bodyContent tr td{width:98%}.citizen-section-collapsible{zoom:1.5}.citizen-table-wrapper{overflow:hidden!important;border-radius:25px!important}#bodyContent:not(:has(.home-header)) font{font-size:1.3rem!important}.mw-headline{font-size:2.5rem!important}.citizen-overflow--right{-webkit-mask-image:none!important;-mask-image:none!important}.mw-category-columns{display:grid;justify-content:center;zoom:2}#bodyContent:not(:has(.home-header)) p{font-size:30px!important}#bodyContent:not(:has(.home-header)) h2{font-size:45px!important}}#bodyContent tr{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap}.citizen-footer__content,.favs li{justify-content:space-between}.wikitable{width:100%!important}.wikitable tr{display:block!important}.citizen-table-wrapper{border-radius:15px}#bodyContent table{border:none!important;overflow:hidden!important}#bodyContent tr p{font-size:1rem!important}#bodyContent font{color:var(--color-base--emphasized)}#footer-places-disclaimers{display:none!important}.citizen-footer__bottom{padding-top:0!important;border:0!important}#wiki-home{background-color:#14171e;color:#e8effc;transition:background-color 1s}#wikihome_header{box-sizing:border-box;width:100%;height:100vh;background-size:cover;background-image:url("/home/header_bg.jpg");padding-top:25vh;padding-bottom:5vh;display:flex;flex-direction:column;color:#f0f8ff;align-content:center;justify-content:space-between;align-items:center}.home-header h1{color:#f0f8ff!important;text-shadow:2px 2px 50px rgba(17,17,17,.9);font-size:3rem}.home-header .tinfo{margin:1px;color:#eceeee}.home-header .main{display:flex;flex-direction:column;color:#f0f8ff;align-content:center;justify-content:center;align-items:center;gap:30px}.hheader-form{display:flex;font-size:0;border-radius:10px;-webkit-backdrop-filter:blur(8px)}.hheader-form:active,.hheader-form:has(.input:focus){outline:3px solid var(--primary)}.hheader-form .input{border:0;padding-left:10px;border-radius:10px 0 0 10px;height:2.5rem;width:80vw;max-width:500px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.hheader-form .input::placeholder{color:#f0f8ff}.hheader-form .input:focus{outline:0}.hheader-form .btn{border:0;height:2.5rem;border-radius:0 10px 10px 0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;transition:.3s;position:relative;cursor:pointer}.home-header #popular{width:fit-content;max-width:100vw}.home-header #popular .content{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;overflow:hidden;height:fit-content;transition:all var(--transition-duration)}.home-header #popular .content>p{display:flex;flex-direction:row;margin:0}.home-header #popular ul{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:30px;max-width:80vw;overflow:auto;padding:10px;-ms-overflow-style:none;scrollbar-width:none;margin:0}.home-header #popular ul li{flex-shrink:0;display:flex;flex-wrap:nowrap;flex-direction:column;justify-content:space-between;gap:15px;padding:15px;width:max-content;max-width:200px;border-radius:10px;-webkit-backdrop-filter:blur(8px);cursor:pointer;min-width:230px}.home-header #popular ul li:hover{outline:3px solid var(--primary)}.home-header #popular ul li a{color:#f0f8ff!important;text-decoration:none}.home-header #popular ul li font::after{content:url(./home/caret-right.svg);position:absolute;height:fit-content;width:fit-content;right:0;top:50%;transform:translate3d(0,-50%,0);transition:transform var(--transition-duration)}.home-header #popular ul li:hover font::after{transform:translate3d(40%,-50%,0) scale(115%)}.home-header #popular ul li .img-container{border-radius:5px;max-height:110px;height:fit-content;width:100%;overflow:hidden}.home-header #popular ul li .img-container img{height:100%;width:100%;object-fit:cover;transition:transform var(--transition-duration)}.home-header #popular ul li:hover .img-container img{transform:scale(115%)}.home-header #popular button{border:none;background-color:transparent;cursor:pointer;padding:0}.card-container .blob,.card-container .fakeblob{z-index:-1;top:0;left:0;width:250px;height:250px;border-radius:50%;position:absolute}.home-header #popular button img{height:25px;width:25px;transition:transform var(--transition-duration)}.home-header #popular button:hover img{transform:scale(120%)}.home-header #popular ul::-webkit-scrollbar{display:none}.home-header .enplus{color:#c5c8ca;position:absolute;bottom:10px;text-decoration:none;display:flex;flex-direction:row;align-items:center}.counters div h2,.favs,.favs li a,.skin-citizen-light .favs h1,.skin-citizen-light .marklist h1{color:#f0f8ff}.home-header .enplus p{clear:both;display:inline-block;overflow:hidden;white-space:nowrap;width:0;margin:0;transition:.5s}.home-header .enplus:hover>p{width:98px;margin-left:10px}.container{padding-left:10%;padding-right:10%}.container h1{margin-top:80px}.cardlist{display:flex;align-content:center;justify-content:center;align-items:center}.card-container .card,.panel{flex-direction:column;overflow:hidden}.card-li{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));grid-column-gap:40px;grid-row-gap:40px}.card-container{display:flex;z-index:1;overflow:hidden;background-color:rgb(128 128 128 / .2);padding:3px;border-radius:18px}.card-container .blob{filter:blur(30px);transform:translate3d(50%,-50%,0);background:var(--primary)}.card-container .fakeblob{display:hidden}.card-container .card,.favs li{border-radius:16px;background-color:var(--bg-card);text-decoration:none;display:flex}.card-container .card{flex-wrap:nowrap;align-items:flex-start;justify-content:space-evenly;gap:15px;padding:15px;color:#f0f8ff;max-width:300px;width:100%;transition:background-color calc(var(--transition-duration) * 2) ease-in,backdrop-filter calc(var(--transition-duration) * 2) ease-in}.card-container.hover-enabled:hover .card{background-color:var(--bg-card-glass);backdrop-filter:blur(8px)}.card .card-title{text-align:start;margin:0;font-size:1.4rem}.card p{margin:0}.card svg{min-width:30px;min-height:30px}.skin-citizen-light .degrad{background:-moz-linear-gradient(0deg,#14181f 10%,#fff 100%);background:-webkit-linear-gradient(0deg,#14181f 10%,#fff 100%);background:linear-gradient(0deg,#14181f 10%,#fff 100%);margin-top:150px;padding-top:250px}.degrad{background:-moz-linear-gradient(0deg,#fff 10%,#14181f 100%);background:-webkit-linear-gradient(0deg,#fff 10%,#14181f 100%);background:linear-gradient(0deg,#fff 10%,#14181f 100%);margin-top:150px;padding-top:250px}.favs{display:flex;justify-content:center;align-items:center;flex-direction:column}.skin-citizen-light .favs,.skin-citizen-light .marklist{background:#14181f}.favs h1,.main-title{margin-top:80px;z-index:100;font-family:"Linux Libertine O",sans-serif;font-size:3rem;text-align:center}.favs ul{list-style-type:none;padding-right:20px;padding-left:20px}.favs li{border:1px solid rgba(241,82,52,.47);padding:15px;transition:.3s;margin-bottom:20px;-webkit-box-shadow:5px 5px 0 0 var(--primary);box-shadow:5px 5px 0 0 var(--primary)}.card .card-title,.container h1,.counters div h1,.favs h1,.main-title{background:#f15234;-webkit-text-fill-color:transparent;-moz-text-fill-color:transparent}.favs li:hover{text-decoration:none;-webkit-box-shadow:1px 1px 0 0 var(--primary);box-shadow:1px 1px 0 0 var(--primary)}.favs li a{text-decoration:none}.marklist{max-width:90vw;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent 1%,rgba(0,0,0,1) 10%,rgba(0,0,0,1) 90%,transparent 99%);mask-image:linear-gradient(90deg,transparent 1%,rgba(0,0,0,1) 10%,rgba(0,0,0,1) 90%,transparent 99%)}.marklist .track{width:max-content;display:flex;justify-content:space-between;align-items:center;align-self:center;flex-direction:row;gap:13vw;animation:30s linear infinite marklist-scroll}.marklist img{flex-shrink:0;filter:invert(0) grayscale(.9);transition:.5s;width:15vw;object-fit:contain}.marklist img:hover{filter:invert(0) grayscale(0);transform:scale(1.2)}.marklist img.inverted{filter:invert(1) grayscale(.9)!important}.marklist.unanimated{width:100%;-webkit-mask-image:none;mask-image:none;overflow:visible}.marklist.unanimated .track{width:100%;gap:unset;animation:none}@keyframes marklist-scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(-50% - (13vw / 2)),0,0)}}@media only screen and (max-width:850px){.card-li{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}h1{font-size:2rem!important}#wikihome_header{padding-top:10vh}#wikihome_header .main{gap:0}}@media only screen and (max-width:650px){.card-li{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr))}.counters{flex-direction:column;align-items:center;margin-top:50px!important}#img-beffroi{display:none}#info-text{padding-right:0!important}}@media only screen and (max-width:500px){.card-li{display:flex;justify-content:space-around;align-self:center;flex-direction:column}#progress{display:none!important}}#ccard_contribperso,#new_article_form,.counters{display:none}.citizen-body-container:has(.home-header){display:block!important;margin:0!important;padding:0!important}.citizen-body-container:has(.home-header)>.mw-body-header{display:none!important}.citizen-body-container:has(.home-header)>.mw-body-footer{display:none!important}.citizen-body-container:has(.home-header)>#citizen-body-header-sticky-sentinel{display:none!important}.citizen-page-container:has(.home-header)>.citizen-footer{margin-top:0!important}.mw-body:has(.home-header){margin-top:-1rem}.counters{justify-content:space-evenly;width:100vw;margin-top:200px}.counters .card-container .card{display:flex;align-items:center;text-align:center;justify-content:center;flex-direction:column;box-sizing:content-box;padding:20px;width:180px;border-radius:16px}.counters div:hover{cursor:default!important}.counters div h1{margin:5px!important;font-size:3.3rem;font-weight:700;background:-moz-linear-gradient(311deg,#f15234 0,#edaa7d 100%);background:-webkit-linear-gradient(311deg,#f15234 0,#edaa7d 100%);background:linear-gradient(311deg,#f15234 0,#edaa7d 100%);-webkit-background-clip:text;-moz-background-clip:text}.counters div h2{margin:5px}.text-marquee{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer}.text-marquee:hover,.text-marquee:hover *{animation-play-state:running!important}.panel{min-height:100vh;display:flex;align-items:center;justify-content:center}@keyframes text_slide{5%{transform:translate(0)}100%,85%{transform:translate(var(--ofw))}}@keyframes gardient_slide{4.9%{-webkit-mask-image:linear-gradient(90deg,#000 80%,transparent 100%)}5%,84.9%{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 20%,#000 80%,transparent 100%)}100%,85%{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 20%)}}#img-beffroi{position:absolute;top:5vh;left:100vw;height:85vh}#info-text{padding-right:20vw}#articles>h1{margin-top:10vh}#articles{padding-bottom:2vh}#progress{display:flex;flex-direction:column;align-items:flex-end;z-index:1000;position:fixed;right:0;top:50vh}#progress a{padding:5px;background-color:#f3f3f3;border:1px solid rgba(241,82,52,.47);border-right:0px;transition:.3s;color:#14181f}#progress a:first-child{border-radius:10px 0 0}#progress a:last-child{border-radius:00px 0 0 10px}#progress a svg{visibility:hidden;width:1px;transition:.3s}#progress a.active,#progress a:hover{background-color:#fff;border-radius:10px 0 0 10px}#progress a.active svg,#progress a:hover svg{visibility:visible;width:30px}.card .card-title,.container h1,.favs h1,.main-title{background:-moz-linear-gradient(311deg,#f15234 0,#edaa7d 100%);background:-webkit-linear-gradient(311deg,#f15234 0,#edaa7d 100%);background:linear-gradient(311deg,#f15234 0,#edaa7d 100%);-webkit-background-clip:text;-moz-background-clip:text}.skin-citizen-dark .mw-logo-icon{filter:invert(1)}
/* Responsive content zoom */
@media only screen and (max-width: 270px) {
  #bodyContent:not(:has(.home-header)) {
    zoom: 0.2;
  }
}
@media only screen and (min-width: 270px) {
  #bodyContent:not(:has(.home-header)) {
    zoom: 0.3;       
  }
}
@media only screen and (min-width: 340px) {
  #bodyContent:not(:has(.home-header)) {
    zoom: 0.4;       
  }
}
@media only screen and (min-width: 415px) {
  #bodyContent:not(:has(.home-header)) {
    zoom: 0.5;      
  }
}
@media only screen and (min-width: 570px) {
  #bodyContent:not(:has(.home-header)) {
    zoom: 0.7;       
  }
}
@media only screen and (min-width: 730px) {
  #bodyContent:not(:has(.home-header)) {
    zoom: 0.9;       
  }
}
@media only screen and (min-width: 850px) {
  #bodyContent:not(:has(.home-header)) {
    zoom: 1;
  }
}
/* Rules for small screen devices like smartphones */
@media only screen and (max-width: 570px) {
  #bodyContent tr {
    display: flex!important;
    flex-direction: column!important;
    align-items: center!important;
  }
  #bodyContent tr td {
    width: 98%
  }
  .citizen-section-collapsible{
    zoom: 1.5;
  }  
  .citizen-table-wrapper {
    overflow: hidden!important;
    border-radius: 25px!important;
  }
  #bodyContent:not(:has(.home-header)) font {
    font-size: 1.3rem!important;
  }
  .mw-headline {
    font-size: 2.5rem!important;
  }
  .citizen-overflow--right {
    -webkit-mask-image:none!important;
    -mask-image:none!important;
  }
  .mw-category-columns {
    display: grid;
    justify-content: center;
    zoom: 2;
  }
  #bodyContent:not(:has(.home-header)) p {
    font-size: 30px!important;
  }
  #bodyContent:not(:has(.home-header)) h2{
    font-size: 45px!important;
  }
}
/* General CSS rules */
#bodyContent tr) {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.wikitable{
  width: 100%!important;
}
.wikitable tr{
  display: block!important;
}
 
.citizen-table-wrapper {
  border-radius: 15px;
}
 
#bodyContent table {
border: none!important;
overflow: hidden!important;
}
 
#bodyContent tr p{
  font-size: 1rem!important;
}
 
#bodyContent font {
  color: var(--color-base--emphasized);
}
#footer-places-disclaimers{
  display: none!important;
}
.citizen-footer__content{
  justify-content: space-between;
}
.citizen-footer__bottom {
  padding-top: 0!important;
  border: 0!important;
}
/* Home page style below*/
#wiki-home{
    background-color: hsl(220, 20%, 10%);
    color: #e8effc;
    transition: background-color 1s;
}
.home-header{
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-image: url("/home/header_bg.jpg");
    display: flex;
    flex-direction: column;
    color: aliceblue;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.home-header h1{
  color: aliceblue!important;
  text-shadow: 4px 5px 6px rgba(74,74,74,0.9);
}
.home-header .tinfo{
    margin: 1px;
    color: rgb(236, 238, 238);
}
.hheader-form{
    display: flex;
    font-size: 0;
}
.hheader-form .input{
    border: 0;
    padding-left: 10px;
    border-radius: 10px 0 0 10px;
    background-color: #212630;
    color: aliceblue;
    height: 2.5rem;
    width: 400px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.hheader-form .input:focus{
    outline: none;
}
.hheader-form .btn{
    border: 0;
    background-color: #212630;
    color: aliceblue;
    height: 2.5rem;
    border-radius: 0 10px 10px 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    transition: all 300ms ;
    position: relative;
    cursor: pointer;
}
.home-header h1{
    font-size: 3rem;
}
.home-header .enplus{
    color: rgb(197, 200, 202);
    position: absolute;
    bottom: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.home-header .enplus p{
    clear: both;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0px;
    transition: all 500ms;
}
.home-header .enplus:hover > p{
    width: 98px;
    margin-left: 10px;
}
.container {
    padding-left: 10%;
    padding-right: 10%;
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}
.container h1{
    margin-top: 80px;
}
.cardlist {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.cardlist .li{
    display: grid;
    max-width: 1350px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 100px;
}
.card {
    border-radius: 16px;
    border: 1px solid rgba(241, 82, 52, 0.47);
    padding: 15px;
    background-color: rgb(243, 243, 243);
    text-decoration: none;
    color: #212630;
    transition: all 500ms;
    max-width: 300px;
}
.card:hover{
    -webkit-box-shadow:0px 0px 60px 20px rgba(241,83,52,0.7);
    -moz-box-shadow: 0px 0px 60px 20px rgba(241,83,52,0.7);
    box-shadow: 0px 0px 60px 20px rgba(241,83,52,0.7);
    transform: scale(1.03);
    background-color: rgb(255, 255, 255);
    text-decoration: none;
    color: #212630;
    cursor: pointer;
}
.card .header {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.card .header p{
    text-align: end;
    margin: 0;
    font-size: 1.4rem;
}
.card .header svg{
    min-width: 30px;
    min-height: 30px;
    margin-right: 15px;
}
.card:hover .text-marquee, .card:hover .text-marquee *{
    animation-play-state: running!important;
}
 
.skin-citizen-light .degrad{
    background: -moz-linear-gradient(0deg, rgba(20,24,31,1) 10%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(20,24,31,1) 10%, rgba(255,255,255,1) 100%);
    background: linear-gradient(0deg, rgba(20,24,31,1) 10%, rgba(255,255,255,1) 100%);
    margin-top: 150px;
    padding-top: 250px;
}
 
.degrad{
  background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 10%, rgba(20,24,31,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 10%, rgba(20,24,31,1) 100%);
  background: linear-gradient(0deg, rgba(255,255,255,1) 10%, rgba(20,24,31,1) 100%);
  margin-top: 150px;
  padding-top: 250px;
}
       
.favs {
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.skin-citizen-light .favs{
  background: rgb(20,24,31);
}
.favs h1{
    margin-top: 80px;
    z-index: 100;
    font-family: 'Linux Libertine O', sans-serif;
    font-size: 3rem;
    margin-top: 80px;
    text-align: center;
}
.skin-citizen-light .favs h1{
  color: aliceblue;
}
.favs ul {
    list-style-type: none;
    padding-right: 20px;
    padding-left: 20px;
}
.favs li {
  border-radius: 16px;
  border: 1px solid rgba(241, 82, 52, 0.47);
  padding: 15px;
  background-color: #212630;
  text-decoration: none;
  transition: all 300ms;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  -webkit-box-shadow: 5px 5px 0px 0px #f15234;  
  box-shadow: 5px 5px 0px 0px #f15234;
}
.favs li:hover {
  text-decoration: none;
  -webkit-box-shadow: 1px 1px 0px 0px #f15234;  
  box-shadow: 1px 1px 0px 0px #f15234;
}
.favs li a{
    text-decoration: none;
    color: aliceblue;
}
 
.marklist {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    flex-direction: column;
    padding-top: 50px;
    padding-bottom: 60px;
    min-width: 95vw;
}
.skin-citizen-light .marklist{
  background: rgb(20,24,31);
}
.marklist div{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-self: center;
    flex-direction: row;
}
.marklist img{
    filter: invert(0) grayscale(0.9);
    transition: all 500ms;
    border-radius: 5px;
}
.marklist img:hover{
    filter: invert(0) grayscale(0);
    transform: scale(1.2);
}
.marklist img.inverted.y{
    filter: invert(1) grayscale(0.9)!important;
}
.marklist img.inverted.y:hover{
    filter: invert(1) grayscale(0)!important;
}
.marklist h1{
    z-index: 100;
    font-family: 'Linux Libertine O', sans-serif;
    font-size: 3rem;
    margin-top: 80px;
}
.skin-citizen-light .marklist h1{
  color: aliceblue;
}
/* Home page responsive */
@media only screen and (max-width: 1100px){
  .colums{
    flex-direction: column!important;
    align-items: center!important;
  }
}
@media only screen and (max-width: 850px){
  .cardlist .li{
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-template-rows: repeat(4, minmax(0, 1fr));
  }
  h1{
      font-size: 2rem!important;
  }
}
@media only screen and (max-width: 650px){
  .cardlist .li{
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(6, minmax(0, 1fr));
  }
  .marklist img{
      max-height: 40px!important;
  }
  .counters{
      flex-direction: column;
      align-items: center;
      margin-top: 50px!important;
  }
  .counters .card{
      margin-top: 30px;
  }
  #img-beffroi{
    display: none;
  }
  #info-text{
    padding-right: 0!important;
  }
}
@media only screen and (max-width: 500px){
  .cardlist .li{
      display: flex;
      justify-content: space-around;
      align-self: center;
      flex-direction: column;
  }
  .hheader-form .input{
      width: 300px;
  }
  #progress{
    display: none!important;
  }
}
@media only screen and (max-width: 400px){
  .hheader-form .input{
      width: 200px;
  }
  .marklist img{
      max-height: 30px!important;
  }
}
.citizen-body-container:has(.home-header){
  display: block!important;
  margin: 0!important;
  padding: 0!important;
}
.citizen-body-container:has(.home-header)>.mw-body-header{
  display: none!important;
}
.citizen-body-container:has(.home-header)>.mw-body-footer{
  display: none!important;
}
.citizen-body-container:has(.home-header)>#citizen-body-header-sticky-sentinel{
  display: none!important;
}
.citizen-page-container:has(.home-header)>.citizen-footer{
  margin-top: 0!important;
}
.mw-body:has(.home-header){
  margin-top: -1rem;
}
#new_article_form{
  display: none;
}
 
.counters{
  display: none;
  justify-content: space-evenly;
  width: 100vw;
  margin-top: 200px;
  margin-bottom: 100px;
}
.counters div{
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  width: 180px;
  border-radius: 16px;
}
.counters div h1{
  margin: 5px!important;
  font-size: 3.3rem;
  font-weight: bold;
  background: rgb(241,82,52);
  background: -moz-linear-gradient(311deg,rgba(241,82,52,1) 0%,rgba(237,170,125,1) 100%);
  background: -webkit-linear-gradient(311deg,rgba(241,82,52,1) 0%,rgba(237,170,125,1) 100%);
  background: linear-gradient(311deg,rgba(241,82,52,1) 0%,rgba(237,170,125,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f15234",endColorstr="#edaa7d",GradientType=1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}
.counters div h2{
  margin: 5px;
  color: #212630;
}
#ccard_contribperso{
  display: none;
}
 
.text-marquee {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}
 
.text-marquee:hover, .text-marquee:hover *{
  animation-play-state: running!important;
}
 
.colums{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 150px;
    margin: 0px 30px;
}
 
.colums div{
  flex: 1 1 0px;
}
 
.panel{
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
 
@keyframes text_slide {
    5%{
      transform: translate(0);
    }
    85% {
      transform: translate(var(--ofw));
    }
    100%{
      transform: translate(var(--ofw));
    }
}
 
@keyframes gardient_slide {
    4.9%{
      -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent 100%);
    }
    5%{
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    }
    84.9% {
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    }
    85%{
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
    }
    100%{
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
    }
}  
 
#img-beffroi {
  position: absolute;
  top: 5vh;
  left: 100vw;
  height: 85vh;
}
 
#info-text{
  padding-right: 20vw;
}
 
#plusdinfo div{
  z-index: 10;
}
 
#progress{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1000 ;
  position: fixed;
  right: 0;
  top: 50vh;
}
 
#progress a{
  padding: 5px;
  background-color: rgb(243, 243, 243);
  border: 1px solid rgba(241, 82, 52, 0.47);
  border-right: 0px;
  transition: all 300ms;
  color: #14181f;
}
#progress a:first-child{
  border-radius: 10px 0px 0px 0px;
}
#progress a:last-child{
  border-radius: 00px 0px 0px 10px;
}
#progress a svg{
  visibility: hidden;
  width: 1px;
  transition: all 300ms;
}
 
#progress a:hover, #progress a.active{
  background-color: rgb(255, 255, 255);
  border-radius: 10px 0px 0px 10px;
}
#progress a:hover svg, #progress a.active svg{
  visibility: visible;
  width: 30px;
}
 
.favs h1, .container h1, .card .header p, .marklist h1{
  background: rgb(241,82,52);
  background: -moz-linear-gradient(311deg, rgba(241,82,52,1) 0%, rgba(237,170,125,1) 100%);
  background: -webkit-linear-gradient(311deg, rgba(241,82,52,1) 0%, rgba(237,170,125,1) 100%);
  background: linear-gradient(311deg, rgba(241,82,52,1) 0%, rgba(237,170,125,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f15234",endColorstr="#edaa7d",GradientType=1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}
.skin-citizen-dark .mw-logo-icon {
  filter: invert(1);
}

Dernière version du 16 octobre 2024 à 10:12

.hheader-form .btn,.hheader-form .input{background-color:transparent;color:#f0f8ff}.container,.favs{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}.card-li,.counters{margin-bottom:100px}.card-container,.hheader-form,.home-header #popular ul li font,.panel{position:relative}:root{--primary:#f15234;--border-color:rgba(142, 26, 2, 0.6);--bg:rgb(20, 24, 31);--bg-card:#212630;--bg-card-glass:rgba(33, 38, 48, 0.8);--transition-duration:200ms}.hheader-form,.home-header #popular ul li{outline:1px solid var(--border-color);transition:outline var(--transition-duration);background:var(--bg-card-glass);box-shadow:0 4px 30px rgba(0,0,0,.1);backdrop-filter:blur(8px)}@media only screen and (max-width:270px){#bodyContent:not(:has(.home-header)){zoom:0.2}}@media only screen and (min-width:270px){#bodyContent:not(:has(.home-header)){zoom:0.3}}@media only screen and (min-width:340px){#bodyContent:not(:has(.home-header)){zoom:0.4}}@media only screen and (min-width:415px){#bodyContent:not(:has(.home-header)){zoom:0.5}}@media only screen and (min-width:570px){#bodyContent:not(:has(.home-header)){zoom:0.7}}@media only screen and (min-width:730px){#bodyContent:not(:has(.home-header)){zoom:0.9}}@media only screen and (min-width:850px){#bodyContent:not(:has(.home-header)){zoom:1}}@media only screen and (max-width:570px){#bodyContent tr td{width:98%}.citizen-section-collapsible{zoom:1.5}.citizen-table-wrapper{overflow:hidden!important;border-radius:25px!important}#bodyContent:not(:has(.home-header)) font{font-size:1.3rem!important}.mw-headline{font-size:2.5rem!important}.citizen-overflow--right{-webkit-mask-image:none!important;-mask-image:none!important}.mw-category-columns{display:grid;justify-content:center;zoom:2}#bodyContent:not(:has(.home-header)) p{font-size:30px!important}#bodyContent:not(:has(.home-header)) h2{font-size:45px!important}}#bodyContent tr{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:wrap}.citizen-footer__content,.favs li{justify-content:space-between}.wikitable{width:100%!important}.wikitable tr{display:block!important}.citizen-table-wrapper{border-radius:15px}#bodyContent table{border:none!important;overflow:hidden!important}#bodyContent tr p{font-size:1rem!important}#bodyContent font{color:var(--color-base--emphasized)}#footer-places-disclaimers{display:none!important}.citizen-footer__bottom{padding-top:0!important;border:0!important}#wiki-home{background-color:#14171e;color:#e8effc;transition:background-color 1s}#wikihome_header{box-sizing:border-box;width:100%;height:100vh;background-size:cover;background-image:url("/home/header_bg.jpg");padding-top:25vh;padding-bottom:5vh;display:flex;flex-direction:column;color:#f0f8ff;align-content:center;justify-content:space-between;align-items:center}.home-header h1{color:#f0f8ff!important;text-shadow:2px 2px 50px rgba(17,17,17,.9);font-size:3rem}.home-header .tinfo{margin:1px;color:#eceeee}.home-header .main{display:flex;flex-direction:column;color:#f0f8ff;align-content:center;justify-content:center;align-items:center;gap:30px}.hheader-form{display:flex;font-size:0;border-radius:10px;-webkit-backdrop-filter:blur(8px)}.hheader-form:active,.hheader-form:has(.input:focus){outline:3px solid var(--primary)}.hheader-form .input{border:0;padding-left:10px;border-radius:10px 0 0 10px;height:2.5rem;width:80vw;max-width:500px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.hheader-form .input::placeholder{color:#f0f8ff}.hheader-form .input:focus{outline:0}.hheader-form .btn{border:0;height:2.5rem;border-radius:0 10px 10px 0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;transition:.3s;position:relative;cursor:pointer}.home-header #popular{width:fit-content;max-width:100vw}.home-header #popular .content{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;overflow:hidden;height:fit-content;transition:all var(--transition-duration)}.home-header #popular .content>p{display:flex;flex-direction:row;margin:0}.home-header #popular ul{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:30px;max-width:80vw;overflow:auto;padding:10px;-ms-overflow-style:none;scrollbar-width:none;margin:0}.home-header #popular ul li{flex-shrink:0;display:flex;flex-wrap:nowrap;flex-direction:column;justify-content:space-between;gap:15px;padding:15px;width:max-content;max-width:200px;border-radius:10px;-webkit-backdrop-filter:blur(8px);cursor:pointer;min-width:230px}.home-header #popular ul li:hover{outline:3px solid var(--primary)}.home-header #popular ul li a{color:#f0f8ff!important;text-decoration:none}.home-header #popular ul li font::after{content:url(./home/caret-right.svg);position:absolute;height:fit-content;width:fit-content;right:0;top:50%;transform:translate3d(0,-50%,0);transition:transform var(--transition-duration)}.home-header #popular ul li:hover font::after{transform:translate3d(40%,-50%,0) scale(115%)}.home-header #popular ul li .img-container{border-radius:5px;max-height:110px;height:fit-content;width:100%;overflow:hidden}.home-header #popular ul li .img-container img{height:100%;width:100%;object-fit:cover;transition:transform var(--transition-duration)}.home-header #popular ul li:hover .img-container img{transform:scale(115%)}.home-header #popular button{border:none;background-color:transparent;cursor:pointer;padding:0}.card-container .blob,.card-container .fakeblob{z-index:-1;top:0;left:0;width:250px;height:250px;border-radius:50%;position:absolute}.home-header #popular button img{height:25px;width:25px;transition:transform var(--transition-duration)}.home-header #popular button:hover img{transform:scale(120%)}.home-header #popular ul::-webkit-scrollbar{display:none}.home-header .enplus{color:#c5c8ca;position:absolute;bottom:10px;text-decoration:none;display:flex;flex-direction:row;align-items:center}.counters div h2,.favs,.favs li a,.skin-citizen-light .favs h1,.skin-citizen-light .marklist h1{color:#f0f8ff}.home-header .enplus p{clear:both;display:inline-block;overflow:hidden;white-space:nowrap;width:0;margin:0;transition:.5s}.home-header .enplus:hover>p{width:98px;margin-left:10px}.container{padding-left:10%;padding-right:10%}.container h1{margin-top:80px}.cardlist{display:flex;align-content:center;justify-content:center;align-items:center}.card-container .card,.panel{flex-direction:column;overflow:hidden}.card-li{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));grid-column-gap:40px;grid-row-gap:40px}.card-container{display:flex;z-index:1;overflow:hidden;background-color:rgb(128 128 128 / .2);padding:3px;border-radius:18px}.card-container .blob{filter:blur(30px);transform:translate3d(50%,-50%,0);background:var(--primary)}.card-container .fakeblob{display:hidden}.card-container .card,.favs li{border-radius:16px;background-color:var(--bg-card);text-decoration:none;display:flex}.card-container .card{flex-wrap:nowrap;align-items:flex-start;justify-content:space-evenly;gap:15px;padding:15px;color:#f0f8ff;max-width:300px;width:100%;transition:background-color calc(var(--transition-duration) * 2) ease-in,backdrop-filter calc(var(--transition-duration) * 2) ease-in}.card-container.hover-enabled:hover .card{background-color:var(--bg-card-glass);backdrop-filter:blur(8px)}.card .card-title{text-align:start;margin:0;font-size:1.4rem}.card p{margin:0}.card svg{min-width:30px;min-height:30px}.skin-citizen-light .degrad{background:-moz-linear-gradient(0deg,#14181f 10%,#fff 100%);background:-webkit-linear-gradient(0deg,#14181f 10%,#fff 100%);background:linear-gradient(0deg,#14181f 10%,#fff 100%);margin-top:150px;padding-top:250px}.degrad{background:-moz-linear-gradient(0deg,#fff 10%,#14181f 100%);background:-webkit-linear-gradient(0deg,#fff 10%,#14181f 100%);background:linear-gradient(0deg,#fff 10%,#14181f 100%);margin-top:150px;padding-top:250px}.favs{display:flex;justify-content:center;align-items:center;flex-direction:column}.skin-citizen-light .favs,.skin-citizen-light .marklist{background:#14181f}.favs h1,.main-title{margin-top:80px;z-index:100;font-family:"Linux Libertine O",sans-serif;font-size:3rem;text-align:center}.favs ul{list-style-type:none;padding-right:20px;padding-left:20px}.favs li{border:1px solid rgba(241,82,52,.47);padding:15px;transition:.3s;margin-bottom:20px;-webkit-box-shadow:5px 5px 0 0 var(--primary);box-shadow:5px 5px 0 0 var(--primary)}.card .card-title,.container h1,.counters div h1,.favs h1,.main-title{background:#f15234;-webkit-text-fill-color:transparent;-moz-text-fill-color:transparent}.favs li:hover{text-decoration:none;-webkit-box-shadow:1px 1px 0 0 var(--primary);box-shadow:1px 1px 0 0 var(--primary)}.favs li a{text-decoration:none}.marklist{max-width:90vw;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent 1%,rgba(0,0,0,1) 10%,rgba(0,0,0,1) 90%,transparent 99%);mask-image:linear-gradient(90deg,transparent 1%,rgba(0,0,0,1) 10%,rgba(0,0,0,1) 90%,transparent 99%)}.marklist .track{width:max-content;display:flex;justify-content:space-between;align-items:center;align-self:center;flex-direction:row;gap:13vw;animation:30s linear infinite marklist-scroll}.marklist img{flex-shrink:0;filter:invert(0) grayscale(.9);transition:.5s;width:15vw;object-fit:contain}.marklist img:hover{filter:invert(0) grayscale(0);transform:scale(1.2)}.marklist img.inverted{filter:invert(1) grayscale(.9)!important}.marklist.unanimated{width:100%;-webkit-mask-image:none;mask-image:none;overflow:visible}.marklist.unanimated .track{width:100%;gap:unset;animation:none}@keyframes marklist-scroll{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(calc(-50% - (13vw / 2)),0,0)}}@media only screen and (max-width:850px){.card-li{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}h1{font-size:2rem!important}#wikihome_header{padding-top:10vh}#wikihome_header .main{gap:0}}@media only screen and (max-width:650px){.card-li{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr))}.counters{flex-direction:column;align-items:center;margin-top:50px!important}#img-beffroi{display:none}#info-text{padding-right:0!important}}@media only screen and (max-width:500px){.card-li{display:flex;justify-content:space-around;align-self:center;flex-direction:column}#progress{display:none!important}}#ccard_contribperso,#new_article_form,.counters{display:none}.citizen-body-container:has(.home-header){display:block!important;margin:0!important;padding:0!important}.citizen-body-container:has(.home-header)>.mw-body-header{display:none!important}.citizen-body-container:has(.home-header)>.mw-body-footer{display:none!important}.citizen-body-container:has(.home-header)>#citizen-body-header-sticky-sentinel{display:none!important}.citizen-page-container:has(.home-header)>.citizen-footer{margin-top:0!important}.mw-body:has(.home-header){margin-top:-1rem}.counters{justify-content:space-evenly;width:100vw;margin-top:200px}.counters .card-container .card{display:flex;align-items:center;text-align:center;justify-content:center;flex-direction:column;box-sizing:content-box;padding:20px;width:180px;border-radius:16px}.counters div:hover{cursor:default!important}.counters div h1{margin:5px!important;font-size:3.3rem;font-weight:700;background:-moz-linear-gradient(311deg,#f15234 0,#edaa7d 100%);background:-webkit-linear-gradient(311deg,#f15234 0,#edaa7d 100%);background:linear-gradient(311deg,#f15234 0,#edaa7d 100%);-webkit-background-clip:text;-moz-background-clip:text}.counters div h2{margin:5px}.text-marquee{display:flex;white-space:nowrap;overflow:hidden;cursor:pointer}.text-marquee:hover,.text-marquee:hover *{animation-play-state:running!important}.panel{min-height:100vh;display:flex;align-items:center;justify-content:center}@keyframes text_slide{5%{transform:translate(0)}100%,85%{transform:translate(var(--ofw))}}@keyframes gardient_slide{4.9%{-webkit-mask-image:linear-gradient(90deg,#000 80%,transparent 100%)}5%,84.9%{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 20%,#000 80%,transparent 100%)}100%,85%{-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 20%)}}#img-beffroi{position:absolute;top:5vh;left:100vw;height:85vh}#info-text{padding-right:20vw}#articles>h1{margin-top:10vh}#articles{padding-bottom:2vh}#progress{display:flex;flex-direction:column;align-items:flex-end;z-index:1000;position:fixed;right:0;top:50vh}#progress a{padding:5px;background-color:#f3f3f3;border:1px solid rgba(241,82,52,.47);border-right:0px;transition:.3s;color:#14181f}#progress a:first-child{border-radius:10px 0 0}#progress a:last-child{border-radius:00px 0 0 10px}#progress a svg{visibility:hidden;width:1px;transition:.3s}#progress a.active,#progress a:hover{background-color:#fff;border-radius:10px 0 0 10px}#progress a.active svg,#progress a:hover svg{visibility:visible;width:30px}.card .card-title,.container h1,.favs h1,.main-title{background:-moz-linear-gradient(311deg,#f15234 0,#edaa7d 100%);background:-webkit-linear-gradient(311deg,#f15234 0,#edaa7d 100%);background:linear-gradient(311deg,#f15234 0,#edaa7d 100%);-webkit-background-clip:text;-moz-background-clip:text}.skin-citizen-dark .mw-logo-icon{filter:invert(1)}