Site Notice

hello, world

MediaWiki:Css-chatbot-sili/webui.css

From Project-EPB Commons
Revision as of 02:00, 8 April 2021 by 机智的小鱼君 (talk | contribs) ([InPageEdit] 没有编辑摘要)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Invoke this: https://common.wjghj.cn/css/{{#replace:{{#replace:Css-chatbot-sili/webui.css|Css-|}}|.css|}}

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
body {
  background: radial-gradient(farthest-side ellipse at 10% 0,#aa216e,#a22738)
}
a {
  color: pink
}

/** Hot fix: chat */
.page-chat {
  position: relative;
}
.page-chat .avatar {
  position: absolute;
  margin-top: 4px;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 2.5rem;
  user-select: none;
}
.page-chat .quote {
  position: relative;
  font-size: 0.875rem;
  margin-left: 3.5rem;
  cursor: pointer;
}
.page-chat .quote * + span {
  margin-left: 0.5rem;
}
.page-chat .quote::before {
  content: "";
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 50%;
  right: 100%;
  bottom: 0;
  left: -36px;
  margin-right: 4px;
  margin-top: -1px;
  margin-left: -1px;
  margin-bottom: calc(.125rem - 4px);
  border-left: 1px solid #4f545c;
  border-top: 1px solid #4f545c;
  border-top-left-radius: 6px;
}
.page-chat .quote .quote-avatar {
  width: 1rem;
  height: 1rem;
  border-radius: 1rem;
  vertical-align: text-top;
}
.page-chat .quote .abstract {
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-chat .header {
  margin-left: 3.5rem;
  color: #72767d;
}
.page-chat .header * + span {
  margin-left: 0.5rem;
}
.page-chat .username {
  color: rgba(244, 244, 245, 0.8);
  font-weight: bold;
  line-height: 1.375rem;
}
.page-chat .timestamp {
  color: #72767d;
  font-size: 0.875rem;
}
.page-chat .k-message {
  margin-left: 3.5rem;
}
.page-chat p.hint {
  color: #72767d;
  margin: 0.5rem 0 -0.5rem;
}