Difference between revisions of "User:Eave/Sandbox2"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
(initial draft of weapon notable)
>Eave
(flex container styling, I guess)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
--><div class="weapon-notable">
+
--><div class="weapon-notable" style="flex:1 1 480px;padding:1em">
 
   <div class="notable-header" style="
 
   <div class="notable-header" style="
 
       {{#if:{{{Center|}}} | text-align:center;}}
 
       {{#if:{{{Center|}}} | text-align:center;}}
Line 86: Line 86:
 
.weapon-notable > .notable-header a {
 
.weapon-notable > .notable-header a {
 
color: white;
 
color: white;
 +
}
 +
.weapon-notable {
 +
flex: 1 1 480px;
 +
padding: 1em;
 
}
 
}
 
-->
 
-->
==WIP (Obviously)==
+
==WIP==
 
Main todos: better styling for HP/Str.
 
Main todos: better styling for HP/Str.
<div style="display:grid;grid-gap:1em">
+
<div style="display:flex;flex-wrap:wrap;margin:-1em">
 
{{#invoke:CargoQuery|main
 
{{#invoke:CargoQuery|main
 
   |q?tables=Weapons
 
   |q?tables=Weapons

Revision as of 03:59, 14 April 2020

WIP

Main todos: better styling for HP/Str.

Lua error: Error: Table Weapons not found..

Centered Variant

Lua error: Error: Table Weapons not found..