Browse Source

improved CSS a bit

master
mort 6 years ago
parent
commit
1089e4131c
2 changed files with 6 additions and 4 deletions
  1. 5
    3
      data/onload.js
  2. 1
    1
      package.json

+ 5
- 3
data/onload.js View File

@@ -88,7 +88,7 @@ var blobList = {
"border-bottom: 2px solid black",
"border-right: 2px solid black",
"color: black",
"font: 8pt sans-serif",
"font: 12px sans-serif",
"padding: 3px",
"height: 15px",
"line-height: 15px",
@@ -163,7 +163,7 @@ var blobList = {
key += randomChar();

var blobElem = document.createElement("div");
blobElem.innerHTML = key;
blobElem.innerHTML = key.toUpperCase();
blobElem.style = [
"position: absolute",
"background-color: yellow",
@@ -172,10 +172,12 @@ var blobList = {
"padding-left: 3px",
"padding-right: 3px",
"color: black",
"font: 12px sans-serif",
"top: "+pos.top+"px",
"left: "+pos.left+"px",
"line-height: 12px",
"font-size: 12px"
"font-size: 12px",
""
].join(" !important;");
blobList.container.appendChild(blobElem);


+ 1
- 1
package.json View File

@@ -1,7 +1,7 @@
{
"title": "Mouseless",
"name": "mouseless",
"version": "0.4.0",
"version": "0.4.1",
"description": "For a mouseless future.",
"main": "index.js",
"author": "Martin Dørum Nygaard",

Loading…
Cancel
Save