aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-02-19 18:58:09 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-02-19 18:58:09 +1300
commit374b52db89785ed8aa2ed45d1b65a0b9ebbeff0e (patch)
treead6b1bd96fc4e4536f7033f800e58f2b68320395
parent29861de6201be182f0bffb9fe4376eb90e62dc7e (diff)
downloadpetrichor-374b52db89785ed8aa2ed45d1b65a0b9ebbeff0e.tar.xz
Misc css tidying, corrected closing tag in js
-rw-r--r--petrichor.css11
-rw-r--r--petrichor.js4
2 files changed, 5 insertions, 10 deletions
diff --git a/petrichor.css b/petrichor.css
index 1b8684c..d10f175 100644
--- a/petrichor.css
+++ b/petrichor.css
@@ -41,11 +41,13 @@ body,html
transition: opacity ease 0.15s;
}
-div.user
+a.user
{
text-align: center;
+ text-decoration: none;
color: white;
margin-top: 2em;
+ display: block;
}
.avatar
@@ -132,10 +134,3 @@ div.user
margin-right: 30px;
font-size: 240px;
}
-
-a
-{
- text-decoration: none;
- display: block;
- color: white;
-}
diff --git a/petrichor.js b/petrichor.js
index 5a8089c..db05a99 100644
--- a/petrichor.js
+++ b/petrichor.js
@@ -133,13 +133,13 @@ function start()
else
image = user.image;
- document.write('<a href="#" class="user" id="user_' + user.name +'"onclick="start_authentication(\'' + user.name + '\')" style="cursor: pointer;">');
+ document.write('<a href="#" class="user" id="user_' + user.name +'" onclick="start_authentication(\'' + user.name + '\')">');
document.write('<img class="avatar" src="file:///' + image + '" /><span class="name">'+user.display_name+'</span>');
if (user.name == lightdm.autologin_user && lightdm.autologin_timeout > 0)
document.write('<span id="countdown_label"></span>');
- document.write(' </div>');
+ document.write('</a>');
}
document.write('</div>');