-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mmela Dyantyi
committed
Mar 1, 2024
1 parent
0b42a4f
commit 2bbb955
Showing
3 changed files
with
104 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
body.background { | ||
background-color: silver; | ||
} | ||
|
||
.navbar { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
background-color: gray; | ||
position: fixed; | ||
top: 0; | ||
width: 100%; | ||
} | ||
|
||
.navbar a { | ||
display: block; | ||
color: black; | ||
text-align: center; | ||
padding: 14px 16px; | ||
text-decoration: none; | ||
} | ||
|
||
.navbar a:hover { | ||
background-color: grey; | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<style> | ||
.container { | ||
display: grid; | ||
grid-template-columns: 1fr; | ||
gap: 10px; | ||
padding-top: 60px; | ||
} | ||
|
||
.navbar { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
background-color: gray; | ||
position: fixed; | ||
top: 0; | ||
width: 100%; | ||
} | ||
|
||
nav { | ||
float: left; | ||
} | ||
|
||
nav a { | ||
display: block; | ||
color: black; | ||
text-align: center; | ||
padding: 14px 16px; | ||
text-decoration: none; | ||
} | ||
|
||
nav a:hover { | ||
background-color: grey; | ||
} | ||
|
||
.myFace { | ||
width: 200px; | ||
border: 2px outset gray; | ||
border-radius: 1%; | ||
} | ||
|
||
.background { | ||
background-color: rgb(245, 245, 245); | ||
color: rgb(250, 246, 246); | ||
} | ||
|
||
.section { | ||
padding: 20px; | ||
} | ||
|
||
.column { | ||
text-align: center; | ||
} | ||
|
||
#navbar { | ||
float: left; | ||
} | ||
|
||
#navbar li { | ||
float: left; | ||
} | ||
|
||
#navbar li a { | ||
display: block; | ||
color: black; | ||
text-align: center; | ||
padding: 14px 16px; | ||
text-decoration: none; | ||
} | ||
|
||
#navbar li a:hover { | ||
background-color: grey; | ||
} | ||
</style> |