Skip to content

Commit

Permalink
,
Browse files Browse the repository at this point in the history
  • Loading branch information
Mmela Dyantyi committed Mar 1, 2024
1 parent 0b42a4f commit 2bbb955
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 74 deletions.
75 changes: 1 addition & 74 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,80 +13,7 @@
gtag('config', 'G-0R66Y0R9JX');
</script>
<title>Mmeli Gabriel Dyantyi's Personal website</title>
<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>
<link rel="stylesheet" href="style.css"> </head>
</head>

<body class='background'>
Expand Down
29 changes: 29 additions & 0 deletions styles.css
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;
}



74 changes: 74 additions & 0 deletions text.txt
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>

0 comments on commit 2bbb955

Please sign in to comment.