From f020bd9129bf70e998e0ae206218493a72ebfa81 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Sat, 23 Apr 2016 11:10:17 +0530 Subject: [PATCH 1/5] Add a way to remove image from post once added Accidents happen, you shouldn't have to refresh the entire page to get rid of the image. --- views/new-post.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/views/new-post.php b/views/new-post.php index 57b7521..2376431 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -28,7 +28,10 @@
- +
+ + +
@@ -133,15 +136,20 @@ From 3f7f28418f075756f027a0a268ae78fbf6003aa0 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Sun, 24 Apr 2016 12:49:11 +0530 Subject: [PATCH 4/5] Add fullscreen meta tags for Safari and Chrome Also set the theme color for Chrome to the blue used in the logo. --- views/layout.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/layout.php b/views/layout.php index da97687..a154a84 100644 --- a/views/layout.php +++ b/views/layout.php @@ -27,6 +27,10 @@ + + + + From 6ba8cf48a87c8aaa18ebc04ec65ad8c6e388a081 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Mon, 25 Apr 2016 18:34:57 +0530 Subject: [PATCH 5/5] Remove vendor prefix for border-radius value The -moz one was an invalid property too. --- public/css/style.css | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index d806c62..f9f9ac2 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -13,7 +13,7 @@ body { .narrow { max-width: 700px; margin-right: auto; - margin-left: auto; + margin-left: auto; } .footer { @@ -28,7 +28,7 @@ body { .footer .nav { max-width: 700px; margin-right: auto; - margin-left: auto; + margin-left: auto; } .footer .credits { @@ -65,7 +65,7 @@ body { .bs-callout .highlight { background-color: #fff; } - + /* Themes for different contexts */ .bs-callout-danger { background-color: #fcf2f2; @@ -132,7 +132,7 @@ body { float: left; margin-left: 10px; } - + #last_response_date { font-size: 80%; font-weight: normal; @@ -160,10 +160,6 @@ body { } .img-visible { - -webkit-border-bottom-right-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomright: 0; - -moz-border-radius-bottomleft: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } @@ -171,10 +167,6 @@ body { #note_location_img img { margin-top: -1px; border: 1px solid #ccc; - -webkit-border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomright: 4px; - -moz-border-radius-bottomleft: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; } @@ -194,7 +186,7 @@ body { cursor: pointer; opacity: 0; filter: alpha(opacity=0); - } + } .callout { border-left: 4px #5bc0de solid; @@ -205,5 +197,3 @@ body { .callout table { margin-bottom: 0; } - -