summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvuko <vuko@hackerspace.pl>2020-10-24 02:44:42 +0200
committervuko <vuko@hackerspace.pl>2020-10-24 02:44:42 +0200
commita79d178452b5263bbcd548ed259d2b87309f0e08 (patch)
treed940588b0fe9b5491770f4a1a9a9585f056198c3
parentd25e0812b7ec20d3db0ab2608b9244e4e0e87384 (diff)
parent3d4ba496cfce95e2201abc1791784d463b647c9c (diff)
downloadcheckinator-a79d178452b5263bbcd548ed259d2b87309f0e08.tar.gz
checkinator-a79d178452b5263bbcd548ed259d2b87309f0e08.tar.bz2
checkinator-a79d178452b5263bbcd548ed259d2b87309f0e08.zip
merge css changes
-rw-r--r--at/templates/main.html12
-rw-r--r--static/css/basic.css33
2 files changed, 37 insertions, 8 deletions
diff --git a/at/templates/main.html b/at/templates/main.html
index 3ac5c50..6012b21 100644
--- a/at/templates/main.html
+++ b/at/templates/main.html
@@ -15,19 +15,19 @@ Now at hackerspace
{% endfor %}
</ul>
{% trans n_unk=unknown|length %}
- There is {{ n_unk }} unknown device operating.
+ <p>There is {{ n_unk }} unknown device operating. </p>
{% pluralize %}
- There are {{ n_unk }} unknown devices operating.
+ <p>There are {{ n_unk }} unknown devices operating.</p>
{% endtrans %}
{% trans n_kek=kektops|length %}
- There is {{ n_kek }} unknown kektop operating.
+ <p>There is {{ n_kek }} unknown kektop operating.</p>
{% pluralize %}
- There are {{ n_kek }} unknown kektops operating.
+ <p>There are {{ n_kek }} unknown kektops operating.</p>
{% endtrans %}
{% trans n_esp=esps|length %}
- There is {{ n_esp }} unknown ESP operating.
+ <p>There is {{ n_esp }} unknown ESP operating.</p>
{% pluralize %}
- There are {{ n_esp }} unknown ESPs operating.
+ <p>There are {{ n_esp }} unknown ESPs operating.</p>
{% endtrans %}
<hr>
<a href="claim">Claim this device!</a>
diff --git a/static/css/basic.css b/static/css/basic.css
index d347512..a822965 100644
--- a/static/css/basic.css
+++ b/static/css/basic.css
@@ -1,17 +1,46 @@
+body {
+ margin: 5% auto;
+ background: #f8f8f8;
+ color: #222;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
+ font-size: 16px;
+ line-height: 1.8;
+ text-shadow: 0 1px 0 #ffffff;
+ max-width: 73%;
+}
+
+code {
+ background: white;
+}
+
+a {
+ border-bottom: 1px solid #222;
+ color: #222;
+ text-decoration: none;
+}
+
+a:hover {
+ border-bottom: 0;
+}
+
p.error {
color: red
}
+
p.message {
color: green
}
+
table.devices, .devices td, .devices th {
padding: .5em;
border: 1px solid black;
border-collapse: collapse;
}
+
td.invisible {
- background-color: red
+ background-color: #fbb
}
+
td.visible {
- background-color: green
+ background-color: #bfb
}