-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.pug
66 lines (58 loc) · 2.4 KB
/
index.pug
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
//- Declarations
- var classes = ['mi','mi-fw','mi-4x']
-
iconList = [ 'sunrise', 'sun', 'moon', 'eclipse', 'mist', 'storm', 'snowflake', 'cloud-sun', 'cloud-moon', 'fog-sun', 'fog-moon',
'fog-cloud', 'fog', 'cloud', 'thunder', 'thunder-alt', 'rain', 'rain-heavy', 'wind', 'wind-rain', 'snow', 'snow-alt',
'snow-heavy', 'hail', 'clouds', 'thunderstorm', 'thunderstorm-alt', 'sun-filled', 'moon-filled', 'cloud-sun-filled',
'cloud-moon-filled', 'cloud-filled', 'thunder-filled', 'rain-filled', 'rain-heavy-filled', 'wind-filled',
'wind-rain-filled', 'snow-filled', 'snow-heavy-filled', 'hail-filled', 'clouds-filled', 'thunderstorm-filled',
'temperature', 'compass', 'na', 'celsius', 'fahrenheit' ]
mixin icon(name)
.panel.panel-default
.panel-heading= name
.panel-body
p
i(class=classes class=['mi-'+name])
code.center-block= '<i class="mi mi-'+name+'"></i>'
br
//- Markup
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')
title= 'meteocons.css v0.2.1'
link(href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' rel='stylesheet')
link(href='dist/meteocons.min.css' rel='stylesheet')
body
div.container
div.header.clearfix
h3.text-muted= 'meteocons.css v0.2.1'
div.jumbotron.text-center
h1
i.mi.mi-lg.mi-sun
| meteocons.css
i.mi.mi-lg.mi-moon
p.lead
| An easy to use "Font Awesome"-like package for meteorological Icons.
p
| Free to use for everyone.
p
a.btn.btn-lg.btn-primary(href='https://github.com/tomlutzenberger/meteocons' target='_blank' role='button') View on Github
div.row
each item in iconList
div.col-xs-12.col-sm-6.col-md-3.text-center
+icon(item)
footer.navbar.navbar-default
.row
.col-xs-12.text-center
!= 'Made by '
a(href='https://tomlutzenberger.de' target='_blank') Tom Lutzenberger
.row
.col-xs-6.text-center
!= 'Thanks to '
a(href='http://www.alessioatzeni.com/meteocons/' target='_blank') Alessio Atzeni
.col-xs-6.text-center
!= 'Inspired by Dave Gandy\'s '
a(href='http://fontawesome.io' target='_blank') Font Awesome