提交 0e592238 编写于 作者: Y Yuin Chien 提交者: Mr.doob

Updated color for title & refined type sizes.

上级 56eecedf
......@@ -8,7 +8,7 @@
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1><br />
<h1>[name]</h1>
<p>The goal of this section is to give a brief introduction to three.js. We will start by setting up a scene, with a spinning cube. A working example is provided at the bottom of the page in case you get stuck and need help.</p>
......
......@@ -4,8 +4,8 @@
--font-size: 14px;
--line-height: 24px;
--font-size-sanserif: 1.128rem;
--line-height-sanserif: 1.74rem;
--font-size-sanserif: 1.14285714286rem;
--line-height-sanserif: 1.71428571rem;
--border-style: 1px solid #E8E8E8;
--header-height: 48px;
......@@ -60,17 +60,15 @@ a {
}
h1 {
color: var(--color-blue);
font-size: 2.8rem;
line-height: 3.4rem;
font-weight: normal;
margin-top: 1rem;
margin-bottom: -0.4rem;
margin-bottom: -0.2rem;
margin-left: -2px;
}
h2 {
color: var(--color-blue);
font-size: 2rem;
line-height: 2.6rem;
font-weight: normal;
......@@ -79,12 +77,11 @@ h2 {
}
h3 {
color: var(--color-blue);
font-size: 1.32rem;
line-height: 2rem;
font-size: 1.42857143rem;
line-height: 2.14285714rem;
font-weight: normal;
margin-top: 1.8rem;
margin-bottom: 1rem;
margin-bottom: -0.4rem;
}
p,
......@@ -117,7 +114,6 @@ li ol {
margin-top: 0.25rem;
}
pre,
code {
margin: 1.2rem calc(-1 * var(--page-padding));
}
......@@ -127,6 +123,15 @@ ul code {
margin: 1.2rem 0;
}
code.inline {
display: inline-block;
vertical-align: middle;
border-radius: 4px;
padding: 0px 5px;
background: #F5F5F5;
margin: 0;
}
table {
width: 100%;
border-collapse: collapse;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册