This repository has been archived by the owner on Jan 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
183 lines (155 loc) · 5.25 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='//fonts.googleapis.com/css?family=Hind:400,300,500,600,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/reset.css"> <!-- CSS reset -->
<link rel="stylesheet" href="css/style-guide.css"> <!-- Resource style -->
<script src="js/modernizr.js"></script> <!-- Modernizr -->
<title>OpenTrials Style Guide</title>
</head>
<body>
<header>
<div class="logo">OpenTrials</div>
<nav>
<ul class="main-nav">
<li><a href="#branding">Logos</a></li>
<li><a href="#colors">Colors</a></li>
<li><a href="#typography">Typography</a></li>
<li><a href="#icons">Icons</a></li>
<li><a href="#ui">UI</a></li>
</ul>
</nav>
<a href="https://github.com/opentrials/style-guide/archive/assets.zip" class="download">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 20"><title>Download</title><path class="a" d="M27,16a3.4,3.4,0,0,0-1,.1V16A10,10,0,0,0,16,6a9.81,9.81,0,0,0-9.5,7A6.51,6.51,0,0,0,6,26H27A5,5,0,0,0,27,16Zm-6.3,2.3L16,23l-4.7-4.7,1.4-1.4L15,19.2V12h2v7.2l2.3-2.3Z" transform="translate(0 -6)"/></svg>
<span>Download assets</span></a>
<a href="#0" class="nav-trigger">Menu<span></span></a>
</header>
<main>
<h1>Style Guide 1.1</h1>
<section id="branding" class="branding">
<h2>Logos</h2>
<ul>
<li class="box"><img src="assets/branding/logo.png" alt="OpenTrials logo"></li>
<li class="box"><img src="assets/branding/logo-rev.png" alt="OpenTrials logo reversed"></li>
</ul>
<ul>
<li class="box"><img src="assets/branding/app-logo.png" alt="App logo"></li>
<li class="box"><img src="assets/branding/app-logo-rev.png" alt="App logo reversed"></li>
</ul>
<ul>
<li><img src="assets/branding/touch-icon.png" alt="Touch Icon"></li>
<li><img src="assets/branding/touch-icon.png" alt="Favicon"></li>
</ul>
</section>
<section id="colors" class="colors">
<h2>Colors</h2>
<ul>
<li class="box">
<div class="color-swatch"></div>
</li>
<li class="box">
<div class="color-swatch"></div>
</li>
<li class="box">
<div class="color-swatch"></div>
</li>
<li class="box">
<div class="color-swatch"></div>
</li>
<li class="box">
<div class="color-swatch"></div>
</li>
</ul>
</section>
<section id="typography" class="typography">
<h2>Typography</h2>
<div class="box">
<h1>Heading, <span></span></h1>
<p>Aa - <span></span>. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis voluptate distinctio reprehenderit, autem deleniti ad <a href="#0">voluptatum eaque</a>. Optio ea aperiam nisi distinctio nemo repellat, voluptate fugiat. Quidem neque illum, blanditiis!</p>
</div>
</section>
<section id="icons" class="icons">
<h2>Icons</h2>
<ul class="box">
<li class="icon-1"></li>
<li class="icon-2"></li>
<li class="icon-3"></li>
<li class="icon-4"></li>
<li class="icon-5"></li>
<li class="icon-6"></li>
<li class="icon-7"></li>
<li class="icon-8"></li>
<li class="icon-9"></li>
<li class="icon-10"></li>
<li class="icon-11"></li>
<li class="icon-12"></li>
<li class="icon-13"></li>
<li class="icon-14"></li>
<li class="icon-15"></li>
<li class="icon-16"></li>
<li class="icon-17"></li>
<li class="icon-18"></li>
<li class="icon-19"></li>
<li class="icon-20"></li>
<li class="icon-21"></li>
<li class="icon-22"></li>
<li class="icon-23"></li>
<li class="icon-24"></li>
<li class="icon-25"></li>
<li class="icon-26"></li>
<li class="icon-27"></li>
</ul>
</section>
<section id="ui" class="typography">
<h2>Ratings</h2>
<div class="box">
<ul class="ratings">
<li class="one stars">
Maryland, USA <span>(rated 1/5)</span>
</li>
<li class="two stars">
Connecticut, USA <span>(rated 2/5)</span>
</li>
<li class="three stars">
Manchester, USA <span>(rated 3/5)</span>
</li>
<li class="four stars">
Maastricht, USA <span>(rated 4/5)</span>
</li>
</ul>
<ul class="ratings">
<li class="five stars">
Clare M Fitzgerald <span>(rated 5/5)</span>
</li>
</ul>
<ul class="ratings">
<li class="stars">
BioMet <span>(rated 0/5)</span>
</li>
</ul>
</div>
</section>
<section class="typography">
<h2>Pagination</h2>
<div class="box">
<ul class="pagination" role="navigation" aria-label="Pagination">
<li class="pagination-previous disabled">Previous <span>page</span></li>
<li class="current"><span>You're on page</span> 1</li>
<li><a href="#" aria-label="Page 2">2</a></li>
<li><a href="#" aria-label="Page 3">3</a></li>
<li><a href="#" aria-label="Page 4">4</a></li>
<li class="ellipsis" aria-hidden="true"></li>
<li><a href="#" aria-label="Page 12">12</a></li>
<li><a href="#" aria-label="Page 13">13</a></li>
<li class="pagination-next"><a href="#" aria-label="Next page">Next <span>page</span></a></li>
</ul>
</div>
</section>
</main>
<script src="js/jquery-2.1.1.js"></script>
<script src="js/main.js"></script>
<script src="js/style-guide.js"></script>
</body>
</html>