Lei’s
课程博客讨论LIVE
登录立即订阅
Style Guide

Style Guide

56 年前/未分类/- 阅读

Style Guide

Below is just about everything you’ll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.


Headings

Heading 1

Doloremque dolor voluptas est sequi omnis. Pariatur ut aut. Sed enim tempora qui veniam qui cum vel.

Heading 2

Doloremque dolor voluptas est sequi omnis. Pariatur ut aut. Sed enim tempora qui veniam qui cum vel.

Heading 3

Doloremque dolor voluptas est sequi omnis. Pariatur ut aut. Sed enim tempora qui veniam qui cum vel.

Heading 4

Doloremque dolor voluptas est sequi omnis. Pariatur ut aut. Sed enim tempora qui veniam qui cum vel.

Heading 5

Doloremque dolor voluptas est sequi omnis. Pariatur ut aut. Sed enim tempora qui veniam qui cum vel.

Heading 6

Doloremque dolor voluptas est sequi omnis. Pariatur ut aut. Sed enim tempora qui veniam qui cum vel.


Paragraph

It's very easy to make some words bold and other words italic with Markdown. You can even link to Google!

HTML and CSS are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. To copy a file type COPY filename. Dinner’s at 5:00. Let’s make that 7. This text has been struck.

Emphasis

This text will be italic
This text will be bold
You can combine them

Preformatted Text

The silver swan, who living had no note,
When death approached, unlocked her silent throat;

Text-level semantics

The a element example
The abbr element and abbr element with title examples
The b element example
The cite element example
The code element example
The del element example
The dfn element and dfn element with title examples
The em element example
The i element example
The ins element example
The kbd element example
The mark element example
The q element inside a q element example
The s element example
The samp element example
The small element example
The span element example
The strong element example
The sub element example
The sup element example
The var element example
The u element example

Footnotes

You can create footnotes like this1.


List Types

Ordered List

Sometimes you want numbered lists:

  1. List Item 1
  2. List Item 2
  3. Nested list item A
  4. Nested list item B
  5. List Item 3

Unordered List

Sometimes you want bullet points:

  • List Item 1
  • List Item 2
    • Nested list item A
    • Nested list item B
  • List Item 3

Alternatively,

  • Start a line with a star
  • Profit!

But I have to admit, tasks lists are my favorite:

  • This is a complete item
  • This is an incomplete item

Definition List

Definition List Title
This is a definition list division.
Definition
An exact statement or description of the nature, scope, or meaning of something: our definition of what constitutes poetry.

Blockquotes

Let’s keep it simple. Italics are good to help set it off from the body text. Be sure to style the citation.

Good afternoon, gentlemen. I am a HAL 9000 computer. I became operational at the H.A.L. plant in Urbana, Illinois on the 12th of January 1992. My instructor was Mr. Langley, and he taught me to sing a song. If you’d like to hear it I can sing it for you. — HAL 9000

And here’s a bit of trailing text.


Table

If you want to embed table, this is how you do it:

TABLE HEADER 1TABLE HEADER 2TABLE HEADER 3
Division 1Division 2Division 3
Division 1Division 2Division 3
Division 1Division 2Division 3
NameAgeSexLocation
NarutoUzumaki16MaleKonoha
SakuraHaruno16FemaleKonoha

Code

Code can be presented inline, like <?php bloginfo('stylesheet_url'); ?>, or within a <pre> block. Because we have more specific typographic needs for code, we’ll specify Consolas and Monaco ahead of the browser-defined monospace font.

console.log('hewwo') 
console.log('hello') 
console.log('goodbye')
.banner {
  width: 750px;
  height: 420px;
}

.banner image {
  width: 100%; 
  height: 100%;
}
import { Layout } from '#components'

export default () => (
  <Layout title="Hello world">
    <h1>Hello world</h1> // [!code highlight]
  </Layout>
)

Media

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.

Wide Image

Wide Image

Big Image

Big Image

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Small Image

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.

Small Image

Labore et dolore.

Video

Audio

Footnotes

  1. Here is the text of the footnote. ↩

文章信息及许可

本文采用《CC BY-SA 4.0 约定》进行许可

汪磊汪

汪磊

MAKE IT BETTER!

查看更多

讨论区

相关内容推荐

N/A

未分类

  • Hello world
  • Code Highlighting
  • 样式指南
  • Style Guide
查看更多文章
样式指南
未分类 · 56 年前 · 3 min

样式指南

以下是主题中几乎所有您需要样式化的内容。请检查源代码以查看段落中的许多嵌套元素。 标题 一级标题 当初他们相遇在繁华的城市街头,彼此之间并没有太多的交情。然而,随着时间的推移,他们的生活交织在一起,成为了最亲密的朋友。 二级标题 当初他们相遇在繁华的城市街头,彼此之间并没有太多的交情。然而,随着时间的推移,他们的生活交织在一起,成为了最亲密的朋友。 三级标题 当初他们相遇在繁华的城市街头,彼此之间并没有太多的交情。然而,随着时间的推移,他们的生活交织在一起,成为了最亲密的朋友。 四级标题 当初他们相遇在繁华的城市

汪磊汪继续阅读

社交媒体

我们会将最新的、最有意思的内容直接发送到您的收件箱。

标签

  • #工程化,
  • #模块化,
  • #Webpack,
  • #ES6,
  • #轻应用,
  • #AJAX,
  • #Electron,
  • #Rollup,
  • #TypeScript,
  • #自动化,
  • #脚手架,
  • #快应用,
  • #小程序,
  • #Loader,
  • #Plugin,
  • #Principle,
  • #Efficiency,
  • #SourceMap,
  • #HMR,
  • #Tree-shaking,
  • #CodeSplitting,
  • #Optimization,
  • 更多 »

链接

  • 故事
  • 关于我
  • 联系我们
  • 全部分类
  • 内容归档
  • 实验室

订阅

ITBetter
</> with by zce© 2025 Lei’s. 保留所有权利.京ICP备14041905号隐私政策服务条款

讨论区

0 条评论

    加入讨论

    注册成为我们的会员,加入我们的讨论

    加入我们

    已经是会员了? 立即登录