From 9477b8413291a4beba3aa566963a3b6189951827 Mon Sep 17 00:00:00 2001 From: David Fryer Date: Thu, 18 Feb 2016 21:19:16 -0500 Subject: Make users selectable with the keyboard Change div to a. Turns users into links. --- petrichor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/petrichor.js b/petrichor.js index c96c21e..5a8089c 100644 --- a/petrichor.js +++ b/petrichor.js @@ -133,7 +133,7 @@ function start() else image = user.image; - document.write('
'); + document.write(''); document.write(''+user.display_name+''); if (user.name == lightdm.autologin_user && lightdm.autologin_timeout > 0) -- cgit v1.1 From 2a23bc557f30942aa43631efe575d21ba44dc762 Mon Sep 17 00:00:00 2001 From: David Fryer Date: Thu, 18 Feb 2016 21:20:48 -0500 Subject: Add CSS to make users in list match text-decoration removes link underline display makes link act like a div color overrides base link color --- petrichor.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/petrichor.css b/petrichor.css index 36dc4d9..1b8684c 100644 --- a/petrichor.css +++ b/petrichor.css @@ -132,3 +132,10 @@ div.user margin-right: 30px; font-size: 240px; } + +a +{ + text-decoration: none; + display: block; + color: white; +} -- cgit v1.1