summaryrefslogtreecommitdiff
path: root/project/assets
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-12-31 14:13:09 +1100
committerJed Barber <jjbarber@y7mail.com>2016-12-31 14:13:09 +1100
commit4c3e4a2244e66e73dc87ce1988ad8b61b794baba (patch)
treedf098123536f6f3ae510fa2e4695f041c466135f /project/assets
parent1ded97cca520f8cddf0f61dad76298243156639f (diff)
Navbar now nice and horizontal
Diffstat (limited to 'project/assets')
-rw-r--r--project/assets/css/default.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/project/assets/css/default.css b/project/assets/css/default.css
index a56111e..a3805ee 100644
--- a/project/assets/css/default.css
+++ b/project/assets/css/default.css
@@ -1,8 +1,37 @@
+/* Some hopefully sensible defaults. */
+
body {
margin:1em auto;
max-width:40em;
font:1.2em/1.62em sans-serif;
}
+
+
+
+/* A bunch of nonsense to make the navbar
+ horizontal and evenly spaced. */
+
+nav ul {
+ width: 85%;
+ text-align: justify;
+ line-height: 0;
+ margin: 0 auto 0 auto;
+ padding: 0;
+}
+
+
+nav ul:after {
+ content: '';
+ display: inline-block;
+ width: 100%;
+}
+
+
+nav ul li {
+ display: inline-block;
+ line-height: 100%;
+}
+