diff --git a/src/layouts/all.scss b/src/layouts/all.scss index 367e74e..5c91cc2 100644 --- a/src/layouts/all.scss +++ b/src/layouts/all.scss @@ -59,3 +59,11 @@ body { margin-top: 2.5rem; margin-bottom: 2.5rem; } + +////// BULMA MOBILE BREAKPOINT /////// +@media all and (max-width:768px){ + .content.has-custom-font-size-on-mobile{ + font-size: 0.875rem + } +} +////// BULMA MOBILE BREAKPOINT /////// \ No newline at end of file diff --git a/src/pages/blog.js b/src/pages/blog.js index 273e45d..a55788d 100644 --- a/src/pages/blog.js +++ b/src/pages/blog.js @@ -17,8 +17,8 @@ export default class BlogPage extends React.Component { {posts.map(({ node: post }) => (
-
-

+
+

{post.frontmatter.title}

{post.excerpt}

diff --git a/src/pages/index.js b/src/pages/index.js index e634b0b..4956e8b 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -29,13 +29,13 @@ const IndexPage = props => {
-

+

Comunidad de JavaScript
en El Salvador

diff --git a/src/templates/blog-post.js b/src/templates/blog-post.js index 3340300..dcef2d1 100644 --- a/src/templates/blog-post.js +++ b/src/templates/blog-post.js @@ -4,7 +4,6 @@ import { kebabCase } from 'lodash'; import Helmet from 'react-helmet'; import Link from 'gatsby-link'; import Content, { HTMLContent } from '../components/Content'; - export const BlogPostTemplate = ({ content, contentComponent, @@ -13,7 +12,6 @@ export const BlogPostTemplate = ({ date, }) => { const PostContent = contentComponent || Content; - return (
@@ -21,8 +19,8 @@ export const BlogPostTemplate = ({
-
-

+
+

{title}

diff --git a/yarn.lock b/yarn.lock index b1b96af..19b2520 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1868,6 +1868,7 @@ cheerio@^0.22.0: cheerio@^1.0.0-rc.2: version "1.0.0-rc.2" resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.2.tgz#4b9f53a81b27e4d5dac31c0ffd0cfa03cc6830db" + integrity sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs= dependencies: css-select "~1.2.0" dom-serializer "~0.1.0"