Difference between revisions of "MediaWiki:Common.css"

From LIFS LipidXplorer Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
 
body {  
 
body {  
/*    background-color: #9fc2d4; */
+
     background-color: #FFFFFF ! important;
     background-color: #FFFFFF;
 
 
     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 
     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 
}
 
}
Line 23: Line 22:
 
   background-color: #FFFFFF;
 
   background-color: #FFFFFF;
 
}
 
}
 +
 
div #mw-head {
 
div #mw-head {
 
/* background-color: #9fc2d4; */
 
/* background-color: #9fc2d4; */
  background-color: #FFFFFF;
+
/*  background-color: #FFFFFF; */
 
}
 
}
  
Line 100: Line 100:
 
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 
}
 
}
.btn-success:hover {
+
 
     color: #fff;
+
[type="button"], [type="reset"], [type="submit"], button {
     background-color: #218838;
+
     -webkit-appearance: button;
     border-color: #1e7e34;
+
}
 +
button, select {
 +
     text-transform: none;
 +
}
 +
button, input {
 +
     overflow: visible;
 
}
 
}
.btn-danger:hover {
+
button, input, optgroup, select, textarea {
     color: #fff;
+
    margin: 0;
     background-color: #c82333;
+
     font-family: inherit;
     border-color: #bd2130;
+
     font-size: inherit;
 +
     line-height: inherit;
 
}
 
}
.btn:hover {
+
button {
     color: #212529;
+
     border-radius: 0;
    text-decoration: none;
 
 
}
 
}
 
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) {
 
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) {
 
     cursor: pointer;
 
     cursor: pointer;
 
}
 
}
.btn-success {
+
 
    color: #fff;
 
    background-color: #28a745;
 
    border-color: #28a745;
 
}
 
.btn-danger {
 
    color: #fff;
 
    background-color: #dc3545;
 
    border-color: #dc3545;
 
}
 
 
.btn {
 
.btn {
 
     display: inline-block;
 
     display: inline-block;
Line 149: Line 145:
 
     transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
 
     transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
 
}
 
}
[type="button"], [type="reset"], [type="submit"], button {
+
.btn-success {
     -webkit-appearance: button;
+
     color: #fff;
 +
    background-color: #28a745;
 +
    border-color: #28a745;
 
}
 
}
button, select {
+
.btn-danger {
     text-transform: none;
+
     color: #fff;
 +
    background-color: #dc3545;
 +
    border-color: #dc3545;
 
}
 
}
button, input {
+
 
     overflow: visible;
+
.btn-success:hover {
 +
     color: #fff;
 +
    background-color: #218838;
 +
    border-color: #1e7e34;
 
}
 
}
button, input, optgroup, select, textarea {
+
.btn-danger:hover {
    margin: 0;
+
     color: #fff;
    font-family: inherit;
+
     background-color: #c82333;
     font-size: inherit;
+
     border-color: #bd2130;
     line-height: inherit;
 
}
 
button {
 
     border-radius: 0;
 
 
}
 
}
 +
 
*, ::after, ::before {
 
*, ::after, ::before {
 
     box-sizing: border-box;
 
     box-sizing: border-box;

Latest revision as of 09:34, 10 June 2021

/* CSS placed here will be applied to all skins */
/* <nowiki> */
/* {{user language}} */
@import "//meta.wikimedia.org/w/index.php?title=MediaWiki:User_language.css&action=raw&ctype=text/css&r=2";

/* {{mbox}}, {{ambox}}, {{ombox}}, {{fmbox}}, etc... */
@import "//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-enwp-boxes.css&action=raw&ctype=text/css";

body { 
    background-color: #FFFFFF ! important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#mw-head-base, #mw-page-base {
/*    background-color: #9fc2d4; */
    background-color: #FFFFFF;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#mw-navigation, #mw-panel {
/* background-color: #9fc2d4; */
   background-color: #FFFFFF;
}

div #mw-head {
/* background-color: #9fc2d4; */
/*   background-color: #FFFFFF; */
}

a {
	text-decoration: none;
	color: #0088cc;
	background: none;
}

a:visited {
        color: #005e8d;
}

h1 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.mw-body h1, .mw-body-content h1 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.mw-body h2, .mw-body-content h2 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h2 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h3 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h4 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h5 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h6 {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.mw-body-content a.external {
color: #0088cc;
}

.mw-body-content a.external:visited {
color: #005e8d;
}

div#mw-panel #p-logo + div.portal, 
div#mw-panel div.portal,
#grey {
min-height: 20px;
padding: 8px;
margin-bottom: 20px;
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);

}
div#mw-panel div.portal div.body ul li a {
    color: #0088cc;
}
div#mw-panel div.portal div.body ul li a:visited {
    color: #005e8d;
}

body {
  background-color: #9fc2d4;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

[type="button"], [type="reset"], [type="submit"], button {
    -webkit-appearance: button;
}
button, select {
    text-transform: none;
}
button, input {
    overflow: visible;
}
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button {
    border-radius: 0;
}
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}
.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

*, ::after, ::before {
    box-sizing: border-box;
}

/* </nowiki> */