MediaWiki:Medik.css: Difference between revisions
From Makerpedia
Narrowed sidebar Tag: Reverted |
Aaron's big blue button Tag: Reverted |
||
| Line 21: | Line 21: | ||
max-width: 90vw; | max-width: 90vw; | ||
} | } | ||
.mw-editable.action-view #ca-edit, .mw-editable.action-view #ca-ve-edit{ | |||
position: fixed; | |||
bottom: 5vh; | |||
right: 5vh; | |||
display: block; | |||
z-index: 100; | |||
height: fit-content; | |||
width: fit-content; | |||
background-color: rgb(0,100,255); | |||
color: white; | |||
border: 2px solid black; | |||
text-transform: uppercase; | |||
border-radius: 3em; | |||
padding: 1em; | |||
} | |||
.mw-editable.action-view #ca-edit a::before, .mw-editable.action-view #ca-ve-edit a::before{ | |||
width: 2em; | |||
height: 2em; | |||
content: ""; | |||
display: inline-block; | |||
vertical-align: middle; | |||
background-size: 100%; | |||
transform: translateY(-10%); | |||
background-color: white; | |||
mask: url("images/icons/edit.svg"); | |||
-webkit-mask: url("images/icons/edit.svg"); | |||
-webkit-mask-size: contain; | |||
mask-size: contain; | |||
} | |||
.mw-editable.action-view #ca-edit a, .mw-editable.action-view #ca-ve-edit a{ | |||
width: fit-content; | |||
height: fit-content; | |||
} | |||
Revision as of 19:53, 27 January 2025
/* All CSS here will be loaded for users of the Medik skin */
/* css from Aaron */
body {
height: 100%;
}
h2, h1, h3 {
font-family: Arial, Helvetica, sans-serif;
}
[show*='vid'] img, [show*='none'] img {
display: none;
}
[show*='img'] .videoBox, [show*='none'] .videoBox {
display: none;
}
.ytplayer {
max-width: 90vw;
}
.mw-editable.action-view #ca-edit, .mw-editable.action-view #ca-ve-edit{
position: fixed;
bottom: 5vh;
right: 5vh;
display: block;
z-index: 100;
height: fit-content;
width: fit-content;
background-color: rgb(0,100,255);
color: white;
border: 2px solid black;
text-transform: uppercase;
border-radius: 3em;
padding: 1em;
}
.mw-editable.action-view #ca-edit a::before, .mw-editable.action-view #ca-ve-edit a::before{
width: 2em;
height: 2em;
content: "";
display: inline-block;
vertical-align: middle;
background-size: 100%;
transform: translateY(-10%);
background-color: white;
mask: url("images/icons/edit.svg");
-webkit-mask: url("images/icons/edit.svg");
-webkit-mask-size: contain;
mask-size: contain;
}
.mw-editable.action-view #ca-edit a, .mw-editable.action-view #ca-ve-edit a{
width: fit-content;
height: fit-content;
}
#mw-navigation {
background-color: #003069;
max-width: 10em;
}
#p-navigation-label {
visibility: hidden;
}
#mw-navigation a:not(.disabled), #mw-navigation a:not(.disabled):hover {
color: white;
text-align: center;
}
@media screen and (min-width: 768px) {
#p-banner .mw-wiki-logo {
width: 5em;
height: 5em;
}
#site-navigation li a::before {
text-align: center;
display: block;
content: '';
background-size: 3em;
height: 3em;
width: 3em;
margin: auto;
margin-top: 1em;
filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(141deg) brightness(103%) contrast(101%);
}
}
#site-navigation li a:hover {
filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(141deg) brightness(103%) contrast(101%);
}
#site-navigation li {
text-align: center;
}
#n-HOME a::before, #n-HOME-1 a::before {
background-image: url("images/icons/home.svg");
}
#n-SPACES a::before, #n-SPACES-1 a::before {
background-image: url("images/icons/door.svg");
}
#n-TOOLS a::before, #n-TOOLS-1 a::before {
background-image: url("images/icons/tools.svg");
}
#n-TUTORIALS a::before, #n-SUBMIT-PROJECT a::before {
background-image: url("images/icons/howTo.svg");
}
#n-PROJECTS a::before {
background-image: url("images/icons/gallery.svg");
}