Template:MomoTalk/style.css: Difference between revisions

m
Shadow and color fixes for MomoTalk bond story option in dark mode
mNo edit summary
m (Shadow and color fixes for MomoTalk bond story option in dark mode)
 
(5 intermediate revisions by 2 users not shown)
Line 5:
.momotalk-container {
width: 100%;
border-radius:5px10px;
overflow:hidden;
box-shadow: 0 2px 4px lightgrey;
Line 33:
font-weight: bold;
margin-right: 12px;
margin-bottomtop: 5px10px;
line-height: 1;
}
.momotalk-close:hover {
Line 39 ⟶ 41:
table.momotalk-table {
width:100%;
border-spacing:5px;
margin-top:-2px;
margin-bottom: 5px3px;
}
.momotalk-profile-picture {
Line 46 ⟶ 51:
border-radius: 50%;
overflow: hidden;
margin-top: 10px8px;
padding: 0;
margin-left: 3px;
Line 67 ⟶ 72:
font-size: 20px;
font-weight: bold;
line-height: 1.3;
padding-top: 3px;
}
.momotalk-student-line {
Line 82 ⟶ 89:
font-size: 15px;
font-weight: 500;
margin-bottom: 5px;
}
 
Line 94 ⟶ 100:
padding: 10px 10px 3px 10px;
margin-right: 3px;
margin-bottom: 5px;
}
.momotalk-reply-container {
Line 153 ⟶ 158:
}
div.momotalk-selected-option {
background-color: #7774a8ac6;
color: #fff;
}
div.momotalk-selected-option:hover {
background-color: #7774a8ac6;
color: #fff;
}
Line 165 ⟶ 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;
}
6

edits