Template:Insert quote panel/styles.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
/* Template:Insert quote panel/styles.css */
/* 1. The Container: Flexbox Layout */
.insert-quote-panel {
clear: both;
Line 5 ⟶ 7:
box-sizing: border-box;
margin: 0 0 2em 0;
padding: .5em .5em .5em 0;▼
border: 0 solid #9CA4AC;▼
border-radius: 0;▼
background: #F8F9FA;▼
/* Flexbox
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 1em; /* Space between the photo and the gray box */
color: #202122;▼
}
/* 2. The
.insert-quote-content {
flex: 1; /*
min-width: 0; /*
/* Visual styles */
▲ background: #F8F9FA;
▲ border: 0 solid #9CA4AC;
▲ border-radius: 0;
/* Internal padding for the text */
/* Text color */
▲ color: #202122;
}
/* 3. The
.insert-quote-image {
flex: 0 0 auto; /*
line-height: 0;
margin-top: 0; /* Safety: ensures image isn't pushed down by default styles */
}
/*
.insert-quote-
.insert-quote-
| |||