From 70441ec0cc8f4d1258de98adf50d738c32ac757b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 4 Apr 2016 15:00:31 -0400 Subject: optional mobile title --- public/assets/ok.css | 18 ++++++++++++++++++ templates/index.liquid | 5 ++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/public/assets/ok.css b/public/assets/ok.css index 0f09323..b8e0ff6 100644 --- a/public/assets/ok.css +++ b/public/assets/ok.css @@ -181,6 +181,10 @@ ul li { text-transform: capitalize; } +ul li[data-id='dump-fm'] { + text-transform: none; +} + .desktop .menu ul li:hover, .menu ul li.active { background: black; @@ -188,6 +192,20 @@ ul li { cursor: pointer; } +.desktop .mobiletitle, +.mobile .desktoptitle { + display: none; +} + +.desktop .desktoptitle +.mobile .mobiletitle { + display: inline; +} + +.menu u { + text-decoration: none; +} + nav { background: white; } diff --git a/templates/index.liquid b/templates/index.liquid index 73b694e..8328227 100644 --- a/templates/index.liquid +++ b/templates/index.liquid @@ -33,7 +33,10 @@ {% for page in pages %}
  • {{ page.title }}
  • {% endfor %} {% for project in projects %} -
  • {{ project.title }}
  • +
  • + {{ project.title }} + {% if project.mobileTitle %}{{ project.mobileTitle }}{% else %}{{ project.title }}{% endif %} +
  • {% endfor %} -- cgit v1.2.3-70-g09d2