MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 261: | Line 261: | ||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
width: | width: 30px; | ||
height: | height: 17px; | ||
} | } | ||
Line 286: | Line 286: | ||
position: absolute; | position: absolute; | ||
content: ""; | content: ""; | ||
height: | height: 13px; | ||
width: | width: 13px; | ||
left: | left: 2px; | ||
bottom: | bottom: 2px; | ||
background-color: white; | background-color: white; | ||
-webkit-transition: .4s; | -webkit-transition: .4s; | ||
Line 296: | Line 296: | ||
input:checked + .slider { | input:checked + .slider { | ||
background-color: # | background-color: #4c4c4c; | ||
} | } | ||
input:focus + .slider { | input:focus + .slider { | ||
box-shadow: 0 0 1px # | box-shadow: 0 0 1px #4c4c4c; | ||
} | } | ||
input:checked + .slider:before { | input:checked + .slider:before { | ||
-webkit-transform: translateX( | -webkit-transform: translateX(13px); | ||
-ms-transform: translateX( | -ms-transform: translateX(13px); | ||
transform: translateX( | transform: translateX(13px); | ||
} | } | ||
/* Rounded sliders */ | /* Rounded sliders */ | ||
.slider.round { | .slider.round { | ||
border-radius: | border-radius: 17px; | ||
} | } | ||
Revision as of 19:43, 2 March 2021
/* CSS placed here will be applied to all skins */
/* ============================== general interface =============================== */
/* top bar cleanup */
#mw-mf-main-menu-button { display:none; }
.header .branding-box { width:auto; }
.minerva-user-notifications { display:none; }
.minerva-user-menu { display:none; }
.minerva__tab-container { display:none; }
.page-actions-menu { display:none; }
/* top bar styling */
.header-container.header-chrome {
background-color: #ffffff;
color: #4c4c4c;
box-shadow: none;
}
#searchInput {
color: grey;
border: 1px solid #4c4c4c;
border-radius: 1.125em;
}
/* left-hand menu cleanup */
#p-interaction { display:none; }
/* bottom area cleanup */
.talk { display:none; }
.last-modified-bar { display:none; }
footer .hlist li::after, .mw-footer .hlist li::after {
color: #202122;
}
.footer-info { display:none; }
/* page layout and colors */
.mw-body { background: #fbf0a4; }
.heading-holder { display:none; }
a {
color: black;
text-decoration: underline;
}
a:hover {
color: #4c4c4c;
text-decoration: none;
}
a:visited {
color: #4c4c4c;
}
a.external {
color: black;
text-decoration: underline;
}
a.external:hover {
color: #4c4c4c;
text-decoration: none;
}
a.external:visited {
color: #4c4c4c;
}
.content {
background: #ffffff;
margin-top: -1px;
padding: 30px 60px 30px 60px;
box-shadow: inset 0 3px 3px rgba(0,0,0,0.08);
}
.img-comfy {
margin: 30px;
}
.custom-mobile-only { display: none; }
/* ============================== templates =============================== */
.home-button {
width: 9em;
margin: 20px auto;
padding: 8px;
text-align: center;
background-color: white;
border: 1px solid #4c4c4c;
border-radius: 2em;
transition: .5s;
}
a.home-button-link {
text-decoration: none;
}
.home-button:hover {
box-shadow: 0 4px 4px rgba(0,0,0,0.08);
}
.home-header-container {
position: relative;
background-color: #4c4c4c;
color: #fbf0a4;
padding: 20px 40px 20px 40px;
margin: -38px -60px 30px -60px;
}
.home-header-img {
width: 70px;
position: absolute;
right: 30px;
top: 50%;
transform: translate(-50%, -50%);
}
.home-header-title {
margin: 0;
font-size: 300%;
font-family: 'Linux Libertine','Georgia','Times',serif;
}
.home-picture-box {
height: 300px;
margin: 30px -60px 10px -60px;
background-color: #4c4c4c;
background-image: url('https://www.wittgensteinproject.org/w/images/9/99/Skjolden_from_the_other_shore_of_the_small_eidsvatnet_lake_Nicol%C3%A1s_Boullosa_CC_BY.jpg');
background-position: center bottom;
background-repeat: no-repeat;
background-size: 100%;
}
a.home-header-link {
color: #fbf0a4;
text-decoration: none;
}
a.home-header-link:hover {
color: #fbf0a4;
text-decoration: none;
}
a.home-header-link:visited {
color: #fbf0a4;
text-decoration: none;
}
.tl-check { display:none; }
.toc-item {
display:inline-block;
width: 4em;
margin: 3px;
}
.custom-toc {
width: 65%;
margin:20px auto 20px auto;
}
.custom-video {
display: block;
margin: 30px auto;
border: 1px solid silver;
width:640px;
height:360px;
}
/* Template:Header */
.header-lines {
margin:50px auto 50px auto;
clear:both;
text-align:center;
border-top: 3px double #CCC;
color:#222;
line-height:120%;
width:80%;
}
.header-title {
font-size: 300%;
text-align: center;
margin-top: -95px;
font-family: 'Linux Libertine','Georgia','Times',serif;
}
.header-whitespace {
background-color: white;
}
/* Template:Title */
.tl-title {
font-family: 'Linux Libertine','Georgia','Times',serif;
font-size: 1.7em;
text-align: center;
margin-top: 30px;
margin-bottom: 30px;
}
/* Template:Top */
.top-arrow {
position: fixed;
top: 50%;
right: 20px;
}
/* Template:Nowrap */
.nowrap {
white-space: nowrap;
}
/* Template:ParTLP */
.tlp-aside-par {
margin-left: -8em;
float: left;
}
.tlp-container {
margin-left: 8em;
}
/* Template:BBB TS reference */
.bbb-aside-par {
float: right;
margin-right: -8em;
}
.bbb-container {
margin-right: 8em;
}
/* Template:Person */
.img-person-left {
float: left;
margin-left: -50px;
margin-right: 30px;
}
.img-person-right {
float: right;
margin-right: -50px;
margin-left: 30px;
}
.person-container-left {
background-color: #f0f0f0;
padding: 30px;
margin: 0 -60px;
}
.person-container-right {
background-color: #ffffff;
padding: 30px;
margin: 0 -60px;
}
/* Template:Notes toggle */
.switch {
position: relative;
display: inline-block;
width: 30px;
height: 17px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 13px;
width: 13px;
left: 2px;
bottom: 2px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #4c4c4c;
}
input:focus + .slider {
box-shadow: 0 0 1px #4c4c4c;
}
input:checked + .slider:before {
-webkit-transform: translateX(13px);
-ms-transform: translateX(13px);
transform: translateX(13px);
}
/* Rounded sliders */
.slider.round {
border-radius: 17px;
}
.slider.round:before {
border-radius: 50%;
}
/* ============================== mobile responsiveness =============================== */
#mf-banner { display: none; }