mirror of
https://github.com/NetworkCats/rustyip.git
synced 2026-11-13 16:17:46 +00:00
Replace the cdnjs CDN dependency with locally hosted font files and a minimal CSS file containing only the 4 icons used (check, minus, magnifier, social-github). Remove the CDN preconnect links. Also reduce the gap between the IP display and the info table divider, fix vertical alignment of icon and text rows by switching to vertical-align: middle, and override the icon line-height to match table text.
30 lines
772 B
CSS
30 lines
772 B
CSS
@font-face {
|
|
font-family: simple-line-icons;
|
|
src: url(fonts/Simple-Line-Icons.woff2) format('woff2'),
|
|
url(fonts/Simple-Line-Icons.woff) format('woff'),
|
|
url(fonts/Simple-Line-Icons.ttf) format('truetype');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
.icon-check,
|
|
.icon-magnifier,
|
|
.icon-minus,
|
|
.icon-social-github {
|
|
font-family: simple-line-icons;
|
|
speak: none;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
line-height: 1;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.icon-check::before { content: "\e080"; }
|
|
.icon-minus::before { content: "\e615"; }
|
|
.icon-magnifier::before { content: "\e090"; }
|
|
.icon-social-github::before { content: "\e60c"; }
|