diff options
-rw-r--r-- | petrichor.css | 11 | ||||
-rw-r--r-- | petrichor.js | 4 |
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>'); |