diff options
author | jloup <jeanloup.jamet@gmail.com> | 2018-05-07 13:40:12 +0200 |
---|---|---|
committer | jloup <jeanloup.jamet@gmail.com> | 2018-05-07 17:41:18 +0200 |
commit | bf5deb87cef2b6f1370c808821dfb631d00590f6 (patch) | |
tree | e1be1105ae3bd38bc69b2a74ee912405d59eb4a0 /cmd/web/static/style.css | |
parent | 400ff25bc71d90dedf66b49cde459a6efe456cf8 (diff) | |
download | Front-bf5deb87cef2b6f1370c808821dfb631d00590f6.tar.gz Front-bf5deb87cef2b6f1370c808821dfb631d00590f6.tar.zst Front-bf5deb87cef2b6f1370c808821dfb631d00590f6.zip |
Add fontello icons.
Diffstat (limited to 'cmd/web/static/style.css')
-rw-r--r-- | cmd/web/static/style.css | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/cmd/web/static/style.css b/cmd/web/static/style.css index 589c0b0..5e49c55 100644 --- a/cmd/web/static/style.css +++ b/cmd/web/static/style.css | |||
@@ -124,3 +124,50 @@ h1 { | |||
124 | padding-top: 10px; | 124 | padding-top: 10px; |
125 | padding-bottom: 10px; | 125 | padding-bottom: 10px; |
126 | } | 126 | } |
127 | |||
128 | @font-face { | ||
129 | font-family: 'fontello'; | ||
130 | src: url('fonts/fontello.eot?12278570'); | ||
131 | src: url('fonts/fontello.eot?12278570#iefix') format('embedded-opentype'), | ||
132 | url('fonts/fontello.woff2?12278570') format('woff2'), | ||
133 | url('fonts/fontello.woff?12278570') format('woff'), | ||
134 | url('fonts/fontello.ttf?12278570') format('truetype'), | ||
135 | url('fonts/fontello.svg?12278570#fontello') format('svg'); | ||
136 | font-weight: normal; | ||
137 | font-style: normal; | ||
138 | } | ||
139 | |||
140 | [class^="icon-"]:before, [class*=" icon-"]:before { | ||
141 | font-family: "fontello"; | ||
142 | font-style: normal; | ||
143 | font-weight: normal; | ||
144 | speak: none; | ||
145 | |||
146 | display: inline-block; | ||
147 | text-decoration: inherit; | ||
148 | width: 1em; | ||
149 | margin-right: .2em; | ||
150 | text-align: center; | ||
151 | /* opacity: .8; */ | ||
152 | |||
153 | /* For safety - reset parent styles, that can break glyph codes*/ | ||
154 | font-variant: normal; | ||
155 | text-transform: none; | ||
156 | |||
157 | /* fix buttons height, for twitter bootstrap */ | ||
158 | line-height: 1em; | ||
159 | |||
160 | /* Animation center compensation - margins should be symmetric */ | ||
161 | /* remove if not needed */ | ||
162 | margin-left: .2em; | ||
163 | |||
164 | /* you can be more comfortable with increased icons size */ | ||
165 | /* font-size: 120%; */ | ||
166 | |||
167 | /* Font smoothing. That was taken from TWBS */ | ||
168 | -webkit-font-smoothing: antialiased; | ||
169 | -moz-osx-font-smoothing: grayscale; | ||
170 | |||
171 | /* Uncomment for 3D effect */ | ||
172 | /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ | ||
173 | } \ No newline at end of file | ||