Index: applications/mobileblur/static/css/base.css ================================================================== --- applications/mobileblur/static/css/base.css +++ applications/mobileblur/static/css/base.css @@ -489,10 +489,15 @@ /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you j.mp/textsizeadjust html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */ } +@media handheld { + body { + } +} + /* * print styles * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ */ @@ -509,16 +514,17 @@ p, h2, h3 { orphans: 3; widows: 3; } h2, h3{ page-break-after: avoid; } } body { + background-color: #f2c84b; } header { - background-color: #cc0000; + background-color: #f24405; padding: 1%; - border-bottom: 1px solid black; + border-bottom: 1px solid #d91604; color: white; } header > h1 > a { text-decoration: none; color: white; @@ -528,10 +534,11 @@ header > h2 { /* border-top: 1px solid white;*/ } #story-list { + background-color: #f2c84b; } #story-list > .story > a, .feed > a { text-decoration: none; font-weight: bold; @@ -540,20 +547,19 @@ #story-list > .story > p { font-size: .75em; } #story-list > .story > .read { - color: #CC3333; + color: #023859; } #story-list > .story > .unread, .feed > a { - color: #CC0000; -/* color: #A8A8EE;*/ + color: #0396a6; } #story-list > .story, .feed { padding: .5%; - border-top: 1px solid black; + border-top: 1px solid #d91604; margin-top: .33%; } span.ps, span.nt, span.ng { padding: .05em; @@ -568,15 +574,15 @@ span.ng { background-color: red; } footer { - background-color: #cc0000; + background-color: #f24405; padding: 1%; - border-top: 1px solid black; + border-top: 1px solid #d91604; color: white; } footer > a { text-decoration: none; color: white; font-weight: bold; } Index: applications/mobileblur/views/feeds/view.html ================================================================== --- applications/mobileblur/views/feeds/view.html +++ applications/mobileblur/views/feeds/view.html @@ -8,11 +8,12 @@
{{ import time s = time.time() }} - {{ for story in stories: + {{ + for story in stories: if sum([v for k,v in story["intelligence"].iteritems()]) < threshold: continue }} {{ print story["read_status"] }} Index: applications/mobileblur/views/layout.html ================================================================== --- applications/mobileblur/views/layout.html +++ applications/mobileblur/views/layout.html @@ -23,11 +23,11 @@ j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag device-width: Occupy full width of the screen in its current orientation initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height maximum-scale = 1.0 retains dimensions instead of zooming in if page width < device width --> - + @@ -58,10 +58,11 @@ if right_sidebar_enabled: right_sidebar_style = 'style="display: block;"' else: right_sidebar_style = 'style="display: none;"' style_content = 'style="width: %s"' % width_content }} + @@ -76,11 +77,11 @@

MobileBlur

{{end}} {{ block header_bonus }}{{end}} -
+
{{include}}