|
|
(64 révisions intermédiaires par 6 utilisateurs non affichées) |
Ligne 1 : |
Ligne 1 : |
− | /* Le CSS placé ici sera appliqué à tous les habillages. */ | + | /* C O M M O N . c s s |
| + | * |
| + | * # dark mode |
| + | * # templates |
| + | * ## badges |
| | | |
| /* une media query qui permet de prendre en compte la préférence de couleur du navigateur. | | /* une media query qui permet de prendre en compte la préférence de couleur du navigateur. |
− | Tout ce qui est en dehor de cette @media est pour le thème blanc et dans le @media (prefers-color-scheme: dark) */ | + | Tout ce qui est en dehors de cette @media est pour le thème blanc et dans le @media (prefers-color-scheme: dark) */ |
| | | |
| + | /* Liste des éléments à inverser |
| + | * div.thumbcaption /* image "thumb" |
| + | * button.button.search /* lien externes |
| + | * a.external.free /* lien externes |
| + | * table.wikitable /* Table wiki ex : En construction Pika |
| + | */ |
| + | |
| + | /* |
| @media (prefers-color-scheme: dark) { | | @media (prefers-color-scheme: dark) { |
| | | |
− | html {
| + | .page-Bienvenue_à_l’erg h1 { |
− | background-color: #21201E;
| + | display:inline=block; |
− | color: white;
| + | color:red !important; |
− | }
| |
− | body{.
| |
− | background-color:inherit;
| |
− | color:inherit; | |
− | background: #21201E;
| |
| } | | } |
− | | + | code { |
− | body.action-view #page-content a{
| + | background-color: #111; |
− | color: none; | + | border-radius: 4px; |
| + | border: 2px solid #666; |
| + | color: #999; |
| + | font-size: .9em; |
| } | | } |
| + | .title { |
| + | color: #9557b5; |
| } | | } |
− | #navwrapper {
| + | .mw-headline { |
− | background: darkgrey;
| + | color: #3c856b; |
| } | | } |
− | .top-bar-section { | + | body.action-view #page-content a { |
− | background: inherit;
| + | color: white; |
| } | | } |
| + | html { |
| + | background-color: #222; |
| + | background-color: #222; |
| + | color: white; |
| + | } |
| + | body{. |
| + | background-color:inherit; |
| + | color:inherit; |
| + | background: #222; |
| + | } |
| + | } |
| + | |
| + | */ |
| + | pre{ |
| | | |
− | pre{
| + | border-radius: 10px; |
| + | } |
| + | .rssicon { |
| + | display: inline-block; |
| + | width: 32px; |
| + | height: 32px; |
| + | background-image: url(/mw/resources/assets/Feed-icon.png); |
| + | } |
| | | |
− | border-radius: 10px;
| |
− | }
| |
− | .rssicon {
| |
− | display: inline-block;
| |
− | width: 32px;
| |
− | height: 32px;
| |
− | background-image: url(/mw/resources/assets/Feed-icon.png);
| |
− | }
| |
− |
| |
| | | |
| | | |
− | .hidden { | + | .hidden { |
| display: none; | | display: none; |
− | } | + | } |
| | | |
− | table.infobox { | + | table.infobox { |
− | width: 30em;
| + | width: 30em; |
− | font-size: 90%;
| + | font-size: 90%; |
− | border: 1px solid #aaaaaa;
| + | border: 1px solid #aaaaaa; |
− | background-color: #f9f9f9;
| + | background-color: #f9f9f9; |
− | color: black;
| + | color: black; |
− | margin-bottom: 0.5em;
| + | margin-bottom: 0.5em; |
− | margin-left: 1em;
| + | margin-left: 1em; |
− | padding: 0.2em;
| + | padding: 0.2em; |
− | float: right;
| + | float: right; |
− | clear: right;
| + | clear: right; |
− | text-align:left;
| + | text-align:left; |
− | } | + | } |
| | | |
− | table.infobox th.head { | + | table.infobox th.head { |
− | text-align: center;
| + | text-align: center; |
− | background-color:#ccccff;
| + | background-color:#ccccff; |
− | } | + | } |
| | | |
− | /* Flexgal */ | + | /* Flexgal */ |
− | div.flexgal { | + | div.flexgal { |
− | box-sizing: border-box;
| + | box-sizing: border-box; |
− | margin: 0;
| + | margin: 0; |
− | padding: 0;
| + | padding: 0; |
− | } | + | } |
| | | |
− | div.flexgal div.item { | + | div.flexgal div.item { |
− | display: flexbox;
| + | display: flexbox; |
− | } | + | } |
− | div.flexgal div.item p { | + | div.flexgal div.item p { |
− | margin: 0;
| + | margin: 0; |
− | padding: 0; /* padding + margin seem to conflict with the grid layout */
| + | padding: 0; /* padding + margin seem to conflict with the grid layout */ |
− | } | + | } |
− | a img { | + | a img { |
− | border: none;
| + | border: none; |
− | vertical-align: top; /* magically this cancels the containing anchor's bottom border */
| + | vertical-align: top; /* magically this cancels the containing anchor's bottom border */ |
− | } | + | } |
| | | |
− | div.pubdate { | + | div.pubdate { |
− | clear: both;
| + | clear: both; |
− | } | + | } |
| | | |
− | .Media { | + | .Media { |
− | display: flex;
| + | display: flex; |
− | align-items: flex-start;
| + | align-items: flex-start; |
− | margin-bottom: 1em;
| + | margin-bottom: 1em; |
− | } | + | } |
| | | |
− | .Media-figure { | + | .Media-figure { |
− | margin-right: 1em;
| + | margin-right: 1em; |
− | } | + | } |
| | | |
− | .Media-body { | + | .Media-body { |
− | flex: 1;
| + | flex: 1; |
− | } | + | } |
| | | |
− | /* simplify the footer links */ | + | /* simplify the footer links */ |
− | ul#poweredby, li#footer-disclaimer { display: none; } | + | ul#poweredby, li#footer-disclaimer { display: none; } |
| | | |
− | .snowflake { | + | .snowflake { |
− | position:absolute; | + | position:absolute; |
− | color:blue; | + | color:blue; |
− | transition: top 5s linear; | + | transition: top 5s linear; |
− | -webkit-text-stroke-width: 1px;
| + | -webkit-text-stroke-width: 1px; |
− | -webkit-text-stroke-color: rgba(0,0,0,0.01);
| + | -webkit-text-stroke-color: rgba(0,0,0,0.01); |
− | } | + | } |
| | | |
− | #content { | + | #content { |
− | max-width: 80ch; | + | max-width: 80ch; |
− | margin: auto; | + | margin: auto; |
− | } | + | } |
| | | |
| | | |
− | /* External Image Template */ | + | /* -- External Image Template -- */ |
− | .externalimage-holder { | + | .externalimage-holder { |
| display:inline-block; | | display:inline-block; |
| position: relative; | | position: relative; |
− | } | + | } |
− | .externalimage-holder img { | + | .externalimage-holder img { |
| width: 100%; | | width: 100%; |
| height: auto; | | height: auto; |
− | } | + | } |
| + | |
| + | /* -- Captcha Page Edition -- */ |
| + | label[for=wpCaptchaWord] { |
| + | background-color:#FFCCCB; |
| + | color:white; |
| + | border:2px solid white; |
| + | } |
| | | |
| + | /* -- Badges -- */ |
| + | .badge { |
| + | margin:10px; |
| + | display:inline-block; |
| + | box-sizing:border-box; |
| + | padding:0; |
| + | margin:0; |
| | | |
| + | border:2px solid red; |
| + | width:300px; |
| + | height:75px; |
| | | |
− | /* ------- TEST -------- */
| + | overflow:hidden; |
| + | } |
| | | |
− | @media screen and (min-width: 768px) {
| + | .badge p { |
− | .banner-container, .header, .page-header-bar, .overlay-header, .content, .overlay-content, .content-unstyled, .pre-content, .post-content, #mw-content-text > form, #mw-mf-page-center .pointer-overlay {
| + | margin:0; |
− | width: 100%;
| + | text-align:center; |
− | max-width: 90%;
| |
− | }
| |
− | .page-heading {
| |
− | width: calc(100% - 330px);
| |
− | }
| |
− | .thumbimage {
| |
− | border-top-right-radius: 20px !important;
| |
− | border-bottom-right-radius: 0px !important;
| |
− | border-top-left-radius: 20px !important;
| |
− | border-bottom-left-radius: 0px !important;
| |
− | box-shadow: none !important;
| |
− | }
| |
− | .overlay .header-container.header-chrome {
| |
− | top: 0 !important;
| |
− | z-index: 2;
| |
− | border: 0;
| |
− | padding: 0 !important;
| |
− | margin: 0 !important;
| |
− | left: 0;
| |
− | width: 100% !important;
| |
− | right: inherit;
| |
− | border-radius: 0px !important;
| |
− | }
| |
− | .header-container.header-chrome:hover {
| |
− | width: 340px !important;
| |
− | margin: 15px !important;
| |
− | border-top-left-radius: 20px !important;
| |
− | border-top-right-radius: 20px !important;
| |
− | border-bottom-right-radius: 20px !important;
| |
− | border-bottom-left-radius: 20px !important;
| |
− | padding-top: 5px !important;
| |
− | padding-bottom: 5px !important;
| |
− | }
| |
− | .header-chrome:hover .branding-box img {
| |
− | width: 116px !important;
| |
− | opacity: 1 !important;
| |
− | }
| |
− | .overlay.search-overlay .overlay-content {
| |
− | max-width: 90%;
| |
− | }
| |
− | .overlay .header-container.header-chrome:hover {
| |
− | width: 100% !important;
| |
− | margin: 0px !important;
| |
− | border-top-left-radius: 0px !important;
| |
− | border-top-right-radius: 0px !important;
| |
− | border-bottom-right-radius: 0px !important;
| |
− | border-bottom-left-radius: 0px !important;
| |
− | padding-top: 0px !important;
| |
− | padding-bottom: 0px !important;
| |
− | }
| |
− | .header-container.header-chrome {
| |
− | background: var(--menu-background);
| |
− | /*
| |
− | -webkit-backdrop-filter: blur(20px);
| |
− | backdrop-filter: blur(20px);
| |
− | */
| |
− | position: fixed !important;
| |
− | top: 0 !important;
| |
− | z-index: 2;
| |
− | padding-top: 5px;
| |
− | width: 340px;
| |
− | padding-bottom: 5px;
| |
− | margin: 15px;
| |
− | border: 0;
| |
− | border-radius: 20px;
| |
− | right: 0;
| |
− | box-shadow: 3px 3px 6px rgba(0,0,0,0.20) !important;
| |
− | }
| |
− | .header-chrome.overlay-header-container + .overlay-content {
| |
− | padding-top: 0;
| |
− | margin-top: 3.375em !important;
| |
− | }
| |
− | .thumbimage {
| |
− | border-top-right-radius: 20px;
| |
− | border-top-left-radius: 20px;
| |
− | }
| |
− | .thumb {
| |
− | box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
| |
− | border-radius: 20px;
| |
− | }
| |
− | .content figcaption, .content .thumbcaption {
| |
− | padding-left: 15px !important;
| |
− | padding-right: 15px !important;
| |
− | padding-bottom: 15px !important;
| |
− | box-sizing: border-box;
| |
− | padding-top: 10px !important;
| |
− | color: var(--caption);
| |
− | }
| |
− | .page-actions-menu__list-item > a {
| |
− | font-weight: 400;
| |
− | font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Helvetica Neue",sans-serif;
| |
− | color: var(--grey-text-color);
| |
− | }
| |
− | #main-menu-input:checked .mw-body {
| |
− | transform: translate(-300px, 0) !important;
| |
− | transition: transform 250ms ease-in-out;
| |
− | }
| |
| | | |
− | .toggle-list__checkbox .mw-body {
| + | font-size: 8pt; |
− | transform: translate(-300px, 0) !important;
| + | line-height: 9pt; |
− | transition: transform 250ms ease-in-out;
| |
− | }
| |
| } | | } |
− | @media screen and (min-width: 1025px) {
| + | |
− | .pre-content h1 {
| + | .badge .b-icon { |
− | font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Helvetica Neue",sans-serif;
| + | padding:5px; |
− | font-weight: 900;
| + | border-right:1px solid black; |
− | font-size: 3em;
| + | position:relative; |
− | color: var(--text-color);
| + | display:inline-block; |
− | }
| + | width:25%; |
| + | height:100%; |
| + | |
| + | vertical-align:top; |
| } | | } |
− | .header .search-box {
| + | |
− | display: none;
| + | .badge .b-infos { |
− | }
| + | position:relative; |
− | #mw-mf-page-left ul.hlist li a {
| + | display:inline-block; |
− | color: var(--link-color);
| + | width:70%; |
− | }
| |
− | .overlay-header-container, .overlay-footer-container { | |
− | background: var(--translucent-background);
| |
− | }
| |
− | .content table.infobox {
| |
− | background-color: #fff;
| |
− | border: none;
| |
− | }
| |
− | #mw-mf-page-left {
| |
− | right: 0;
| |
− | top: 0;
| |
− | left: inherit;
| |
− | background: var(--translucent-background);
| |
− | -webkit-transform: translate(100%,0);
| |
− | -moz-transform: translate(100%,0);
| |
− | -ms-transform: translate(100%,0);
| |
− | transform: translate(100%,0);
| |
− | }
| |
− | #main-menu-input:checked ~ .main-menu-mask {
| |
− | opacity: 1;
| |
− | }
| |
− | .mw-searchresults-has-iw .iw-resultset {
| |
− | background: var(--infobox-background);
| |
− | }
| |
− | #main-menu-input:checked ~ body {
| |
− | overflow: hidden !important;
| |
− | }
| |
− | .main-menu-mask {
| |
− | background: rgba(0,0,0,0.2);
| |
− | -webkit-backdrop-filter: blur(10px);
| |
− | backdrop-filter: blur(10px);
| |
− | }
| |
− | /* Dark Mode */
| |
− | html, body, #content, .mw-body, #mw-mf-page-center {
| |
− | background: var(--body-background);
| |
− | color: var(--text-color);
| |
− | }
| |
− | .toggle-list__list {
| |
− | background: var(--translucent-background);
| |
− | -webkit-backdrop-filter: blur(20px);
| |
− | backdrop-filter: blur(20px);
| |
− | }
| |
− | .toggle-list-item:hover {
| |
− | background: var(--body-background);
| |
− | }
| |
− | .toggle-list-item__label {
| |
− | color: var(--text-color);
| |
− | }
| |
− | #mw-usercssyoucanpreview {
| |
− | background: #fff;
| |
− | }
| |
− | .mw-highlight {
| |
− | background: var(--translucent-background);
| |
− | border-radius: 20px;
| |
− | border: 0;
| |
− | }
| |
− | .wikitable, table {
| |
− | color: #000;
| |
− | background: #fff;
| |
− | }
| |
− | .page-summary h2, .page-summary h3, .overlay.search-overlay li.page-summary .wikidata-description {
| |
− | color: var(--text-color);
| |
− |
| |
− | }
| |
− | .unicode, .haudio {
| |
− | filter: var(--filter);
| |
− | }
| |
− | .branding-box img {
| |
− | filter: var(--filter);
| |
− | }
| |
− | .header .branding-box {
| |
− | width: 0px;
| |
− | transition: 100ms ease-in-out;
| |
− | }
| |
− | .header .branding-box h1 img, .header .branding-box a img {
| |
− | transition: 250ms ease-in-out;
| |
− | }
| |
− | .mw-ui-icon-element, .mw-ui-icon-before:before {
| |
− | filter: var(--filter);
| |
− | }
| |
− | .client-js .toc {
| |
− | background-color: var(--body-background);
| |
− | border-radius: 20px;
| |
− | }
| |
− | #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;
| |
− | filter: var(--filter);
| |
− | }
| |
− | .minerva__tab-container .minerva__tab:visited, .minerva__tab-container .minerva__tab:hover, .minerva__tab-container .minerva__tab:active, .minerva__tab-container .minerva__tab.new, .minerva__tab-container .minerva__tab.new:visited, .minerva__tab-container .minerva__tab.new:active, .minerva__tab-container .minerva__tab.new:hover {
| |
− | color: var(--text-color);
| |
− | }
| |
− | #mw-mf-page-left ul li a {
| |
− | color: var(--text-color);
| |
− | }
| |
− | .content figure .thumbinner, .content .thumb .thumbinner {
| |
− | border-radius: 20px;
| |
− | border: none;
| |
− | background: var(--infobox-background);
| |
− | box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
| |
− |
| |
− | }
| |
− | .overlay {
| |
− | background: var(--translucent-background);
| |
− | -webkit-backdrop-filter: blur(20px);
| |
− | backdrop-filter: blur(20px);
| |
− |
| |
− | }
| |
− | .hatnote {
| |
− | background: var(--translucent-background);
| |
− | color: var(--caption);
| |
− | border-radius: 10px;
| |
− | }
| |
− | a {
| |
− | color: var(--link-color);
| |
− |
| |
− | }
| |
− | a:visited {
| |
− | color: var(--visited-link-color);
| |
− |
| |
− | }
| |
− | .infobox a, .wikitable a, table a {
| |
− | color: #3366cc;
| |
− |
| |
− | }
| |
− | .infobox a:visited, .wikitable a:visited, table a:visited {
| |
− | color: #6b4ba1;
| |
− | }
| |
− | .infobox img {
| |
− | border-top-right-radius: 0 !important;
| |
− | border-top-left-radius: 0 !important;
| |
− | border-bottom-left-radius: 0 !important;
| |
− | border-bottom-right-radius: 0 !important;
| |
− | }
| |
− | .infobox .thumb {
| |
− | border-top-right-radius: 0 !important;
| |
− | border-top-left-radius: 0 !important;
| |
− | border-bottom-left-radius: 0 !important;
| |
− | border-bottom-right-radius: 0 !important;
| |
− | }
| |
− | .infobox .thumbimage {
| |
− | border-top-right-radius: 0 !important;
| |
− | border-top-left-radius: 0 !important;
| |
− | border-bottom-left-radius: 0 !important;
| |
− | border-bottom-right-radius: 0 !important;
| |
− | }
| |
− | :root {
| |
− | --translucent-background: rgba(234, 236, 240, 0.8);
| |
− | --infobox-background: rgba(255, 255, 255, 1);
| |
− | --menu-background: rgba(234, 236, 240, 0.96);
| |
− | --hatnote-background: rgba(234, 236, 240, 0.8);
| |
− | --body-background: #ffffff;
| |
− | --text-color: #000000;
| |
− | --link-color: #3366cc;
| |
− | --visited-link-color: #6b4ba1;
| |
− | --filter: none;
| |
− | --caption: #54595d;
| |
− | --image-border: none;
| |
− | }
| |
− | @media (prefers-color-scheme: dark) {
| |
− | :root {
| |
− | --translucent-background: rgba(75, 75, 75, 0.8);
| |
− | --infobox-background: rgba(75, 75, 75, 0.8);
| |
− | --menu-background: rgba(75, 75, 75, 0.96);
| |
− | --hatnote-background: rgba(75, 75, 75, 0.5);
| |
− | --body-background: #000;
| |
− | --text-color: #fff;
| |
− | --link-color: #9eb6e7;
| |
− | --visited-link-color: #c0b0da;
| |
− | --filter: brightness(0) invert(1);
| |
− | --caption: #fff;
| |
− | --image-border: 2px solid #fff;
| |
− | }
| |
| } | | } |
| | | |
− | /* Banner */
| + | .badge h6 { |
− | #searchInput {
| + | text-align:center; |
− | border-radius: 10px;
| + | margin:0; |
− | }
| + | padding:0; |
− | @media screen and (min-width: 720px) {
| |
− | }
| |
− | .search-overlay { | |
− | z-index: 3;
| |
− | }
| |
− | #mw-mf-page-left ul {
| |
− | padding-bottom: 0px;
| |
− | padding-top: 22px;
| |
− | }
| |
− | #mw-mf-page-left {
| |
− | z-index: 4;
| |
− | }
| |
− | #mw-mf-page-left ul li a {
| |
− | color: var(--text-color);
| |
− | }
| |
− | #mw-mf-page-left ul li {
| |
− | background: transparent;
| |
− | border: none;
| |
− | }
| |
− | .overlay.search-overlay.visible {
| |
− | overflow: scroll;
| |
− | }
| |
− | .overlay.search-overlay .results, .overlay.search-overlay .search-feedback {
| |
− | background: transparent;
| |
− | box-shadow: none;
| |
− | }
| |
− | .overlay.search-overlay li.page-summary {
| |
− | margin-bottom: 20px;
| |
− | margin-top: 10px; | |
− | border: 0;
| |
− | box-shadow: 3px 3px 6px rgba(0,0,0,0.20);
| |
− | border-radius: 20px;
| |
− | }
| |
− | .page-list, .topic-title-list, .site-link-list {
| |
− | overflow: visible;
| |
− | }
| |
− | .list-thumb.list-thumb-y {
| |
− | border-top-left-radius: 20px;
| |
− | border-bottom-left-radius: 20px;
| |
− | }
| |
− | .overlay.search-overlay .search-content {
| |
− | border-bottom: 0;
| |
− | }
| |
− | .overlay.search-overlay {
| |
− | background: var(--translucent-background);
| |
− | -webkit-backdrop-filter: blur(20px);
| |
− | backdrop-filter: blur(20px);
| |
− | }
| |
− | .header-container.header-chrome {
| |
− | background: var(--menu-background);
| |
− | position: fixed;
| |
− | top: 0;
| |
− | right: 0;
| |
− | z-index: 2;
| |
− | box-sizing: border-box;
| |
− | border: 0;
| |
− | height: 65px;
| |
− | box-shadow: 3px 3px 6px rgba(0,0,0,0.20) !important;
| |
− | transition: all 250ms ease-in-out;
| |
− | }
| |
− | /* Targeting Safari for Backdrop Filter and Font size bug*/
| |
− | @media not all and (min-resolution:.001dpcm) {
| |
− | @media {
| |
− | .header-container.header-chrome {
| |
− | background: var(--translucent-background) !important;
| |
− | -webkit-backdrop-filter: blur(20px);
| |
− | backdrop-filter: blur(20px);
| |
− | }
| |
− | @media screen and (min-width: 768px) {
| |
− | body, p {
| |
− | font-size: 1.1em !important;
| |
− | }
| |
− | .pre-content h1 {
| |
− | font-size: 3em;
| |
− | }
| |
− | }
| |
− | }
| |
− | }
| |
− | @media screen and (max-width: 767px) {
| |
− | #mw-mf-viewport {
| |
− | padding-top: 60px;
| |
− | }
| |
− | .header-container.header-chrome {
| |
− | width: 100%;
| |
− | }
| |
− | .content figcaption, .content .thumbcaption {
| |
− | color: var(--text-color);
| |
− | padding: 15px !important;
| |
− | }
| |
− | .notifications-overlay.navigation-drawer {
| |
− | top: 53px;
| |
− | }
| |
− | }
| |
− | .header-chrome.overlay-header-container + .overlay-content {
| |
− | padding-top: 0;
| |
− | margin-top: 3.375em;
| |
− | }
| |
− | .overlay-content {
| |
− | z-index: 1;
| |
− | }
| |
− | .page-actions-menu {
| |
− | border-top: 0;
| |
− | border-bottom: 0;
| |
− | }
| |
− | /* Fonts */
| |
− | .pre-content h1 {
| |
− | font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Helvetica Neue",sans-serif;
| |
− | font-weight: 900;
| |
− | color: var(--text-color);
| |
− | font-size: 2em;
| |
− | }
| |
− | @media screen and (min-width: 769px) {
| |
− | .thumbinner img {
| |
− | width: calc(100% + 2px);
| |
− | }
| |
− | }
| |
− | h2 .mw-headline {
| |
− | font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Helvetica Neue",sans-serif;
| |
− | font-weight: 800;
| |
− | font-size: 1.5em;
| |
− | color: var(--text-color);
| |
− | }
| |
− | h3 .mw-headline{
| |
− | font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Helvetica Neue",sans-serif;
| |
− | font-weight: 600;
| |
− | font-size: 25px;
| |
− | color: var(--text-color);
| |
− | }
| |
− | h4 .mw-headline{
| |
− | font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Helvetica Neue",sans-serif;
| |
− | font-weight: 500;
| |
− | font-size: 18px;
| |
− | color: var(--text-color);
| |
− | }
| |
− | body, p {
| |
− | font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text","Helvetica Neue",sans-serif;
| |
− | font-weight: 300;
| |
− | }
| |
− | /* Visual Tweaks */
| |
− | footer .last-modified-bar, .minerva-footer, footer > .post-content > h2 {
| |
− | border-bottom: none;
| |
− | border-top: none;
| |
− | }
| |
− | .overlay.media-viewer .cancel {
| |
− | top: 60px;
| |
− | }
| |
− | .infobox {
| |
− | border-radius: 20px;
| |
− | box-shadow: 3px 3px 12px rgba(0,0,0,0.3);
| |
− | }
| |
− | table {
| |
− | border-radius: 0px;
| |
− | box-shadow: 3px 3px 12px rgba(0,0,0,0.3);
| |
− | }
| |
− | input {
| |
− | border-radius: 10px;
| |
− | }
| |
− | .thumbimage {
| |
− | border-top-right-radius: 20px;
| |
− | border-bottom-right-radius: 0px;
| |
− | border-top-left-radius: 20px;
| |
− | border-bottom-left-radius: 0px;
| |
− | box-shadow: none;
| |
− | }
| |
− | .header {
| |
− | border-top: none;
| |
− | height: 100%;
| |
− | }
| |
− | .overlay.search-overlay .header input {
| |
− | border-radius: 10px;
| |
− | border: 0;
| |
− | }
| |
− | .client-js #searchIcon {
| |
− | display: block;
| |
− | }
| |
− | #mw-clearyourcache {
| |
− | display: none;
| |
− | }
| |
− | .skin-minerva-search-trigger {
| |
− | display: none;
| |
− | }
| |
− | .list-thumb.list-thumb-none {
| |
− | border-top-left-radius: 20px;
| |
− | border-bottom-left-radius: 20px;
| |
− | }
| |
− | .content table.infobox {
| |
− | background: var(--infobox-background) !important;
| |
− | color: var(--text-color);
| |
− | border-radius: 20px;
| |
− | }
| |
− | table.infobox {
| |
− | max-width: 350px;
| |
− | }
| |
− | .content table.infobox a {
| |
− | color: var(--link-color);
| |
− | }
| |
− | .content table.infobox a:visited {
| |
− | color: var(--visited-link-color);
| |
| } | | } |
| | | |
− | thead {
| + | #content li:not(#toc ul li) {list-style: none; margin-bottom: 10px; position: relative; } |
− | backdrop-filter: blur(20px);
| + | #content li:not(#toc ul li)::before {content: "\22C6 \00a0"; } |
− | -webkit-backdrop-filter: blur(20px);
| + | #toc {z-index: 100;} |
− | border: 1px solid #54595d;
| |
− | border-color: rgba(84,89,93,0.3);
| |
− | }
| |
− | thead th {
| |
− | background-color: rgba(234, 236, 240, 0.8) !important;
| |
− | } | |
− | .hatnote a, .dablink a, .rellink a {
| |
− | color: var(--link-color);
| |
− | }
| |
− | /* Editor */
| |
− | .oo-ui-toolbar-bar {
| |
− | background-color: var(--translucent-background);
| |
− | -webkit-backdrop-filter: blur(20px);
| |
− | backdrop-filter: blur(20px);
| |
− | color: var(--text-color);
| |
− | }
| |
− | .oo-ui-iconElement-icon {
| |
− | filter: var(--filter);
| |
− | } | |
− | .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon, .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator {
| |
− | filter: var(--filter);
| |
− | }
| |
− | .client-js .mw-edittools-section input[type="button"] {
| |
− | color: var(--text-color);
| |
− | } | |