Structorica Wiki/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* This stylesheet applies to the main page and its associated template pages */ | /* This stylesheet applies to the main page and its associated template pages */ | ||
/* MainPageButton */ | |||
.mp-button { | |||
gap: 6px; | |||
width: 100%; | |||
position: relative; | |||
background-color: #ccc; | |||
color: #000; | |||
border: 2px solid #888; | |||
font-size: 1em; | |||
font-weight: bold; | |||
text-align: center; | |||
cursor: pointer; | |||
user-select: none; | |||
transition-property: background-color, color, border-color, box-shadow, opacity, padding, margin; | |||
transition-duration: .1s; | |||
} | |||
.mp-button.mp-button-progressive { | |||
background-color: #0cf; | |||
color: #fff; | |||
} | |||
body.stw-theme-dark .mp-button { | |||
background-color: #303030; | |||
color: #ffffff; | |||
border: 2px solid #404040; | |||
} | |||
/* [[Category:Template styles]] */ | /* [[Category:Template styles]] */ | ||
/* [[ru:Structorica_Wiki/styles.css]] */ | /* [[ru:Structorica_Wiki/styles.css]] */ | ||
Revision as of 16:37, 16 January 2026
/* This stylesheet applies to the main page and its associated template pages */
/* MainPageButton */
.mp-button {
gap: 6px;
width: 100%;
position: relative;
background-color: #ccc;
color: #000;
border: 2px solid #888;
font-size: 1em;
font-weight: bold;
text-align: center;
cursor: pointer;
user-select: none;
transition-property: background-color, color, border-color, box-shadow, opacity, padding, margin;
transition-duration: .1s;
}
.mp-button.mp-button-progressive {
background-color: #0cf;
color: #fff;
}
body.stw-theme-dark .mp-button {
background-color: #303030;
color: #ffffff;
border: 2px solid #404040;
}
/* [[Category:Template styles]] */
/* [[ru:Structorica_Wiki/styles.css]] */