Template:MomoTalk/style.css: Difference between revisions
m
Shadow and color fixes for MomoTalk bond story option in dark mode
PetraMagna (talk | contribs) No edit summary |
m (Shadow and color fixes for MomoTalk bond story option in dark mode) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 5:
.momotalk-container {
width: 100%;
border-radius:
overflow:hidden;
box-shadow: 0 2px 4px lightgrey;
max-width: 720px;
}
.momotalk-top {
Line 27 ⟶ 29:
.momotalk-close {
float: right;
font-size:
color: white;
font-weight: bold;
margin-right:
line-height: 1;
}
.momotalk-close:hover {
Line 37 ⟶ 41:
table.momotalk-table {
width:100%;
border-spacing:5px;
margin-top:-2px;
margin-bottom: 3px;
}
.momotalk-profile-picture {
display: block;
width:
height:
border-radius: 50%;
overflow: hidden;
margin-top:
padding: 0;
margin-left: 3px;
}
table.momotalk-table td:nth-child(2) {
width: 100%;
padding-left: 5px;
}
.momotalk-student-line-container {
Line 64 ⟶ 72:
font-size: 20px;
font-weight: bold;
line-height: 1.3;
padding-top: 3px;
}
.momotalk-student-line {
Line 79 ⟶ 89:
font-size: 15px;
font-weight: 500;
▲ margin-bottom: 5px;
}
Line 91 ⟶ 100:
padding: 10px 10px 3px 10px;
margin-right: 3px;
▲ margin-bottom: 5px;
}
.momotalk-reply-container {
Line 140 ⟶ 148:
.momotalk-reply-option:hover {
background-color: lightgrey;
color: #2a323e;
}
.momotalk-relationship-story-option:hover {
background-color: #e08799;
}
.momotalk-hidden-student-text {
display: none;
}
div.momotalk-selected-option {
background-color: #4a8ac6;
color: #fff;
}
div.momotalk-selected-option:hover {
background-color: #4a8ac6;
color: #fff;
}
Line 149 ⟶ 170:
height: auto;
max-width: 400px;
}
/*
Dark mode adjustments. Resets the invert and hue-rotate filters for certain UI
elements in the MomoTalk panel. This will almost definitely need adjustment
if/when a custom dark mode will be implemented for the wiki.
*/
html.client-darkmode:not(.mw-invert) .momotalk-container .momotalk-relationship-story-option {
box-shadow: 0 2px 5px #2c2c2c;
color: #000;
}
|