From 6e474b399561070381ccf0d91121b5b5e2baeaae Mon Sep 17 00:00:00 2001 From: Kassia Catarine Date: Tue, 2 May 2017 16:37:25 -0300 Subject: [PATCH 1/4] Remove hardcoded html from tutorials view Signed-off-by: Kassia Catarine Signed-off-by: Marcelo Cristiano --- tutorials.html | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/tutorials.html b/tutorials.html index ddcb231..af5d53c 100644 --- a/tutorials.html +++ b/tutorials.html @@ -4,18 +4,6 @@ permalink: /tutorials/ --- -
- -
- -
-
-

Tutorials

-

Want to learn to use Mezuro better? Check those tutorials. Have fun!

-
-
-
-
{%include posts.html category="tutorial" %} -
+ \ No newline at end of file From 2b909b0a3b640cbc27e6fee589251ad77f000c8b Mon Sep 17 00:00:00 2001 From: Kassia Catarine Date: Tue, 2 May 2017 16:42:32 -0300 Subject: [PATCH 2/4] Create tutorial's post in markdown format Signed-off-by: Kassia Catarine Signed-off-by: Marcelo Cristiano --- _posts/2017-04-27-tutorials.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 _posts/2017-04-27-tutorials.markdown diff --git a/_posts/2017-04-27-tutorials.markdown b/_posts/2017-04-27-tutorials.markdown new file mode 100644 index 0000000..6b0fe7b --- /dev/null +++ b/_posts/2017-04-27-tutorials.markdown @@ -0,0 +1,11 @@ +--- +layout: post +title: "Tutorials" +date: 2017-04-27 16:45:20 -0200 +categories: tutorial +highlight: true +image: /img/tutorial.jpg + +--- + +Want to learn how to use Mezuro better? We have some tutorails, check them. Have fun! \ No newline at end of file From 73d40203f6425183e3ed283440b11136af11c031 Mon Sep 17 00:00:00 2001 From: Kassia Catarine Date: Tue, 2 May 2017 16:44:27 -0300 Subject: [PATCH 3/4] Create media queries for more homogeneous posts sizes Signed-off-by: Kassia Catarine Signed-off-by: Marcelo Cristiano --- _sass/_post.scss | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/_sass/_post.scss b/_sass/_post.scss index 80ac8fd..cf08be9 100644 --- a/_sass/_post.scss +++ b/_sass/_post.scss @@ -16,7 +16,7 @@ flex-shrink: 0; .post-container { - max-width: 1600px; + min-width: 1600px; width: calc(100% - 16px); margin: 0 auto; } @@ -38,3 +38,33 @@ } } } +@media (min-width:320px) { /* smartphones, iPhone, portrait 480x320 phones */ + .section-highlight { + min-width: 302px; + } +} +@media (min-width:481px) { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ + .section-highlight { + min-width: 431px; + } +} +@media (min-width:641px) {/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ + .section-highlight { + min-width: 590px; + } +} +@media (min-width:961px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ + .section-highlight { + min-width: 914px; + } +} +@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ + .section-highlight { + min-width: 980px; + } +} +@media (min-width:1281px) { /* hi-res laptops and desktops */ + .section-highlight { + min-width: 1164px; + } +} From 916663dc850a89dc0e712f6382f322b488350afe Mon Sep 17 00:00:00 2001 From: Akira Date: Tue, 2 May 2017 17:14:30 -0300 Subject: [PATCH 4/4] fix a wrong alteration --- _sass/_post.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sass/_post.scss b/_sass/_post.scss index cf08be9..5bfc51a 100644 --- a/_sass/_post.scss +++ b/_sass/_post.scss @@ -16,7 +16,7 @@ flex-shrink: 0; .post-container { - min-width: 1600px; + max-width: 1600px; width: calc(100% - 16px); margin: 0 auto; }