Permalink
Browse files

init project

  • Loading branch information...
0 parents commit ad7d7ba290f1f7d6931ca9f22429f322f4fded37 Hsiaoming Yang committed Mar 23, 2013
Showing with 264 additions and 0 deletions.
  1. +117 −0 index.html
  2. +147 −0 yue.css
@@ -0,0 +1,117 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
+ <title>yue.css</title>
+ <link rel="stylesheet" href="yue.css" />
+ <style type="text/css">
+ body {
+ margin: 0;
+ padding: 0.4em 1em 6em;
+ background: #f9f9f5;
+ }
+ .yue {
+ max-width: 650px;
+ margin: 0 auto;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="yue">
+ <h1>HTML Ipsum Presents</h1>
+
+ <p><strong>Pellentesque habitant morbi tristique</strong> senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. <em>Aenean ultricies mi vitae est.</em> Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, <code>commodo vitae</code>, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. <a href="#">Donec non enim</a> in turpis pulvinar facilisis. Ut felis.</p>
+
+ <h2>Header Level 2</h2>
+
+ <ol>
+ <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
+ <li>Aliquam tincidunt mauris eu risus.</li>
+ </ol>
+
+ <blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote>
+
+ <h3>Header Level 3</h3>
+
+ <ul>
+ <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
+ <li>Aliquam tincidunt mauris eu risus.</li>
+ </ul>
+
+ <pre><code>#header h1 a {
+ display: block;
+ width: 300px;
+ height: 80px;
+}</code></pre>
+ <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
+ <ul>
+ <li>Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.</li>
+ <li>Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.</li>
+ <li>Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.</li>
+ <li>Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.</li>
+ </ul>
+
+ <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Gender</th>
+ <th>State</th>
+ <th>Country</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>James</td>
+ <td>Male</td>
+ <td>Kitty</td>
+ <td>Janpan</td>
+ </tr>
+ <tr>
+ <td>Harry Porter</td>
+ <td>Male</td>
+ <td>Infinity</td>
+ <td>Wisdom</td>
+ </tr>
+ <tr>
+ <td>Nobel</td>
+ <td>Female</td>
+ <td>Heaven</td>
+ <td>Pellentesque</td>
+ </tr>
+ </tbody>
+ </table>
+ <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus</p>
+ <hr />
+
+ <h5>Header Level 5</h5>
+
+ <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
+
+ <blockquote><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.</p></blockquote>
+
+ <h4>Header Level 4</h4>
+
+ <ul>
+ <li>
+ <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
+ <ol>
+ <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
+ <li>Aliquam tincidunt mauris eu risus.</li>
+ <li>Vestibulum auctor dapibus neque.</li>
+ </ol>
+ </li>
+ <li>
+ <h6>Header Level 6</h6>
+ <ul>
+ <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
+ <li>Aliquam tincidunt mauris eu risus.</li>
+ <li>Vestibulum auctor dapibus neque.</li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ </body>
+</html>
147 yue.css
@@ -0,0 +1,147 @@
+.yue {
+ font: 16px/1.62 "Helvetica Neue", "Arial", "Xin Gothic", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft YaHei", sans-serif;
+ color: #4c4c4c;
+}
+.yue p {
+ margin: 0.62em 0 1.62em;
+}
+.yue h1,
+.yue h2,
+.yue h3,
+.yue h4,
+.yue h5,
+.yue h6 {
+ color: #222;
+ margin: 1.62em 0 0.62em;
+}
+.yue h1 {
+ font-size: 1.5em;
+}
+.yue h2 {
+ font-size: 1.25em;
+}
+.yue h3 {
+ font-size: 1.1em;
+}
+.yue h4,
+.yue h5,
+.yue h6 {
+ font-size: 1em;
+}
+.yue h6 {
+ font-weight: 500;
+}
+.yue a {
+ color: #3d8edf;
+ text-decoration: none;
+ word-wrap: break-word;
+}
+.yue a:hover {
+ color: #69a7e6;
+ text-decoration: underline;
+}
+.yue strong {
+ font-weight: 700;
+ color: #222;
+}
+.yue em {
+ font-style: italic;
+ color: #222;
+}
+.yue img {
+ max-width: 98%;
+}
+.yue hr {
+ padding: 0.5em 0 1em;
+ margin: 14px 0;
+ border: none;
+ height: 0;
+ background: transparent;
+ vertical-align: middle;
+}
+.yue hr:after {
+ color: #9f9f95;
+ font-size: 1.1em;
+ display: block;
+ content: "* * *";
+ text-align: center;
+}
+.yue blockquote {
+ margin: 0.62em 0 1.62em;
+ padding-left: 18px;
+ border-left: 4px solid #dadada;
+ color: #8a8a8a;
+}
+.yue ul,
+.yue ol {
+ margin-left: 14px;
+ padding-left: 16px;
+}
+.yue ul {
+ list-style-type: square;
+}
+.yue ol {
+ list-style-type: decimal;
+}
+.yue li {
+ margin-bottom: 0.6em;
+}
+.yue li ul,
+.yue li,
+.yue ol {
+ margin-top: 0;
+ margin-bottom: 0;
+ margin-left: 14px;
+}
+.yue li ul {
+ list-style-type: disc;
+}
+.yue li ul ul {
+ list-style-type: circle;
+}
+.yue li p {
+ margin: 0.4em 0 0.6em;
+}
+.yue code,
+.yue tt {
+ color: #808080;
+ font-size: 14px;
+ background-color: #f9f9f7;
+ padding: 1px 2px;
+ border: 1px solid #dadada;
+ border-radius: 3px;
+ font-family: "Inconsolata", "Menlo", monospace;
+}
+.yue pre {
+ padding: 7px;
+ border: 1px solid #dadada;
+ border-radius: 4px;
+ overflow: auto;
+ font: 400 14px/1.5 "Inconsolata", "Menlo", monospace;
+ color: #4c4c4c;
+ background-color: #f9f9f7;
+}
+.yue pre code {
+ color: #4c4c4c;
+ border: none;
+ background-color: none;
+ padding: auto;
+}
+.yue table {
+ border-collapse: collapse;
+ border-spacing: 0;
+ margin-bottom: 1.5em;
+ font-size: 14px;
+}
+.yue th,
+.yue td {
+ text-align: left;
+ padding: 4px 8px 4px 10px;
+ border: 1px solid #dadada;
+}
+.yue td {
+ vertical-align: top;
+}
+.yue tr:nth-child(even) {
+ background-color: #f9f9f7;
+}

0 comments on commit ad7d7ba

Please sign in to comment.