/*
 * littlepig
 * (c) 2020 dragonwocky <thedragonring.bod@gmail.com>
 * (c) 2020 Lizishan
 * under the MIT license
 */

/* todo 颜色 */
.notion-body:not(.dark)
  .notion-light-theme
  [style*='background: rgb(46, 170, 220)'],
.notion-body:not(.dark)
  .notion-light-theme
  [style*='background-color: rgb(46, 170, 220)'] {
  background: var(--theme_dark--option_active-background) !important;
}
.notion-body:not(.dark) [style*='background: rgb(46, 170, 220)'][role='button'],
.notion-body:not(.dark)
  [style*='background: rgb(46, 170, 220);'][style*='width: 26px'] {
  background: var(--theme_light--primary) !important;
}

/* ===================== header =========================== */
.notion-body:not(.dark) [placeholder*='Heading 1'] {
  color: var(--littlepig_light--h1_text) !important;
}

.notion-body:not(.dark) [placeholder*='Heading 2'] {
  margin-bottom: 16px;
  border-bottom: 4px solid var(--littlepig_light--h2_text);
  display: inline-block;
  color: var(--littlepig_light--h2_text) !important;
  width: auto !important;
  padding: 6px 12px 6px 0 !important;
  position: relative;
}
.notion-body:not(.dark) [placeholder*='Heading 2']::before {
  content: '🔥 ';
}

.notion-body:not(.dark) [placeholder*='Heading 3'] {
  width: fit-content !important;
  padding: 4px 10px !important;
  border-radius: 10px;
  border: 2px solid #42b983;
  color: var(--littlepig_light--h3_text) !important;
  background-color: #fbf8e7;
  display: inline-block;
  margin-bottom: 14px;
}
.notion-body:not(.dark) [placeholder*='Heading 3']::before {
  content: '📌 ';
}

/* list 样式 */
.notion-body:not(.dark)
  [style*='font-size: 1.5em; line-height: 1; margin-bottom: 0.1em;'] {
  color: #41b983 !important;
}

/* quoteblock 样式 */
.notion-body:not(.dark) .notion-quote-block [style*='rgb(55, 53, 47);'] {
  font-size: 0.85em !important;
  border-left: none !important;
  padding: 0.5em 0.5em 0.5em 1.9em !important;
  position: relative;
  margin: 10px 0;
  background: var(--theme_light--card);
  border-radius: 3px;
}
.notion-body:not(.dark)
  .notion-quote-block
  [style*='caret-color: rgb(55, 53, 47);']::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: bold;
  color: #42b983;
  position: absolute;
  left: 0px;
  top: -24px;
}

/* link style */
.notion-body:not(.dark) .notion-link-token span {
  border-bottom: 0.05em solid;
  border-color: rgb(233, 51, 38) !important;
  border-width: 3px !important;
  opacity: 1 !important;
}
.notion-body:not(.dark) .notion-link-token span:hover {
  color: rgb(233, 51, 38) !important;
}