1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-06 21:49:40 +02:00

Update nerd-font-tweaks.scss

GitHub icon css is added
This commit is contained in:
Vitthal Popat Gund 2023-10-09 00:14:46 +05:30 committed by Fini Jastrow
parent 495352d90c
commit eb519696c8

View File

@ -310,12 +310,12 @@ a.nerd-font-button:before {
font-size: 2em
}
#forkongithub .nf {
font-size: 1.25rem;
}
// #forkongithub .nf {
// font-size: 1.25rem;
// }
/* for any ASCII :) */
/*
#forkongithub span {
font-size: 1.75rem;
}
@ -323,7 +323,7 @@ a.nerd-font-button:before {
#forkongithub a {
display: inline-block;
}
*/
/* color scheme */
.nf1 {
@ -476,6 +476,7 @@ a.nerd-font-button:before {
}
/* ----- fork on github banner ----- */
/*
#forkongithub a {
color: #fff;
background: #1E5D8A;
@ -533,6 +534,28 @@ a.nerd-font-button:before {
box-sizing: content-box;
}
}
*/
// Github url button
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
#github {
text-decoration: none;
color: #ffffff;
background-color: #ffffff;
width: 60px;
height: 60px;
text-align: center;
line-height: 60px;
border-radius: 25%;
font-size: 2.5em;
box-shadow: 2px 2px 5px rgba(0, 0, 0, .8);
transition: all .3s ease-in-out;
position: fixed;
bottom: 0.7rem;
right: 0.7rem;
z-index: 10;
}
.icon-backdrop {
/* position: absolute;
@ -782,4 +805,4 @@ a.nerd-font-button:before {
.text-left {
text-align: left;
}
}