Template:AIBanner/styles.css: Difference between revisions
Template page
More actions
Initial  |
Rewrite for better visual layout  |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
.ai-banner { | .ai-banner { | ||
   display: flex; |    display: flex; | ||
| Line 19: | Line 18: | ||
   color: var(--wiki-primary, #6464ff); |    color: var(--wiki-primary, #6464ff); | ||
   opacity: 0.85; |    opacity: 0.85; | ||
   margin-top: |    margin-top: 2px; | ||
   user-select: none; |    user-select: none; | ||
} | } | ||
| Line 25: | Line 24: | ||
.ai-banner-body { | .ai-banner-body { | ||
   flex: 1; |    flex: 1; | ||
   min-width: 0; |    min-width: 0; | ||
} | |||
.ai-banner-top { | |||
  display: flex; | |||
  align-items: baseline; | |||
  flex-wrap: wrap; | |||
  gap: 0 8px; | |||
} | |||
.ai-banner-title { | |||
  flex-shrink: 0; | |||
  font-size: 0.75em; | |||
  font-weight: 800; | |||
  text-transform: uppercase; | |||
  letter-spacing: 0.07em; | |||
  color: var(--wiki-primary, #6464ff); | |||
  opacity: 0.9; | |||
} | } | ||
| Line 32: | Line 47: | ||
   font-weight: 700; |    font-weight: 700; | ||
   color: var(--color-base); |    color: var(--color-base); | ||
} | } | ||
.ai-banner-details { | .ai-banner-details { | ||
  margin-top: 3px; | |||
  font-size: 0.95em; | |||
   color: var(--color-base--subtle); |    color: var(--color-base--subtle); | ||
   |    line-height: 1.5; | ||
} | } | ||
Latest revision as of 11:56, 23 March 2026
.ai-banner {
display: flex;
align-items: flex-start;
gap: 10px;
background-color: var(--color-surface-1);
border: 1px solid var(--border-color-base);
border-left: 3px solid var(--wiki-primary, #6464ff);
border-radius: 4px;
padding: 9px 14px;
margin: 10px 0;
font-size: 0.88em;
line-height: 1.5;
}
.ai-banner-icon {
flex-shrink: 0;
font-size: 1em;
color: var(--wiki-primary, #6464ff);
opacity: 0.85;
margin-top: 2px;
user-select: none;
}
.ai-banner-body {
flex: 1;
min-width: 0;
}
.ai-banner-top {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 0 8px;
}
.ai-banner-title {
flex-shrink: 0;
font-size: 0.75em;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--wiki-primary, #6464ff);
opacity: 0.9;
}
.ai-banner-label {
font-weight: 700;
color: var(--color-base);
}
.ai-banner-details {
margin-top: 3px;
font-size: 0.95em;
color: var(--color-base--subtle);
line-height: 1.5;
}