Structorica Wiki/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
/* MainPageButton */ | /* MainPageButton */ | ||
.mp-button { | .mp-button { | ||
width: 100%; | width: 100%; | ||
position: relative; | position: relative; | ||
background-color: # | background-color: #f8f9fa; | ||
color: # | color: #202122; | ||
border: | border: 1px solid #202122; | ||
font-size: 1em; | font-size: 1em; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 1em 1em 1.5em 1em; | |||
text-align: center; | text-align: center; | ||
| Line 22: | Line 24: | ||
transition-duration: .1s; | transition-duration: .1s; | ||
} | } | ||
body.stw-theme-dark .mp-button { | |||
background-color: #202122; | |||
color: #ffff; | |||
border: 1px solid #a2a9b1; | |||
} | |||
.mp-button.mp-button-progressive { | .mp-button.mp-button-progressive { | ||
background-color: # | background-color: #36c; | ||
border: 1px solid #36c; | |||
color: #fff; | color: #fff; | ||
} | } | ||
Revision as of 16:43, 16 January 2026
/* This stylesheet applies to the main page and its associated template pages */
/* MainPageButton */
.mp-button {
width: 100%;
position: relative;
background-color: #f8f9fa;
color: #202122;
border: 1px solid #202122;
font-size: 1em;
font-weight: bold;
padding: 1em 1em 1.5em 1em;
text-align: center;
cursor: pointer;
user-select: none;
transition-property: background-color, color, border-color, box-shadow, opacity, padding, margin;
transition-duration: .1s;
}
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;
}
/* [[Category:Template styles]] */
/* [[ru:Structorica_Wiki/styles.css]] */