Template:Badge: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="project-badge" style="display:flex; flex-direction: row; width: | <div class="project-badge" style="display:flex; flex-direction: row; width: 380px; height: 80px; background-color: {{{rank|}}}; margin-bottom: 0.5em; border: 4px solid var(--color-surface-4); border-radius: 40px; overflow: hidden; padding:6px;"> | ||
<div class="project-badge-bg" style="display:flex; flex-direction: row; width:356px; height:60px; background-color: var(--color-surface-1); border-radius: | <div class="project-badge-bg" style="display:flex; flex-direction: row; width:356px; height:60px; background-color: var(--color-surface-1); border-radius: 30px; text-align: center;"> | ||
<div class="project-badge-img" style="width:60px; height:60px; background-color: var(--color-surface- | <div class="project-badge-img" style="width:60px; height:60px; background-color: var(--color-surface-4); border-radius: 30px; overflow: hidden;">{{{image|}}} | ||
</div> | </div> | ||
<div class="project-badge-text" style="width: | <div class="project-badge-text" style="display:flex; flex-direction: column; width:296px; height:60px; background-color: var(--color-surface-1); border-radius: 30px; padding-left: 0.5em; padding-right: 0.5em; text-align: center;"> | ||
<p style="font-size: 0. | <p style="font-size: 1em; margin: 2px; font-weight: bold;">{{{title|Contributor}}}</p> | ||
<p style="font-size: 0.825em; margin: 2px;">{{{subtitle|}}}Contributor</p> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||