forked from olton/Metro-UI-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.php
149 lines (139 loc) · 7.31 KB
/
global.php
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
<? include("header.php")?>
<div class="page secondary">
<div class="page-header">
<div class="page-header-content">
<h1>Global<small>styles</small></h1>
<a href="/" class="back-button big page-back"></a>
</div>
</div>
<div class="page-region">
<div class="page-region-content">
<div class="grid">
<div class="row">
<div class="span10">
<h2>Requires HTML5 doctype</h2>
<p>Metro UI CSS makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.</p>
<pre class="prettyprint linenums">
<!DOCTYPE html>
<html lang="en">
...
</html>
</pre>
<h2>JavaScript</h2>
<p>All javascript plugins required <a href="http://jquery.com/">jQuery</a>.</p>
</div>
</div>
<div class="row">
<div class="span10">
<h2>Reset Styles</h2>
<p>
In Metro UI CSS used <a href="http://github.com/necolas/normalize.css">normalize.css</a> by <a href="http://nicolasgallagher.com/">Nicolas Gallaher</a>
</p>
</div>
</div>
<div class="row">
<div class="span3">
<h2>Colors</h2>
<ul class="unstyled">
<li style="height: 40px;"><span class="square bg-color-green"></span>*-color-green</li>
<li style="height: 40px;"><span class="square bg-color-greenDark"></span>*-color-greenDark</li>
<li style="height: 40px;"><span class="square bg-color-greenLight"></span>*-color-greenLight</li>
<li style="height: 40px;"><span class="square bg-color-pink"></span>*-color-pink</li>
<li style="height: 40px;"><span class="square bg-color-pinkDark"></span>*-color-pinkDark</li>
</ul>
</div>
<div class="span3">
<h2> </h2>
<ul class="unstyled">
<li style="height: 40px;"><span class="square bg-color-yellow"></span>*-color-yellow</li>
<li style="height: 40px;"><span class="square bg-color-darken"></span>*-color-darken</li>
<li style="height: 40px;"><span class="square bg-color-purple"></span>*-color-purple</li>
<li style="height: 40px;"><span class="square bg-color-blue"></span>*-color-blue</li>
<li style="height: 40px;"><span class="square bg-color-blueDark"></span>*-color-blueDark</li>
</ul>
</div>
<div class="span3">
<h2> </h2>
<ul class="unstyled">
<li style="height: 40px;"><span class="square bg-color-blueLight"></span>*-color-blueLight</li>
<li style="height: 40px;"><span class="square bg-color-orange"></span>*-color-orange</li>
<li style="height: 40px;"><span class="square bg-color-orangeDark"></span>*-color-orangeDark</li>
<li style="height: 40px;"><span class="square bg-color-red"></span>*-color-red</li>
<li style="height: 40px;"><span class="square bg-color-white"></span>*-color-white</li>
</ul>
</div>
</div>
<div class="row">
<div class="span10">
<p>To set background color use prefix <strong>bg</strong>, for set text color use prefix <strong>fg</strong></p>
<pre class="prettyprint linenums">
<div class="bg-color-red">...</div>
<span class="fg-color-blue">...</span>
</pre>
</div>
</div>
<div class="row">
<div class="span10">
<p>To set border color use prefix <strong>border</strong></p>
<div class="clearfix">
<div class="span2 border-color-blue">
</div>
<div class="span2 border-color-green">
</div>
<div class="span2 border-color-red">
</div>
<div class="span2 border-color-orange">
</div>
<div class="span2 border-color-darken">
</div>
</div>
<pre class="prettyprint linenums">
<div class="border-color-red">...</div>
</pre>
</div>
</div>
<div class="row">
<div class="span10">
<p>To set outline color for components (such as tile, listView item, etc.) use prefix <strong>outline</strong></p>
<div class="clearfix">
<div class="tile outline-color-blue">
</div>
<div class="tile outline-color-green">
</div>
<div class="tile outline-color-red">
</div>
<div class="tile outline-color-orange">
</div>
</div>
<pre class="prettyprint linenums">
<div class="tile outline-color-red">...</div>
</pre>
</div>
</div>
<div class="row">
<div class="span10">
<h2>Fonts</h2>
<p class="span10">
In Metro UI CSS i use Segoe UI, <a href="http://www.google.com/webfonts#UsePlace:use/Collection:Open+Sans">Open Sans</a> fonts (depending on the availability in the system).
</p>
</div>
</div>
</div>
<div class="grid">
<div class="row">
<? include("adsense.php")?>
</div>
</div>
</div>
</div>
</div>
<? include("footer.php")?>