diff options
author | Frederick Yin <fkfd@macaw.me> | 2020-07-04 14:23:36 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@macaw.me> | 2020-07-04 14:23:36 +0800 |
commit | 0be69d4b5db18b1e0794fd3dc3297da0a16b1ccf (patch) | |
tree | 00c8f50f381d4531a3a45eeed0f9cdd1bf18f3b1 /utab/data |
Minimal viable product
Diffstat (limited to 'utab/data')
-rw-r--r-- | utab/data/config.yml | 2 | ||||
-rw-r--r-- | utab/data/css/index.css | 32 | ||||
-rw-r--r-- | utab/data/index.html | 11 | ||||
-rw-r--r-- | utab/data/sites.csv | 0 |
4 files changed, 45 insertions, 0 deletions
diff --git a/utab/data/config.yml b/utab/data/config.yml new file mode 100644 index 0000000..824eb6c --- /dev/null +++ b/utab/data/config.yml @@ -0,0 +1,2 @@ +columns: 8 +rows: 4 diff --git a/utab/data/css/index.css b/utab/data/css/index.css new file mode 100644 index 0000000..5f03851 --- /dev/null +++ b/utab/data/css/index.css @@ -0,0 +1,32 @@ +body { + text-align: center; + background-color: #222; + color: white; + font-family: sans-serif; +} + +.sites-grid { + position: relative; + left: 10%; + max-width: 80%; + max-height: 80%; +} + +.sites-item { + border: #888 2px solid; + display: inline-block; + margin: 20px; + width: 80px; + height: 80px; +} + +.sites-item:hover { + border: #ccc 2px solid; +} + +.site-favicon { + width: 64px; + height: 64px; + position: relative; + top: 8px; +} diff --git a/utab/data/index.html b/utab/data/index.html new file mode 100644 index 0000000..bc6b97b --- /dev/null +++ b/utab/data/index.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<head> + <title>utab</title> +</head> +<body> + <h2>Top Sites</h2> + <div id="sites"> + %sites% + </div> + <link rel="stylesheet" type="text/css" href="/css/index.css" /> +</body> diff --git a/utab/data/sites.csv b/utab/data/sites.csv new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/utab/data/sites.csv |