MediaWiki:Common.css: Difference between revisions
From Obsidian Scheduler
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 241: | Line 241: | ||
@media screen and (max-width: 550px) { | @media screen and (max-width: 550px) { | ||
.menu-toggle, .menu-toggle,#searchInput {border-color:#f2f2f2;} | #searchInput {padding:0;} | ||
.menu-toggle, .menu-toggle,#searchInput,#searchInput {border-color:#f2f2f2;} | |||
#p-search { | #p-search { | ||
height: 40px; | height: 40px; | ||
Revision as of 20:55, 27 March 2021
/* CSS placed here will be applied to all skins */
@import url('//fonts.googleapis.com/css?family=ABeeZee:regular,italic|Montserrat:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic|Crete+Round:regular,italic');
body {
font-family: "ABeeZee", sans-serif;
line-height: 1.5;
}
#content h2 {
font-family: "Crete Round", serif;
color: #59a399;
}
h1,
h2,
h3,
h4,
h5,
h6 {
border-bottom: 1px solid #f2f2f2;
padding-bottom: 0.5em;
}
h1.firstHeading,
#content h1,
#content h3 {
font-family: "Montserrat", sans-serif;
color: #0b6659;
font-weight: 600;
}
a,
a:visited,
#p-personal li a,
.mw-body a.external {
color: #59A399
}
a:hover,
.mw-body a.external:hover {
color: #bbd3c9
}
body {
background-image: none
}
.pBody {
border: none
}
.mw-body {
border: none;
padding: 30px;
}
.portlet ul {
list-style-type: none;
position: relative;
margin-bottom: .5em;
}
.portlet ul li {
list-style-type: none;
border-bottom: 1px dashed #eaeaeaea;
padding: 10px;
display: block;
}
.portlet li {
border: none;
}
#p-cactions li {
border: none;
}
#p-cactions li a,
#p-cactions li a:visited {
color: #108071;
font-weight: 600;
font-family: Montserrat;
border-bottom: 2px solid transparent;
padding: 10px 20px;
top: -10px;
text-transform: uppercase;
}
#p-cactions li a:hover {
color: #bbd3c9;
border-bottom: 2px solid #bbd3c9;
}
#p-cactions li.selected a:hover {
color: #108071;
border-bottom: transparent;
}
.portlet h3 {
text-transform: uppercase;
}
.pBody {
background: transparent;
}
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"],
.mw-ui-button.mw-ui-progressive,
.mw-ui-button.mw-ui-constructive,
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive>.oo-ui-buttonElement-button {
background-color: #108071;
border-color: #108071;
padding: 7px 13px;
color: #fff;
background-image: none;
text-transform: uppercase;
}
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="file"]:hover,
.mw-ui-button.mw-ui-progressive:hover,
.mw-ui-button.mw-ui-constructive:hover,
.oo-ui-buttonElement-framed.oo-ui-flaggedElement-progressive>.oo-ui-buttonElement-button:hover {
background-color: #bbd3c9;
border-color: #bbd3c9;
}
#searchInput {
margin: 20px 0;
padding: 10px;
}
div#footer {
border: none;
background: none;
}
.leftAlignTable th,
.leftAlignTable td {
text-align: left;
padding: 2px 4px;
}
pre,
code {
font-family: "Courier New", Courier, monospace;
font-size: 12px;
}
code {
padding: 1px 2px;
border: 1px solid #BBB;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
pre {
border: 1px solid #BBB;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#p-cactions li,
#p-cactions li a {
-webkit-border-top-left-radius: 3px;
-webkit-border-top-right-radius: 3px;
-moz-border-radius-topleft: 3px;
-moz-border-radius-topright: 3px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
#content,
.toc,
.mw-search-formheader {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
#p-navigation .pBody,
#p-search .pBody,
#p-tb .pBody {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
select,
textarea,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"] {
border: 1px solid #BBB;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
outline: 0;
-webkit-appearance: none;
padding: 2px 5px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.toc,
#toc {
margin-bottom: 15px;
}
h1 {
padding-top: 1.2em;
}
h2 {
padding-top: 1em;
}
h3,
h4,
h5 {
padding-top: .8em;
}
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
@media screen and (max-width: 550px) {
#searchInput {padding:0;}
.menu-toggle, .menu-toggle,#searchInput,#searchInput {border-color:#f2f2f2;}
#p-search {
height: 40px;
}
#searchInput {
margin: 3px 0 !important;
}
#searchform {
padding:0;
}
#column-content {padding-top:4.5em;}
#p-cactions-mobile li#ca-languages,
#p-cactions-mobile li#ca-tools {
margin-left: auto;
}
/* Hide the editing tools on mobile */
#p-cactions-mobile {
display: none;
}
}