diff --git a/assets/index.css b/assets/index.css index 68c03e7..a2cab86 100644 --- a/assets/index.css +++ b/assets/index.css @@ -358,4 +358,82 @@ body { ::-webkit-scrollbar-thumb { background: var(--text-color); +} + +/* Material Icons */ +.mdi::before { + font-size: 24px; + line-height: 14px; +} + +.btn .mdi::before { + position: relative; + top: 4px; +} + +.btn-xs .mdi::before { + font-size: 18px; + top: 3px; +} + +.btn-sm .mdi::before { + font-size: 18px; + top: 3px; +} + +.dropdown-menu .mdi { + width: 18px; +} + +.dropdown-menu .mdi::before { + position: relative; + top: 4px; + left: -8px; +} + +.nav .mdi::before { + position: relative; + top: 4px; +} + +.navbar .navbar-toggle .mdi::before { + position: relative; + top: 4px; + color: #fff; +} + +.breadcrumb .mdi::before { + position: relative; + top: 4px; +} + +.breadcrumb a:hover { + text-decoration: none; +} + +.breadcrumb a:hover span { + text-decoration: underline; +} + +.alert .mdi::before { + position: relative; + top: 4px; + margin-right: 2px; +} + +.input-group-addon .mdi::before { + position: relative; + top: 3px; +} + +.navbar-brand .mdi::before { + position: relative; + top: 2px; + margin-right: 2px; +} + +.list-group-item .mdi::before { + position: relative; + top: 3px; + left: -3px; } \ No newline at end of file diff --git a/assets/index.html b/assets/index.html index 46f16de..5a86710 100644 --- a/assets/index.html +++ b/assets/index.html @@ -9,9 +9,7 @@ content="ie=edge" /> + href="https://cdn.materialdesignicons.com/4.5.95/css/materialdesignicons.min.css" /> diff --git a/populate.js b/populate.js index 9d62f9f..6027e30 100644 --- a/populate.js +++ b/populate.js @@ -103,13 +103,13 @@ module.exports.updateHTML = (username, opts) => repos[i].language == null ? "none" : "inline-block" - };">  ${ + };">  ${ repos[i].language } -   ${ +   ${ repos[i].stargazers_count } -   ${ +   ${ repos[i].forks_count } @@ -153,37 +153,37 @@ module.exports.updateHTML = (username, opts) => document.getElementById("about").innerHTML = `   ${user.company} + };">   ${user.company}   ${user.email} + };">   ${user.email}    ${ + };">    ${ user.location }    Available for hire + };">    Available for hire
+ };"> + };"> + };"> + };"> + };"> + };">
`; //add data to config.json