Template:Featured box/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
.featured-box-body { | .featured-box-body { | ||
padding: 0.8em; | padding: 0.8em; | ||
font-size: 105%; | font-size: 105%; | ||
line-height: 1.5; | |||
. | |||
} | } | ||
.featured-box-image | .featured-box-image-frame { | ||
float: right; | |||
width: 110px; | |||
margin: 0 0 0.6em 0.8em; | |||
padding: 4px; | |||
border: 1px solid #a2a9b1; | |||
background: #f8f9fa; | |||
border-radius: 6px; | border-radius: 6px; | ||
text-align: center; | |||
} | } | ||
.featured-box- | .featured-box-image-frame img { | ||
max-width: 100%; | |||
height: auto; | |||
border-radius: 3px; | |||
} | } | ||
| Line 45: | Line 46: | ||
.featured-box-lead { | .featured-box-lead { | ||
margin-top: 0.25em; | |||
} | } | ||
.featured-box-open { | .featured-box-open { | ||
margin-top: 0.6em; | margin-top: 0.6em; | ||
clear: both; | |||
} | } | ||
Revision as of 10:02, 14 May 2026
.featured-box {
width: 100%;
max-width: 820px;
margin: 0.5em 0;
border: 1px solid #a2a9b1;
border-radius: 8px;
background: #ffffff;
overflow: hidden;
}
.featured-box-title {
padding: 0.5em 0.75em;
font-size: 110%;
font-weight: bold;
background: #eaecf0;
border-bottom: 1px solid #a2a9b1;
}
.featured-box-body {
padding: 0.8em;
font-size: 105%;
line-height: 1.5;
}
.featured-box-image-frame {
float: right;
width: 110px;
margin: 0 0 0.6em 0.8em;
padding: 4px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
border-radius: 6px;
text-align: center;
}
.featured-box-image-frame img {
max-width: 100%;
height: auto;
border-radius: 3px;
}
.featured-box-page-title {
font-size: 110%;
margin-bottom: 0.35em;
}
.featured-box-lead {
margin-top: 0.25em;
}
.featured-box-open {
margin-top: 0.6em;
clear: both;
}