Skip to content

Commit

Permalink
feat: beautiful fonts and responsive font size!
Browse files Browse the repository at this point in the history
  • Loading branch information
qubistt committed Dec 13, 2022
1 parent e038ea0 commit db0bd50
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 7 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
34 changes: 27 additions & 7 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,29 +1,50 @@
@font-face {
font-family: 'Fira Code';
src: url('./fonts/woff2/FiraCode-Bold.woff2');
src: url('./fonts/Google-sans-Font-Family/ProductSans-Black.ttf');
font-weight: 700;
font-style: normal;
}

html {
font-size: 20px;
}

@media (max-width: 900px) {
html { font-size: 16px; }
}

@media (max-width: 400px) {
html { font-size: 12px; }
}

/* Type will scale with document */
h1 {
font-size: 2.6rem;
}
html, body {
height: 100%;
width: 100%;
}
body {
background-color: black;

align-items: center;
align-content: center;
}

h1 {
font-family: 'Fira Code';
color: white;
color: #4ffd1e;
animation: fade-in 1s linear;
text-align: center;
}

ul {
text-decoration: none;
color: black;
list-style: none;
text-align: center;
padding-left: 0;
}
li {
opacity:0;
Expand All @@ -49,12 +70,11 @@ li:nth-child(3) {


a {
color: white;
text-decoration: none;
font-family: 'Fira Code';
font-size: 3vh;
box-shadow: inset 0 0 0 0 #ff004d;
color: #ff004d;
font-size: 4em;
box-shadow: inset 0 0 0 0 #f98952;
color: #f98952;
margin: 0 -.25rem;
padding: 0 .25rem;
transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
Expand All @@ -70,7 +90,7 @@ p {
/* Add a transition to hover effects on buttons */

a:hover {
box-shadow: inset 300px 0 0 0 #ff004d;
box-shadow: inset 300px 0 0 0 #f98952;
color: white;
}

Expand Down

1 comment on commit db0bd50

@vercel
Copy link

@vercel vercel bot commented on db0bd50 Dec 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

quicklinks-ai – ./

quicklinks-ai-qubisted.vercel.app
quicklinks-ai-git-main-qubisted.vercel.app
quicklinks-ai.vercel.app

Please sign in to comment.