Giter Club home page Giter Club logo

flexy's Introduction

Flexy

Flexy is a modern theme for Hexo, written using Flexbox.

Flexy Screenshot

Flexy Mobile Screenshot

Demo

You can see the theme in action on my website.

Usage

$ git clone https://github.com/sjaakvandenberg/flexy themes/flexy
$ npm un -S hexo-renderer-ejs
$ npm i -S hexo-renderer-jade

Change your theme variable to flexy in your root's _config.yml.

Features

  • Written in Jade and Stylus
  • Uses Flexbox
  • Responsive
  • Mobile first
  • CSS3 animations in header
  • Uses Stylus Nib
  • normalize.css
  • Schema.org markup

In the header, the transform3d() function is used, which triggers GPUs to render the animation. This makes the page very quick to render, as the only background image is a 2.8K big SVG. It runs without using any JavaScript out of the box.

It's mobile first, so the media queries in the source/styles/screen.styl target the landscape screens.

Post Variables

In the homepage post listing, you can use the post.intro variable to define an introduction. To do this, add the intro variable to your YAML in your Markdown file. Comments can be toggled with the post.comments boolean variable.

title: The Rise of the Autobots
intro: A look at the upward march of automation into the vehicles around us.
date: 2015-05-28 13:45:00
comments: false
---

Articles Page

In your root's _config.yml, set filename_case to 1. Create a new Articles page by giving the hexo new page 'Articles' command. layout/_content.jade will output a yearly summary of posts.

Fonts

This theme uses Open Sans for headings, Droid Serif for body text and Fira Mono for code. They're located in the source/fonts directory in WOFF and WOFF2 formats.

Problems or Improvements

If you see room for improvements, submit a PR. If you run into a problem, open an issue.

flexy's People

Contributors

sjaakvandenberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flexy's Issues

Tables look abnormal

the table seems it didn't work.
code in flexy theme

| Item     | Value        | Qty   |
| :------- | -----------: | :---: |
| Computer | 1600 USD     | 5     |
| Phone    | 12 USD       | 12    |
| Pipe     | 1 USD        | 234   |

the website show like the following picture:
table error

same code in default theme,it correctly show
table correct

The Problem Aboult layout

i'd like to say that i like your 'flexy' very much ,but there is a question aboult layout whith i don't know how to do. I think the description (on the left side of the black background)is too heavy,and i want to let it become thiner,it's width can littler.thanks.

Invite cooperation

I like the style of your blog very much. Can you develop a set of (free / paid) themes for cabloy-cms, and publish them in the cabloy store?

CabloyJS: is the Ultimate NodeJS Full-stack Business Development Platform, based on KoaJS + EggJS + VueJS + Framework7
Cabloy-CMS: is a CMS with the feature of static-dynamic combination based on the CabloyJS, which can quickly build web applications such as corporate websites, blogs, communities, and malls, etc.
Cabloy-Store: includes a wide range of modules to meet the development needs of different scenarios

CabloyJS Introduce: https://cabloy.com/articles/introduce.html
Cabloy-CMS Introduce: https://cabloy.com/articles/cms-introduce.html

Cabloy-Store Introduce: https://cabloy.com/articles/store.html

Hi))

Beautiful theme! How to install wordpress. I write error stylesheet not found ((

articles and about page can't open

i use command like"hexo new page "Articles"...and it works on localhost,but when I use my own domain name it doesn't work.the page of articles and about can not found.....my site is : sihan.me

Resizing Images does not function

I am unsure if this is a Hexo-wide issue, but I cannot seem to be able to resize any images inside of the body of any article.

I have tried other plugins to attempt to work around this, but none of those seem to work with this theme.

image

No HTML img sizing tags or markdown sizing tags function whatsoever and it seems that any image loaded just takes up maximum width on the screen.
The same is true for embedded elements, like my visit tracker shown in the photo.

Seeking any advice here, I love this theme - just wish I could have resizable photos!

blank page

I command that command and the corectly deploy it .and no error message but blank page

Jade renamed to pug

when I try "npm i -S hexo-renderer-jade" the command line tells me to replace jade with pug, but that command isnt recognized... Any suggestions?
Really like this theme btw! Going to use it for my portfolio ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.