« Modèle:DiscordLink » : différence entre les versions
De Wiki Warhammer AOS | Archivum Céleste
Autres actions
m 1 version importée : Migration wiki |
mAucun résumé des modifications |
||
| (4 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
<includeonly><div class="discord-pane" style="--custom-color-1: white; | <includeonly><div class="discord-pane" style="--custom-color-1: white; | ||
--custom-color-2: #3d1000; max-width: min(500px, calc(100% - 40px));display: flex;align-items: center;justify-content: center;position: relative;margin: 40px auto;border-radius: 10px;box-shadow: 0 0 6px black;"> | --custom-color-2: #3d1000; max-width: min(500px, calc(100% - 40px));display: flex;align-items: center;justify-content: center;position: relative;margin: 40px auto;border-radius: 10px;box-shadow: 0 0 6px black;"> | ||
<div class="discord-pane-logo" style="position: absolute;left: 0;transform: translatex(-50%);z-index: 2;">[https://discord.gg/bcKGRmww <i class="fa-brands fa-discord" style="color: #dbdeea;"></i>]</div> | |||
<div class="discord-pane-logo" style="position: absolute;left: 0;transform: translatex(-50%);z-index: 2;">[https://discord.gg/bcKGRmww <i class="fa-brands fa-discord" style="color: | |||
<div class="discord-pane-character" style="position: absolute; right: 0;transform: translatex(65%);z-index: 0; opacity: 0.7;">[[Fichier:Wandering-dwarf.png|150px]]</div> | <div class="discord-pane-character" style="position: absolute; right: 0;transform: translatex(65%);z-index: 0; opacity: 0.7;">[[Fichier:Wandering-dwarf.png|150px]]</div> | ||
<div class="discord-pane-message" style="display: flex; | <div class="discord-pane-message" style="display: flex; | ||
| Ligne 18 : | Ligne 17 : | ||
z-index: 1;"> | z-index: 1;"> | ||
<div class="discord-pane-link" style="width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;position: absolute;top: 50%;transform: translateY(-50%); | <div class="discord-pane-link" style="width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;position: absolute;top: 50%;transform: translateY(-50%); | ||
z-index: 1;">[[Fichier: | z-index: 1;">[[Fichier:Communaute.webp|link=https://discord.gg/bcKGRmww|x150px]]</div> | ||
<div class="discord-pane-message-head" style=" | <div class="discord-pane-message-head" style=" | ||
background: | background: #aca085; | ||
z-index: 2; | z-index: 2; | ||
width: 100%; | width: 100%; | ||
padding: 2px; | padding: 2px; | ||
position: relative; | position: relative; | ||
color: | color: black; | ||
pointer-events: none;">{{{1|Rejoins notre communauté sur Discord !}}}</div> | pointer-events: none; | ||
box-shadow: inset 0 0 1px 0.5px #191d2e;">{{{1|Rejoins notre communauté sur Discord !}}}</div> | |||
</div></div> | </div></div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Ligne 40 : | Ligne 40 : | ||
<pre> | <pre> | ||
{{DiscordLink | Coucou | {{DiscordLink | Coucou }} | ||
</pre> | </pre> | ||
{{DiscordLink | Coucou | {{DiscordLink | Coucou }} | ||
<div style="clear: both;"> | <div style="clear: both;"> | ||