From 27844c650766864aba46584e566639b79f22c0aa Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 3 Jun 2018 18:17:42 +0800 Subject: Fix Docs hash linking bug --- docs/elements.html | 34 +- docs/getting-started.html | 26 +- docs/layout.html | 2039 ++++++++++++++++++++++++++++----------------- docs/src/_docs-layout.pug | 2 +- docs/src/_mixins.pug | 4 +- docs/src/elements.pug | 4 +- docs/src/layout.pug | 39 + 7 files changed, 1356 insertions(+), 792 deletions(-) create mode 100644 docs/src/layout.pug (limited to 'docs') diff --git a/docs/elements.html b/docs/elements.html index e7b4e82..b20594a 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -46,7 +46,7 @@ - + @@ -129,8 +129,8 @@
-
-

Typography

+
+

Typography

Typography sets default styles for headings, paragraphs, semantic text, blockquote and lists elements.

Headings

@@ -317,8 +317,8 @@ <dd>description list description</dd> </dl>
-
-

Tables

+
+

Tables

Tables include default styles for tables and data sets.

@@ -378,8 +378,8 @@ </tbody> </table>
-
-

Buttons

+
+

Buttons

Buttons include simple button styles for actions in different types and sizes.

@@ -526,8 +526,8 @@ <button class="btn">third button</button> </div>
-
-

Forms

+
+

Forms

Forms provide the most common control styles used in forms, including input, textarea, select, checkbox, radio and switch.

@@ -1208,11 +1208,11 @@ </div> </fieldset>
-
-

Icons

+
+

Icons

-
-

Labels

+
+

Labels

Labels are formatted text tags for highlighted, informative information.

default labelprimary labelsecondary labelsuccess labelwarning labelerror label
@@ -1231,8 +1231,8 @@ <!-- rounded labels --> <span class="label label-rounded label-primary">primary label</span>
-
-

Code

+
+

Code

Code is used for styling inline and multiline code snippets.

For inline code, you can use the <code> element. For multiline code snippet blocks, you can use <pre> with the code class as a container, and add <code> inside it. @@ -1249,8 +1249,8 @@ &lt;<span class="tag">/button</span>&gt; </code></pre>

-
-

Media

+
+

Media

Media includes responsive images, figures and video classes.

Images

Add the img-responsive class to <img> elements. The images will scale with the parent sizes.

diff --git a/docs/getting-started.html b/docs/getting-started.html index 4d9f7ee..2665d0c 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -46,7 +46,7 @@ - +
@@ -129,14 +129,14 @@
-
-

Introduction

+
+

Introduction

Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development.

Spectre provides basic styles for typography and elements, flexbox based responsive layout system, pure CSS components and utilities with best practice coding and consistent design language.

-
-

Installation

+
+

Installation

There are 5 ways to get started with Spectre CSS framework in your projects. You can either install manually, from CDN or use package managers.

Install manually

Download the compiled and minified Spectre CSS file (core ~10KB min+gzip):

@@ -161,8 +161,8 @@

Install from Bower

bower install spectre.css --save
-
-

Custom version

+
+

Custom version

You can customize your version of Spectre.css by editing Sass files in /src directory or removing unneeded components from .scss source files.

Sass Source Code

If you are looking for Less version of Spectre.css, please switch to Less branch.

@@ -364,11 +364,11 @@ gulp.task('prefix',

After you compile your version of Spectre in the /dist, run gulp prefix in the directory of Spectre.

-
-

Accessibility

+
+

Accessibility

-
-

Browser support

+
+

Browser support

Spectre uses Autoprefixer to make most styles compatible with earlier browsers and Normalize.css for CSS resets. Spectre is designed for modern browsers. For best compatibility, these browsers are recommended:

  • Chrome LAST 4
  • @@ -380,8 +380,8 @@ gulp.task('prefix',

    Spectre supports Internet Explorer 10+, but some HTML5 and CSS3 features are not perfectly supported by Internet Explorer.

-
-

What's new

+
+

What's new

September 2017

  • Off-canvas: navigation layout that the sidebar can slide in and out of the viewport NEW
  • diff --git a/docs/layout.html b/docs/layout.html index dd4fae5..b20594a 100644 --- a/docs/layout.html +++ b/docs/layout.html @@ -1,799 +1,1326 @@ - - - - - - - Layout - Spectre.css CSS Framework - - - - - - - - -
    - - -