MediaWiki:ModernComment.css

From Hello Neighbor Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Credit to Russian Polandball Wiki */
/* Раньше здесь была куча кода но теперь тут совсем чуть-чуть... */
.InlineEntityFormWrapper_inline-entity-form-wrapper__12amV, .Comment_wrapper__2mxBn, #MessageWall .Message__wrapper {
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    border-radius: 5px;
}

.EntityTopBar_fold__3wHqJ, .PostIndicator__fold {
    display: none !important;
}
 
.EntityTopBar_details__1lRTs {
    border-bottom-color: #d7707f !important;
    color: #d7707f;
}


/* =============================== Comments and Massage walls (Credit to Russian Pony Town Wiki) =============================== */

/*-------Comments-------*/ 

.Comment_body__7p3np {
    padding: 15px;
    background: #383838;
    border-radius: 5px;
    border-left: 5px solid #000 !important;
    margin-bottom: 10px;
}

.EntityHeader_avatar__2TDnq {
    height: 30px;
    margin-right: 6px;
    width: 30px;
    background: #383838;
    border-radius: 50px;
}

.InlineEntityFormWrapper_inline-entity-form-wrapper__12amV {
    background: var(--themed-page-background);
    border: 1px solid var(--themed-border-color-50);
    border-radius: 7px;
    color: var(--themed-text-color);
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.Comment_wrapper__2mxBn {
    background-color: #f2f2f200 !important; 
    border: 1px solid rgb(191 191 191 / 0%) !important;
    border-radius: 3px;
    margin-bottom: 16px;
}

.ReplyList_top-border__14ICZ {
    background-color: var(--themed-page-background) !important;
    display: flex;
    height: 1px;
    margin: 0 18px;
    width: calc(100% - 36px);
}

.Reply_body__3woA9 {
    border-left: 4px solid #383838 !important;
    padding: 0 6px 0 24px !important;
}

.Reply_body__3woA9 {
    padding: 10px 2px 10px 12px !important;
    background: #383838 !important;
    border-radius: 3px 5px 5px 3px !important;
    border-left: 4px solid #000 !important;
}

/*--------Massage walls--------*/ 

#MessageWall .Message__wrapper {
    background-color: #383838 !important;
    border-color: #383838 !important;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 24px;
    padding: 18px;
    position: relative;
}
#MessageWall .Message {
    padding-bottom: 15px;
    background: #383838 !important;
    padding: 15px 0px 15px 10px !important;
    border-radius: 5px 5px 3px 3px !important;
    border-left-color: #000 !important;
    border-left-style: solid;
    border-left-width: 5px;
}

#MessageWall .Message__break {
    border-color: rgba(191,191,191,0.5) !important;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 15px;
}

#MessageWall .Reply {
    border-left-color: #000 !important;
    border-left-style: solid;
    border-left-width: 4px;
    margin-bottom: 15px;
    margin-left: 12px;
    margin-right: -12px;
    padding: 10px 0 10px 12px;
    position: relative;
    background: #383838;
    border-radius: 2px 5px 5px 2px;
}

.ActionDropdown_action-dropdown__AGOle {
    position: absolute;
    right: 0;
    padding-right: 7px;
}

#MessageWall .entity-content pre code, #MessageWall .rich-text-editor__content pre code {
    width: 95% !important;
}

.entity-content pre code {
	background: #e5fbff !important;
    border-radius: 0 3px 3px 0 !important;
    display: inline-block;
    min-width: 296px;
    padding: 8px 8px !important;
    border-left: 3px solid #eda4a4 !important;
}

.entity-content pre {
    font-size: 14px;
    white-space: pre-wrap;
}

.entity-content pre code {
    background: #383838 !important;
    border-radius: 0 3px 3px 0 !important;
    display: inline-block;
    min-width: 296px;
    padding: 8px 8px !important;
    border-left: 3px solid #000 !important;
    margin-bottom: 5px;
    font-size: 14px !important;
}

.EntityHeader_entity-header__3gtUI {
    align-items: center;
    display: flex;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 18px;
    position: relative;
}