diff --git a/README.md b/README.md index ad73f1a..90f64a9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ People ====== A simple minimal web-based client for finding people at Jacobs University Bremen. +This is an open source project. diff --git a/js/stalk.js b/js/stalk.js index 68bbcf9..2ca2151 100644 --- a/js/stalk.js +++ b/js/stalk.js @@ -17,9 +17,9 @@ var descriptions = { "major" : "studies ", "phone" : "phone: ", "room" : function(rm) { - return (rm.match("^[N|C|M|K|A|B|C|D]{2}-[0-9]{3}$") ? "lives in " : "room: ") + rm + return (rm.match("^[N|C|M|K|A|B|C|D]{2}-[0-9]{3}$") ? "lives in " : "room: ") + rm; }, - "country" : "from " + "country" : "from "; } function loggedIn() { diff --git a/style.css b/style.css index 4c933af..e334f63 100644 --- a/style.css +++ b/style.css @@ -1,24 +1,19 @@ body { margin: 0; padding: 0; - font-family: sans-serif; } #overlay { position: fixed; padding-top: 10%; - left: 0; top: 0; width: 100%; height: 100%; - z-index: 2000; - background: white; display: none; - text-align: center; } @@ -34,9 +29,8 @@ body { } #frame img { - width: 96px; + width: 98px; height: 128px; - margin: 0; padding: 0; } @@ -51,19 +45,15 @@ body { #spinner { margin: auto; - display: none; position: fixed; - top: 50%; left: 50%; } #frame { display: flex; - /* align-items: center; */ justify-content: center; flex-wrap: wrap; - padding-top: 128px; padding-left: 5%; padding-right: 5%; @@ -78,11 +68,9 @@ div.highlight a { color: inherit; } -/* #frame img { display: none; } -*/ #privacy-text { margin-top: 1em; @@ -112,11 +100,8 @@ div.highlight a { #search { position: fixed; - width: 75%; - opacity: 0.85; - font-size: 24pt; border-style: none; outline: none; @@ -152,7 +137,6 @@ div.highlight a { #credits { position: fixed; - right: 0.5em; bottom: 0.5em; color: lightgray; @@ -166,12 +150,9 @@ div.highlight a { div.highlight { position: absolute; padding: 8px 8px 8px 8px; - margin-top: -8px; margin-left: -8px; - max-width: 192px; - -webkit-box-shadow: 0 0 20px 1px rgba(0,0,0,1); -moz-box-shadow: 0 0 20px 1px rgba(0,0,0,1); box-shadow: 0 0 20px 1px rgba(0,0,0,1); @@ -179,7 +160,7 @@ div.highlight { div.highlight ul { list-style: none; - padding: 0; + padding: 0em; } div.highlight ul li { @@ -187,5 +168,5 @@ div.highlight ul li { } div.highlight ul li:last-child { - padding-bottom: 0; + padding-bottom: 0em; }