Structorica Wiki/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 31: | Line 31: | ||
transition-duration: .1s; | transition-duration: .1s; | ||
} | } | ||
.mp-button::after { | |||
display: block; | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
z-index: 1; | |||
box-shadow: 0 -6px 0 0 rgb(104, 104, 104) inset, | |||
2px 2px 0 0 rgba(178, 178, 178, 0.5) inset, | |||
-2px -8px 0 0 rgba(153, 153, 153, 0.5) inset; | |||
transition: .1s background-color, box-shadow; | |||
} | |||
/* | /* | ||
body.stw-theme-dark .mp-button { | body.stw-theme-dark .mp-button { | ||
Revision as of 17:06, 16 January 2026
/* This stylesheet applies to the main page and its associated template pages */
/* MainPageButton */
body.mediawiki .mp-button > * {
width: calc(100%);
display: flex;
position: relative;
background-color: #f8f9fa;
color: #202122;
border: 1px solid #202122;
font-size: 1em;
font-weight: bold;
padding: 0.8em 0em;
text-align: center;
align-items: center;
justify-content: center;
cursor: pointer;
user-select: none;
text-decoration: none;
text-shadow: 2px 2px 0 #00000020;
transition-property: background-color, color, border-color, box-shadow, opacity, padding, margin;
transition-duration: .1s;
}
.mp-button::after {
display: block;
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
box-shadow: 0 -6px 0 0 rgb(104, 104, 104) inset,
2px 2px 0 0 rgba(178, 178, 178, 0.5) inset,
-2px -8px 0 0 rgba(153, 153, 153, 0.5) inset;
transition: .1s background-color, box-shadow;
}
/*
body.stw-theme-dark .mp-button {
background-color: #202122;
color: #ffff;
border: 1px solid #a2a9b1;
}
.mp-button.mp-button-progressive {
background-color: #36c;
border: 1px solid #36c;
color: #fff;
}
body.stw-theme-dark .mp-button.mp-button-progressive {
background-color: #36c;
border: 1px solid #36c;
color: #fff;
}
*/
/* [[Category:Template styles]] */
/* [[ru:Structorica_Wiki/styles.css]] */