blackgear / mono_hexo

一个简洁的hexo主题

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

简介

Mono是一个素雅简洁的Hexo主题,基于Pug与Stylus开发。

本主题根据仅作者自身的需求定制,完全不考虑其他任何可能的潜在用户的需求,如果你希望添加其他功能,可根据MIT协议自行修改以符合你自己的需求。

预览

在线预览

安装

$ cd your-hexo-site
$ git clone https://github.com/blackgear/mono_hexo.git themes/mono
$ npm install hexo-renderer-jade hexo-renderer-stylus --save

配置

  1. 更改站点 _config.yml 中的 theme 字段设置为 mono

  2. 更改主题 _config.yml 中的设置,调整主题右上角快捷链接的内容。

  3. 更改source目录下的图标。

更新

$ cd themes/mono
$ git pull

特性

  1. 顶栏42px,一行42个字,遵循宇宙、生命以及一切的答案

  2. 纵向对齐7px基线,完美满足强迫症与中二病的需求

  3. 使用html5语义化标签与css3选择器,不使用class与id

  4. 使用PJAX、APP Cache、异步加载等技术提升页面载入与渲染速度

  5. 不支持各类统计或是社会化评论等有追踪用户嫌疑的脚本

  6. 以最新正式版本的Mac/iOS Safari为CSS/JS的最低兼容性标准

  7. 优先为触摸板/触摸屏操作为主的Mac/iOS Safari调整设计

*基于Entry.css移植实现基线对齐

*基于InstantClick移植实现PAJX载入

LICENSE

The MIT License

Copyright (c) 2016 Daniel

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

一个简洁的hexo主题

License:MIT License


Languages

Language:CSS 55.2%Language:HTML 41.4%Language:Shell 3.4%