upd: align font with new repo
This commit is contained in:
parent
4ed4547f4a
commit
9d4d2a1fad
7 changed files with 128 additions and 31 deletions
|
@ -1,12 +0,0 @@
|
||||||
<?xml version="1.0" standalone="no"?>
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<defs>
|
|
||||||
<font id="custom-sharkey-icons" horiz-adv-x="512">
|
|
||||||
<font-face font-family="custom-sharkey-icons" units-per-em="512" ascent="480" descent="-32"/>
|
|
||||||
<missing-glyph horiz-adv-x="512" />
|
|
||||||
|
|
||||||
<glyph glyph-name="shark" unicode="a" d="M469 171l0-43-42 0c-30 0-60 9-86 21-53-27-117-27-170 0-26-12-56-21-86-21l-42 0 0 43 42 0c30 0 60 10 86 27 51-36 119-36 170 0 26-17 56-27 86-27z m-356 47c11 3 23 9 34 16l24 16c14 49 16 107-9 174 93-16 177-97 209-193 16-10 32-16 48-17-30 140-155 255-291 255-7 0-14-4-18-10-4-6-4-14-1-21 46-92 32-167 4-220m228-105c-51-36-119-36-170 0-26-17-56-28-86-28l-42 0 0-42 42 0c30 0 60 8 86 21 53-28 117-28 170 0 26-13 56-21 86-21l42 0 0 42-42 0c-30 0-60 11-86 28z"/>
|
|
||||||
<glyph glyph-name="misskey1" unicode="b" d="M190 152c-22 0-41 13-50 29-5 7-14 9-15 0l0-43c0-17-6-32-18-45-12-12-27-18-45-18-17 0-31 6-44 18-12 13-18 28-18 45l0 236c0 13 4 26 11 36 8 11 18 19 30 24 7 2 14 3 21 3 20 0 36-7 49-22l63-75c2-1 6-10 16-10 10 0 15 9 16 10l64 75c13 15 29 22 48 22 7 0 14-1 22-3 12-5 21-12 29-24 8-10 12-23 12-36l0-236c0-17-6-32-19-45-12-12-27-18-44-18-17 0-32 6-45 18-12 13-18 28-18 45l0 43c-1 12-11 4-15 0-9-18-28-29-50-29z m268 176c-15 0-28 6-39 16-10 11-15 24-15 39 0 15 5 28 15 38 11 11 24 16 39 16 14 0 27-5 38-16 11-10 16-23 16-38 0-15-5-28-16-39-11-10-24-16-38-16z m0-10c15 0 28-6 38-17 11-10 16-23 16-39l0-133c0-15-5-28-16-39-10-10-23-15-38-15-15 0-28 5-38 15-11 11-16 24-16 39l0 133c0 16 5 29 16 39 10 11 23 17 38 17z"/>
|
|
||||||
<glyph glyph-name="foldermove" unicode="c" d="M74 429c-11-4-20-14-22-26 0-3-1-34 0-80l0-75 16 1 15 0 0 43 1 43 347 0 0-221-347 0 0 93-32 0 0-50c0-49 0-50 2-55 2-7 10-15 17-17l5-2 182 0 183 0 4 2c7 4 12 9 15 15l2 5 0 239-3 5c-3 7-8 12-15 15l-5 3-87 0-88 0-29 29c-24 24-30 29-34 31l-5 3-59 0c-46 0-61 0-63-1m129-46l16-16-135 0 0 32 103 0z m-37-80c-6-3-9-9-7-14 1-2 9-12 26-28l24-24-87 0c-82 0-88 0-90-1-2-1-4-3-5-4-2-3-2-3-2-106 0-100 0-103 2-105 5-8 17-7 20 3 0 2 1 38 1 97l0 94 80 0c44 0 80 0 80-1 0 0-11-11-24-25-27-27-28-27-24-34 2-5 8-8 13-6 1 1 18 17 38 36 38 38 37 38 36 44-1 3-70 73-74 74-2 1-5 1-7 0"/>
|
|
||||||
</font></defs></svg>
|
|
Before Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
Binary file not shown.
30
packages/backend/assets/fonts/sharkey-icons/shark-font.svg
Normal file
30
packages/backend/assets/fonts/sharkey-icons/shark-font.svg
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0" standalone="no"?>
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
<font id="shark-font" horiz-adv-x="512">
|
||||||
|
<font-face font-family="shark-font"
|
||||||
|
units-per-em="512" ascent="512"
|
||||||
|
descent="0" />
|
||||||
|
<missing-glyph horiz-adv-x="0" />
|
||||||
|
<glyph glyph-name="foldermove"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="512" d="M74 429C63 425 54 415 52 403C52 400 51 369 52 323V248L68 249H83V292L84 335H431V114H84V207H52V157C52 108 52 107 54 102C56 95 64 87 71 85L76 83H441L445 85Q455.5 91 460 100L462 105V344L459 349C456 356 451 361 444 364L439 367H264L235 396C211 420 205 425 201 427L196 430H137C91 430 76 430 74 429M203 383L219 367H84V399H187zM166 303C160 300 157 294 159 289C160 287 168 277 185 261L209 237H122C40 237 34 237 32 236S28 233 27 232C25 229 25 229 25 126C25 26 25 23 27 21C32 13 44 14 47 24C47 26 48 62 48 121V215H128C172 215 208 215 208 214C208 214 197 203 184 189C157 162 156 162 160 155C162 150 168 147 173 149C174 150 191 166 211 185C249 223 248 223 247 229C246 232 177 302 173 303C171 304 168 304 166 303" />
|
||||||
|
<glyph glyph-name="foldermove-1"
|
||||||
|
unicode="foldermove"
|
||||||
|
horiz-adv-x="512" d="M74 429C63 425 54 415 52 403C52 400 51 369 52 323V248L68 249H83V292L84 335H431V114H84V207H52V157C52 108 52 107 54 102C56 95 64 87 71 85L76 83H441L445 85Q455.5 91 460 100L462 105V344L459 349C456 356 451 361 444 364L439 367H264L235 396C211 420 205 425 201 427L196 430H137C91 430 76 430 74 429M203 383L219 367H84V399H187zM166 303C160 300 157 294 159 289C160 287 168 277 185 261L209 237H122C40 237 34 237 32 236S28 233 27 232C25 229 25 229 25 126C25 26 25 23 27 21C32 13 44 14 47 24C47 26 48 62 48 121V215H128C172 215 208 215 208 214C208 214 197 203 184 189C157 162 156 162 160 155C162 150 168 147 173 149C174 150 191 166 211 185C249 223 248 223 247 229C246 232 177 302 173 303C171 304 168 304 166 303" />
|
||||||
|
<glyph glyph-name="misskey"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="512" d="M190 152C168 152 149 165 140 181C135 188 126 190 125 181V138Q125 112.5 107 93Q89 75 62 75C45 75 31 81 18 93Q0 112.5 0 138V374C0 387 4 400 11 410Q23 426.5 41 434Q51.5 437 62 437C82 437 98 430 111 415L174 340C176 339 180 330 190 330S205 339 206 340L270 415C283 430 299 437 318 437C325 437 332 436 340 434C352 429 361 422 369 410C377 400 381 387 381 374V138C381 121 375 106 362 93C350 81 335 75 318 75Q292.5 75 273 93Q255 112.5 255 138V181C254 193 244 185 240 181C231 163 212 152 190 152M458 328C443 328 430 334 419 344Q404 360.5 404 383C404 398 409 411 419 421C430 432 443 437 458 437C472 437 485 432 496 421C507 411 512 398 512 383S507 355 496 344C485 334 472 328 458 328M458 318C473 318 486 312 496 301C507 291 512 278 512 262V129C512 114 507 101 496 90C486 80 473 75 458 75S430 80 420 90C409 101 404 114 404 129V262C404 278 409 291 420 301C430 312 443 318 458 318" />
|
||||||
|
<glyph glyph-name="misskey-1"
|
||||||
|
unicode="misskey"
|
||||||
|
horiz-adv-x="512" d="M190 152C168 152 149 165 140 181C135 188 126 190 125 181V138Q125 112.5 107 93Q89 75 62 75C45 75 31 81 18 93Q0 112.5 0 138V374C0 387 4 400 11 410Q23 426.5 41 434Q51.5 437 62 437C82 437 98 430 111 415L174 340C176 339 180 330 190 330S205 339 206 340L270 415C283 430 299 437 318 437C325 437 332 436 340 434C352 429 361 422 369 410C377 400 381 387 381 374V138C381 121 375 106 362 93C350 81 335 75 318 75Q292.5 75 273 93Q255 112.5 255 138V181C254 193 244 185 240 181C231 163 212 152 190 152M458 328C443 328 430 334 419 344Q404 360.5 404 383C404 398 409 411 419 421C430 432 443 437 458 437C472 437 485 432 496 421C507 411 512 398 512 383S507 355 496 344C485 334 472 328 458 328M458 318C473 318 486 312 496 301C507 291 512 278 512 262V129C512 114 507 101 496 90C486 80 473 75 458 75S430 80 420 90C409 101 404 114 404 129V262C404 278 409 291 420 301C430 312 443 318 458 318" />
|
||||||
|
<glyph glyph-name="shark"
|
||||||
|
unicode=""
|
||||||
|
horiz-adv-x="512" d="M469 171V128H427C397 128 367 137 341 149C288 122 224 122 171 149C145 137 115 128 85 128H43V171H85C115 171 145 181 171 198C222 162 290 162 341 198C367 181 397 171 427 171zM113 218C124 221 136 227 147 234L171 250C185 299 187 357 162 424C255 408 339 327 371 231C387 221 403 215 419 214C389 354 264 469 128 469C121 469 114 465 110 459S106 445 109 438C155 346 141 271 113 218M341 113C290 77 222 77 171 113C145 96 115 85 85 85H43V43H85C115 43 145 51 171 64C224 36 288 36 341 64C367 51 397 43 427 43H469V85H427C397 85 367 96 341 113" />
|
||||||
|
<glyph glyph-name="shark-1"
|
||||||
|
unicode="shark"
|
||||||
|
horiz-adv-x="512" d="M469 171V128H427C397 128 367 137 341 149C288 122 224 122 171 149C145 137 115 128 85 128H43V171H85C115 171 145 181 171 198C222 162 290 162 341 198C367 181 397 171 427 171zM113 218C124 221 136 227 147 234L171 250C185 299 187 357 162 424C255 408 339 327 371 231C387 221 403 215 419 214C389 354 264 469 128 469C121 469 114 465 110 459S106 445 109 438C155 346 141 271 113 218M341 113C290 77 222 77 171 113C145 96 115 85 85 85H43V43H85C115 43 145 51 171 64C224 36 288 36 341 64C367 51 397 43 427 43H469V85H427C397 85 367 96 341 113" />
|
||||||
|
</font>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 5.1 KiB |
BIN
packages/backend/assets/fonts/sharkey-icons/shark-font.ttf
Normal file
BIN
packages/backend/assets/fonts/sharkey-icons/shark-font.ttf
Normal file
Binary file not shown.
BIN
packages/backend/assets/fonts/sharkey-icons/shark-font.woff
Normal file
BIN
packages/backend/assets/fonts/sharkey-icons/shark-font.woff
Normal file
Binary file not shown.
|
@ -1,35 +1,114 @@
|
||||||
@charset "UTF-8";
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "custom-sharkey-icons";
|
font-display: auto;
|
||||||
src: url("./custom-sharkey-icons.woff") format("woff"),
|
font-family: "shark-font";
|
||||||
url("./custom-sharkey-icons.ttf") format("truetype"),
|
|
||||||
url("./custom-sharkey-icons.svg#custom-sharkey-icons") format("svg");
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-weight: normal;
|
||||||
|
|
||||||
|
src: url("./shark-font.woff") format("woff"), url("./shark-font.ttf") format("truetype"), url("./shark-font.svg#shark-font") format("svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.sk-icons {
|
.sk-icons {
|
||||||
font-family: "custom-sharkey-icons" !important;
|
display: inline-block;
|
||||||
font-style: normal;
|
font-family: "shark-font";
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
font-variant: normal;
|
font-variant: normal;
|
||||||
text-transform: none;
|
text-rendering: auto;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
speak: none;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sk-icons.sk-shark:before {
|
.sk-icons-lg {
|
||||||
content: "\61";
|
font-size: 1.33333em;
|
||||||
|
line-height: 0.75em;
|
||||||
|
vertical-align: -0.0667em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sk-icons.sk-misskey:before {
|
.sk-icons-xs {
|
||||||
content: "\62";
|
font-size: 0.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sk-icons.sk-foldermove:before {
|
.sk-icons-sm {
|
||||||
content: "\63";
|
font-size: 0.875em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-1x {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-2x {
|
||||||
|
font-size: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-3x {
|
||||||
|
font-size: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-4x {
|
||||||
|
font-size: 4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-5x {
|
||||||
|
font-size: 5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-6x {
|
||||||
|
font-size: 6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-7x {
|
||||||
|
font-size: 7em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-8x {
|
||||||
|
font-size: 8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-9x {
|
||||||
|
font-size: 9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-10x {
|
||||||
|
font-size: 10em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-fw {
|
||||||
|
text-align: center;
|
||||||
|
width: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-border {
|
||||||
|
border: solid 0.08em #eee;
|
||||||
|
border-radius: 0.1em;
|
||||||
|
padding: 0.2em 0.25em 0.15em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-pull-left {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons-pull-right {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons.sk-icons-pull-left {
|
||||||
|
margin-right: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons.sk-icons-pull-right {
|
||||||
|
margin-left: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.sk-icons.sk-foldermove::before {
|
||||||
|
content: "\ea01";
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons.sk-misskey::before {
|
||||||
|
content: "\ea02";
|
||||||
|
}
|
||||||
|
|
||||||
|
.sk-icons.sk-shark::before {
|
||||||
|
content: "\ea03";
|
||||||
}
|
}
|
Loading…
Reference in a new issue