MediaWiki: Tweeki.css: Difference between revisions
From Wikimedicine
No edit summary Tag: Manual revert |
No edit summary |
||
Line 36: | Line 36: | ||
{ | { | ||
display: none !important; | display: none !important; | ||
} | |||
#searchInput | |||
{ | |||
width: 300px !important; | |||
} | } | ||
Line 58: | Line 62: | ||
} | } | ||
/* | /* Formatage du footer */ | ||
#footer-info | #footer-info | ||
Line 85: | Line 85: | ||
{ | { | ||
margin-bottom :15px !important; | margin-bottom :15px !important; | ||
} | |||
/* Formatage des catégories */ | |||
#catlinks | |||
{ | |||
display:block; | |||
} | } | ||
#catlinks | #catlinks | ||
Line 100: | Line 105: | ||
padding-bottom: 5px !important; | padding-bottom: 5px !important; | ||
} | } | ||
# | |||
/* Réduction de l'espace entre navbar et contenu */ | |||
#maincontentwrapper | |||
{ | |||
padding-top: 0px !important; | |||
} | |||
/* Formatage des rangées d'images responsives */ | |||
.customcard | |||
{ | { | ||
max-width:352px !important; | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | } | ||
# | /* Formatage des vignettes */ | ||
.thumbinner | |||
{ | |||
padding:0px !important; | |||
} | |||
.thumbcaption | |||
{ | |||
padding-top:12px !important; | |||
padding-bottom:12px !important; | |||
padding-right:20px !important; | |||
padding-left:20px !important; | |||
border-top:1px solid #c8ccd1 !important; | |||
} | |||
.thumbimage | |||
{ | { | ||
border-top:none !important; | |||
border-right:none !important; | |||
border-left:none !important; | |||
border-bottom:none !important; | |||
} | } |
Revision as of 06:55, 29 September 2023
/* CSS placed here will affect users of the Tweeki skin */ /* Formatage des titres */ #firstHeading { text-align: left !important; } /* Formatage de la topbar */ .navbar, #navbar .dropdown-menu { background-color: #0A2342 !important; } #navbar .dropdown-menu a:hover { background-color: #030f1c !important; } .navbar-brand { font-size: 1.5rem !important; } .navbar-brand, #t-tools, #pt-personaltools, #navbar .nav-link, #navbar .dropdown-item { color: #ffffff !important; } .navbar-toggler { background-color: #ffffff !important; } .tweeki-username { display: none !important; } #searchInput { width: 300px !important; } /* Formatage du bouton edit */ #ca-edit { background-color: #D81E5B !important; border-color: #D81E5B !important; } #sidebar-right .dropdown-toggle { background-color: #D81E5B !important; border-color: #D81E5B !important; } /* Rendre les images et thumbnails responsives */ img, .thumbinner { max-width: 100%; height: auto; } /* Formatage du footer */ #footer-info { color:black !important; line-height :1.75rem !important; } #footer-custom { line-height :1.75rem !important; } #footer { padding :0px 0px !important; } .mw-body { padding-bottom :0px !important; margin-bottom :0px !important; } [role=main] { margin-bottom :15px !important; } /* Formatage des catégories */ #catlinks { display:block; } #catlinks { background-color: white !important; } #catlinks li { color: #9e0d3c !important; background-color: #FFDEE9 !important; border-radius: 5px !important; margin-left: 5px !important; margin-right: 5px !important; padding-top: 5px !important; padding-bottom: 5px !important; } /* Réduction de l'espace entre navbar et contenu */ #maincontentwrapper { padding-top: 0px !important; } /* Formatage des rangées d'images responsives */ .customcard { max-width:352px !important; margin-left: auto; margin-right: auto; } /* Formatage des vignettes */ .thumbinner { padding:0px !important; } .thumbcaption { padding-top:12px !important; padding-bottom:12px !important; padding-right:20px !important; padding-left:20px !important; border-top:1px solid #c8ccd1 !important; } .thumbimage { border-top:none !important; border-right:none !important; border-left:none !important; border-bottom:none !important; }