Skip to content

Commit

Permalink
Implemented web font
Browse files Browse the repository at this point in the history
  • Loading branch information
Lmears committed Nov 8, 2023
1 parent d172417 commit 098bae2
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 55 deletions.
3 changes: 2 additions & 1 deletion about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<link rel="icon" type="image/png" sizes="32x32" href="../assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="../assets/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="../assets/images/favicon-192x192.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,500&display=swap">
<link rel="stylesheet" href="../assets/css/styles.css">
<style>
@media (max-width: 1080px) {
Expand Down
74 changes: 26 additions & 48 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,35 +1,15 @@
/* Layout */
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-family: sans-serif;
font-family: 'Roboto', sans-serif;
font-size: 125%;
scrollbar-gutter: stable both-edges;
background-color: rgb(31 41 55);
}

/* Firefox */
html {
scrollbar-width: thin;
scrollbar-color: #7a7f89 #35373b;
}

/* Webkit */
::-webkit-scrollbar {
width: 12px;
}

::-webkit-scrollbar-track {
background: #35373b;
}

::-webkit-scrollbar-thumb {
background-color: #7a7f89;
border-radius: 6px;
border: 3px solid #35373b;
}

#container {
display: flex;
flex-direction: row;
Expand All @@ -51,22 +31,38 @@ h1 {
min-width: 303.44px;
}

/* Firefox */
html {
scrollbar-width: thin;
scrollbar-color: #7a7f89 #35373b;
}

/* Webkit */
::-webkit-scrollbar {
width: 12px;
}

::-webkit-scrollbar-track {
background: #35373b;
}

::-webkit-scrollbar-thumb {
background-color: #7a7f89;
border-radius: 6px;
border: 3px solid #35373b;
}

/* Mobile responsiveness */
#hamburger-menu {
font-size: 36px;
/* Adjust size as needed */
cursor: pointer;
display: none;
/* Initially hidden */
position: absolute;
top: 0;
right: 0;
padding: 0.625rem 1.25rem;
z-index: 1000;
/* Ensuring it's above other elements */
color: rgba(209, 213, 219);
/* Making sure it's visible, set a contrasting color if necessary */
/* background: rgba(0, 0, 0, 0.5); */
/* Optional: Adds a background to make it stand out */
}

#hamburger-menu:hover {
Expand All @@ -77,19 +73,14 @@ h1 {

#hamburger-menu {
display: block;
/* Show hamburger menu */
}

/* Ensure all links except the first are hidden */
nav ul li:not(:first-child) {
display: none;
/* Hide all links except the first one (home) */
}

/* Additional styles for when the menu is active */
nav.nav-active ul li:not(:first-child) {
display: block;
/* Show links */
}

nav ul {
Expand All @@ -104,11 +95,8 @@ h1 {
}

.home-logo {
/* width: 80px !important; */
min-width: 80px !important;
}

/* Other adjustments for mobile view */
}

@media (max-width: 750px) {
Expand All @@ -120,7 +108,6 @@ h1 {
.home-logo {
padding-bottom: 10px !important;
max-width: 48px;
/* max-width: 48px; */
}

#content,
Expand All @@ -133,7 +120,6 @@ h1 {
display: flex;
flex-direction: row;
justify-content: center;
/* flex-wrap: wrap; */
}


Expand All @@ -151,19 +137,14 @@ h1 {
}

.nav-link-text {
/* Set a fixed width suitable for your longest item */
text-align: center !important;
/* Center the text if that's what you want */
}

/* Other adjustments for mobile view */
}

/* Nav bar */
nav {
display: flex;
flex-direction: column;
/* height: 100%; */
padding: 0.75rem 0;
min-width: 170px;
}
Expand All @@ -181,21 +162,19 @@ nav ul li {
.nav-link-text {
display: block;
width: 92.22px;
/* Set a fixed width suitable for your longest item */
text-align: start;
/* Center the text if that's what you want */
}

nav ul li a {
display: inline-block;
text-decoration: none;
color: inherit;
font-weight: 100;
font-weight: 200;
}

nav ul li a.selected .nav-link-text {
font-weight: bold;
text-indent: -1.5px;
text-indent: -1px;
}


Expand All @@ -204,7 +183,6 @@ nav ul li a:hover {
}

.home-logo {
/* min-width: 48px; */
width: 80px;
padding-bottom: 60px;
}
Expand Down
3 changes: 2 additions & 1 deletion contact/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<link rel="icon" type="image/png" sizes="32x32" href="../assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="../assets/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="../assets/images/favicon-192x192.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,500&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="../assets/css/styles.css">
</head>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="./assets/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="./assets/images/favicon-192x192.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,500&display=swap">
<link rel="stylesheet" href="./assets/css/styles.css">
<style>
@media (max-width: 750px) {
Expand Down
3 changes: 2 additions & 1 deletion mastering/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<link rel="icon" type="image/png" sizes="32x32" href="../assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="../assets/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="../assets/images/favicon-192x192.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,500&display=swap">
<link rel="stylesheet" href="../assets/css/styles.css">
<style>
.player-wrapper {
Expand Down
3 changes: 2 additions & 1 deletion music/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<link rel="icon" type="image/png" sizes="32x32" href="../assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="../assets/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="../assets/images/favicon-192x192.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,500&display=swap">
<link rel="stylesheet" href="../assets/css/styles.css">
<style>
.artist-container {
Expand Down
3 changes: 2 additions & 1 deletion software/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<link rel="icon" type="image/png" sizes="32x32" href="../assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="../assets/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="192x192" href="../assets/images/favicon-192x192.png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,500&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="../assets/css/styles.css">
<style>
Expand Down

0 comments on commit 098bae2

Please sign in to comment.