Logo added to navigation bar using custom font
This commit is contained in:
BIN
ProjectSourceCode/src/resources/css/fonts/Scottsdale-Italic.ttf
Normal file
BIN
ProjectSourceCode/src/resources/css/fonts/Scottsdale-Italic.ttf
Normal file
Binary file not shown.
@@ -1,6 +1,9 @@
|
||||
#navigation-bar-container {
|
||||
background-color: hsl(0, 98%, 40%);
|
||||
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4);
|
||||
height: 50px;
|
||||
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
@@ -8,4 +11,21 @@
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 1000; /* Adjust as needed */
|
||||
}
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Scottsdale-Italic';
|
||||
src: url('../fonts/Scottsdale-Italic.ttf') format('truetype');
|
||||
}
|
||||
|
||||
#logo {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
font-family: 'Scottsdale-Italic';
|
||||
font-size: 25px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#logo:hover {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user