diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-02-26 20:03:45 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-02-26 20:03:45 -0800 |
commit | 97b6742ddfcef31ded607e4334475052ba46795b (patch) | |
tree | 181cbcc19f62a6d3ea82773a9ebe3951cbda2a38 | |
parent | 4f91bbb6f1caa0812be550d95e13806f060542be (diff) | |
download | pathery-97b6742ddfcef31ded607e4334475052ba46795b.tar.xz |
Increased size of top-right badge.
-rw-r--r-- | css/page.css | 16 | ||||
-rw-r--r-- | includes/header.php | 9 |
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 {
|