bobdenotter/bolt-tufte-theme
Composer 安装命令:
composer require bobdenotter/bolt-tufte-theme
包简介
🎨 Tufte Theme for Bolt
README 文档
README
Simplicity, to me, has always been the essence of good taste.
-- Cary Grant
Edward Tufte uses a distinctive style in his handouts: simple, with well-set
typography, extensive sidenotes, and tight integration of graphics and
charts. tufte-css brings that style to HTML documents.
This project is directly inspired by and based on Tufte-LaTeX and the R Markdown Tufte Handout.
A good starting point for the 'entries' contenttype is:
entries:
name: Entries
singular_name: Entry
fields:
title:
type: text
class: large
group: content
slug:
type: slug
uses: title
teaser:
type: html
height: 150px
image:
type: image
group: media
attrib: [ title, alt ]
image_position:
type: select
values:
main: "Main column"
sidebar: "Sidebar"
body:
type: html
height: 300px
taxonomy: [ categories, tags ]
listing_records: 10
default_status: publish
sort: -datepublish
Getting Started
The file index.html is a self-describing demonstration document that walks through the features of Tufte CSS. The live version at http://www.daveliepmann.com/tufte-css/ is the best overview of the project.
To use Tufte CSS on your own HTML page, just copy tufte.css,
ETBembo-RomanLF.ttf, and ETBembo-DisplayItalic.ttf to your project
directory and add the following to your HTML doc's head block:
<link rel="stylesheet" href="tufte.css"/>
All the other files can be ignored, as they are merely used by the demonstration document.
Contributing
If you notice something wrong or broken, let us know by opening an issue. Pull requests are very welcome.
For best results, keep pull requests to one change at a time, and
test your fix or new functionality against index.html on screens as
small as an iPhone 4 and as big as, well, as big as you use
normally. (If you don't have a mobile device handy, fake different
devices with your browser's developer tools.) See the Issues page, especially
Help Wanted,
for opportunities to contribute. Keep our style guide in mind:
CSS Style Guide
Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style.
-- Google Style Guide
Tufte CSS aims for clarity, concision, and uniformity. Here's a basic example of our CSS conventions:
p { font-size: 1.4rem; line-height: 2rem; margin-top: 1.4rem; margin-bottom: 1.4rem; width: 55%; padding-right: 0; vertical-align: baseline; } @media screen and (max-width: 600px) { p { width: 70%; }} @media screen and (max-width: 400px) { p { width: 90%; }}
Notice the single spacing between most syntactic markers, the single blank lines between unrelated blocks, and the absence of line breaks after an open-paren and before end-parens. Notice also that these rules change slightly for media queries.
Originally adapted from : https://github.com/daveliepmann/tufte-css, by Dave Liepmann.
License
Released under the MIT license. See LICENSE.TXT.
bobdenotter/bolt-tufte-theme 适用场景与选型建议
bobdenotter/bolt-tufte-theme 是一款 基于 SCSS 开发的 Composer 扩展包,目前已累计 7 次下载、GitHub Stars 达 4, 最近一次更新时间为 2019 年 08 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「theme」 「bolt」 「bulma」 「Tufte」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bobdenotter/bolt-tufte-theme 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bobdenotter/bolt-tufte-theme 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bobdenotter/bolt-tufte-theme 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Bulma Frontend Preset For Laravel Framework 6.0 and Up
Laravel 7+ form wrappers for Bootstrap and bulma.
Asset for Bulma Free for YiiFramework v.3.0.
A Bootstrap 4.x base theme for SilverStripe
Lucency Theme
Core elements for the Bolt Framework
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-24