summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--css/page.css16
-rw-r--r--includes/header.php9
2 files changed, 18 insertions, 7 deletions
diff --git a/css/page.css b/css/page.css
index 200de4e..46563d2 100644
--- a/css/page.css
+++ b/css/page.css
@@ -334,9 +334,23 @@ position:absolute;color:#333;left:25px;bottom:20px;
#topbarContent #user {
position: fixed;
right: 10px;
- top: 5px;
+ top: 2px;
text-align: right;
}
+#topbarBadge {
+ margin-left:10px;
+ margin-top:4px;
+ background-size: 100%;
+ width:41px;
+ height:41px;
+ float:left;
+}
+#topbarBadge div {
+ width:100%;
+ height:100%;
+ background-image: url(../images/OverlayTileFaceted50b.png);
+ background-size:100%;
+}
#difficulties {
width: 100%;
diff --git a/includes/header.php b/includes/header.php
index 7d9c02d..136c2eb 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -174,13 +174,10 @@ function topbar($links) {
echo " <a href='cp' title='change name'>Update your name</a> | ";
echo " <a href='logout'>Logout</a>";
echo " </div>";
- echo "
- <div class='grid_td' style='float:left; margin:5px 1px 1px 9px; width:35px; height:35px; background:$wallColor url(images/marks/$wallEmblem);'>
- <a href='achievements'>
- <div style='background-color:transparent;' class='grid_td_inner grid_td_rocks'>
- </div>
- </a>
+ echo "<div id='topbarBadge' style='background-color: $wallColor; background-image: url(images/marks/$wallEmblem);'>
+ <a href='achievements'><div></div></a>
</div>";
+
} else {