-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (46 loc) · 2.52 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DS in CSS</title>
<link rel="shortcut icon" href="https://cdn.casebook.net/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="./css/styles.css">
</head>
<body class="cb-baseline">
<main class="cb-main">
<h1 class="cb-h4 cb-bolder">Casebook DS in CSS</h1>
<h2 class="cb-body2 cb-margin-bottom-large">
Recreating our in-house design system with pure CSS for no-js usage
</h2>
<p>GitHub: <a class="cb-link"
href="https://github.com/Casecommons/cbp-ds-in-css" target="_blank">https://github.com/Casecommons/cbp-ds-in-css</a></p>
<h3 id="about" class="cb-h6 cb-margin-top-large">About</h3>
<p>This is a pure CSS (no JS) implementation of Casebook's look and feel, for use in no-js use cases or with non-React front-end libraries.</p>
<p>As a general rule, all CSS classes in this library are prefixed with <code class="cb-inline-code">.cb-</code> to prevent clashes with other styles.</p>
<h3 id="todo" class="cb-h6 cb-margin-top-large">TODO</h3>
<p>This is a work in progress. See the <a href="./TODO" class="cb-link">TODO page</a> for upcoming items.</p>
<h3 id="usage" class="cb-h6 cb-margin-top-large">Usage</h3>
<p>Use the styles by linking the compiled CSS in your html:</p>
<div class="cb-code-block-container">
<pre><link rel="stylesheet" type="text/css" href="https://casecommons.github.io/cbp-ds-in-css/css/styles.css"></pre>
</div>
<h3 id="pages" class="cb-h6 cb-margin-top-large">Docs pages</h3>
<ul>
<li><a class="cb-link" href="./avatar.html">Avatars</a></li>
<li><a class="cb-link" href="./button.html">Buttons</a></li>
<li><a class="cb-link" href="./card.html">Cards</a></li>
<li><a class="cb-link" href="./chip.html">Chips</a></li>
<li><a class="cb-link" href="./colors.html">Colors</a></li>
<li><a class="cb-link" href="./definition-list.html">Definition lists</a></li>
<li><a class="cb-link" href="./expandable-section.html">Expandable sections</a></li>
<li><a class="cb-link" href="./layout.html">Layouts</a></li>
<li><a class="cb-link" href="./link.html">Links</a></li>
<li><a class="cb-link" href="./table.html">Tables</a></li>
<li><a class="cb-link" href="./typography-colors.html">Typography colors</a></li>
<li><a class="cb-link" href="./typography-variants.html">Typography variants</a></li>
</ul>
</main>
</body>
</html>