-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypo.php
219 lines (210 loc) · 4.69 KB
/
typo.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
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<?php
echo file_get_contents('http://sd-03.lundev.net/lun-supernova/_import/head.html');
echo file_get_contents('http://sd-03.lundev.net/lun-supernova/_import/menu.html');
?>
<title>Типографика</title>
<style>
.body-xs,
.body-1,
.body-2,
.h1-1,
.h2-1,
.h3-1,
.h4-1,
.h4-2,
.h5-1,
.h5-2 {
font-family: 'Open Sans';
color: #333;
font-weight: 400;
}
.body-xs {
font-size: 13px;
line-height: 20px;
}
.body-1 {
font-size: 15px;
line-height: 20px;
padding-bottom: 4px;
}
.body-2 {
font-size: 15px;
line-height: 24px;
padding-bottom: 4px;
}
.h5-1 {
font-size: 15px;
line-height: 20px;
font-weight: bold;
padding-bottom: 4px;
}
.h5-2 {
font-size: 15px;
line-height: 24px;
font-weight: bold;
padding-bottom: 4px;
}
.h4-1 {
font-size: 20px;
line-height: 24px;
}
.h4-2 {
font-size: 20px;
line-height: 28px;
}
.h3-1 {
font-size: 26px;
line-height: 32px;
}
.h2-1 {
font-size: 38px;
line-height: 52px;
}
.h1-1 {
font-size: 45px;
line-height: 48px;
}
</style>
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="page-header">
<h1>Типографика <small>Заголовки, параграфы, тексты</small></h1>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-8">
<p>Используем классы для определения внешнего вида элементов. Это дает большую степень свободы при разметке.</p>
<p>Основной и единственный шрифт: <a href="https://www.google.com/fonts#UsePlace:use/Collection:Open+Sans" target="_blank">Open Sans</a> в начертаниях жирностью 400, 600 и 800.</p>
<p>Для заголовков и текстовых блоков доступны модификаторы <code>-1</code> и <code>-2</code>. -1 используется для широких колонок, -2 для узких (содержит увеличенный межстрочный интервал).</p>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<h3>Заголовки</h3>
</div>
</div>
<div class="row mt_xl">
<div class="col-sm-6 h1-1">
Head Title .h1-1
</div>
<div class="col-sm-4">
<pre>
.h1-1 {
font-size: 45px;
line-height: 48px;
}</pre>
</div>
<div class="col-sm-6 h2-1">
Head Title .h2-1
</div>
<div class="col-sm-4">
<pre>
.h2-1 {
font-size: 38px;
line-height: 52px;
}</pre>
</div>
<div class="col-sm-6 h3-1">
Head Title .h3-1
</div>
<div class="col-sm-4">
<pre>
.h3-1 {
font-size: 26px;
line-height: 32px;
}</pre>
</div>
<div class="col-sm-6 h4-1">
Head Title .h4-1
</div>
<div class="col-sm-4">
<pre>
.h4-1 {
font-size: 20px;
line-height: 24px;
}</pre>
</div>
<div class="col-sm-6 h4-2">
Head Title .h4-2
</div>
<div class="col-sm-4">
<pre>
.h4-2 {
font-size: 20px;
line-height: 28px;
}</pre>
</div>
<div class="col-sm-6 h5-1">
Head Title .h5-1
</div>
<div class="col-sm-4">
<pre>
.h5-1 {
font-size: 15px;
line-height: 20px;
font-weight: bold;
padding-bottom: 4px;
}</pre>
</div>
<div class="col-sm-6 h5-2">
Head Title .h5-2
</div>
<div class="col-sm-4">
<pre>
.h5-2 {
font-size: 15px;
line-height: 24px;
font-weight: bold;
padding-bottom: 4px;
}</pre>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<h3>Текстовые блоки</h3>
</div>
</div>
<div class="row mt_xl">
<div class="col-sm-6">
<div class="body-1">Параграф body-1. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Maecenas faucibus mollis interdum. Nullam id dolor id nibh ultricies vehicula ut id elit. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</div>
</div>
<div class="col-sm-4">
<pre>
.body-1 {
font-size: 15px;
line-height: 20px;
padding-bottom: 4px;
}</pre>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="body-2" style="padding-right: 40%;">Параграф body-2. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Maecenas faucibus mollis interdum. </div>
</div>
<div class="col-sm-4">
<pre>
.body-2 {
font-size: 15px;
line-height: 24px;
padding-bottom: 4px;
}</pre>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="body-xs">Параграф body-xs. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum.</div>
</div>
<div class="col-sm-4">
<pre>
.body-xs {
font-size: 13px;
line-height: 20px;
}</pre>
</div>
</div>
</div>
<?php
echo file_get_contents('http://sd-03.lundev.net/lun-supernova/_import/foot.html');
?>