diff --git a/styles/app/avatar.styl b/styles/app/avatar.styl index 369f0483c4..4d31a23179 100644 --- a/styles/app/avatar.styl +++ b/styles/app/avatar.styl @@ -13,11 +13,49 @@ bottom: 0px right: 10px +.character-sprites span + position: absolute + + +// styling the "char-box" +.char-box + margin: 0 + border: 1px solid darkgrey; + background: #fafafa; + width: 107px; + + // .avatar + +.char-level, .char-name + margin-top: 6px; + border-top: 1px solid darkgrey; + text-align: center + line-height: 2 + font-size: 12px + + + // main and party avatars .main-avatar, .party-avatar .character-sprites top: -15px +.main-avatar-wrap + margin: 0 5px 0 0 + float: left + +.party-avatar-wrap + margin: 0 + float: right -.character-sprites span - position: absolute \ No newline at end of file + +// customization avatars +.customization-avatar-wrap + float: right + +@media (max-width: 480px) { + .customization-avatar-wrap { + float: none; + margin-bottom: 1em; + } +} \ No newline at end of file diff --git a/styles/app/customizer.styl b/styles/app/customizer.styl index 6e881355d4..cb1a6ad952 100644 --- a/styles/app/customizer.styl +++ b/styles/app/customizer.styl @@ -1,18 +1,5 @@ // $customizations-modal layout -.avatar-window - margin: 0 - border: 1px solid darkgrey; - width: 107px; - float: right; - - .char-name - margin-top: 6px; - border-top: 1px solid darkgrey; - text-align: center - line-height: 2 - - menu padding: 0; margin: 0; @@ -49,13 +36,7 @@ menu .customize-option:not(:last-of-type) margin-right: 10px - @media (max-width: 480px) { - .avatar-window { - float: none; - margin-bottom: 1em - } - .customize-menu { width: 100%; } diff --git a/views/app/index.html b/views/app/index.html index 1eb0d36dba..ff1f1b7a26 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -4,6 +4,7 @@ do a find for the string after "→" ----------------------------------- → $modal-template → $customizations-modal +→ $avatar → $avatar-template =================================== --> @@ -139,7 +140,7 @@ do a find for the string after "→" {#with _user.preferences} -
+
{username(_user.auth)}
@@ -257,7 +258,7 @@ do a find for the string after "→"
- +