Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
duck2469 authored Dec 24, 2023
1 parent 1ac4b90 commit 4797c5f
Show file tree
Hide file tree
Showing 8 changed files with 156 additions and 16 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
</head>
<body>
<div class="navbar">
<a href="index.html">Home</a>
<a href="~/index.html">Home</a>
<a href="pages/tabs/mods.html">Mods</a>
<a href="aboutme.html">About Me</a>
<a href="pages/tabs/aboutme.html">About Me</a>
</div>
<div class="contentAboutme">
<h1>404 - Page not found <img src="img/smallpato.png" style="width:30px;height:30px;"></a></h1>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<body>
<div class="navbar">
<a href="index.html">Home</a>
<a href="~/index.html">Home</a>
<a href="pages/tabs/mods.html">Mods</a>
<a href="aboutme.html">About Me</a>
<a href="pages/tabs/aboutme.html">About Me</a>
</div>
<div class="content">
<h1>Welcome to my website!</h1>
Expand Down
6 changes: 3 additions & 3 deletions pages/mods/brawlmods.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
</head>
<body>
<div class="navbar">
<a href="index.html">Home</a>
<a href="mods.html">Mods</a>
<a href="aboutme.html">About Me</a>
<a href="~/index.html">Home</a>
<a href="pages/tabs/mods.html">Mods</a>
<a href="pages/tabs/aboutme.html">About Me</a>
</div>
<div class="contentAboutme">
<h1>My Mods</h1>
Expand Down
6 changes: 3 additions & 3 deletions mario3dland.html → pages/mods/mario3dland.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
</head>
<body>
<div class="navbar">
<a href="index.html">Home</a>
<a href="mods.html">Mods</a>
<a href="aboutme.html">About Me</a>
<a href="~/index.html">Home</a>
<a href="pages/tabs/mods.html">Mods</a>
<a href="pages/tabs/aboutme.html">About Me</a>
</div>
<div class="contentAboutme">
<h1>My Mods</h1>
Expand Down
6 changes: 3 additions & 3 deletions mk8mods.html → pages/mods/mk8mods.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
</head>
<body>
<div class="navbar">
<a href="index.html">Home</a>
<a href="mods.html">Mods</a>
<a href="aboutme.html">About Me</a>
<a href="~/index.html">Home</a>
<a href="pages/tabs/mods.html">Mods</a>
<a href="pages/tabs/aboutme.html">About Me</a>
</div>
<div class="contentAboutme">
<h1>My Mods</h1>
Expand Down
6 changes: 3 additions & 3 deletions mp9mods.html → pages/mods/mp9mods.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
</head>
<body>
<div class="navbar">
<a href="index.html">Home</a>
<a href="mods.html">Mods</a>
<a href="aboutme.html">About Me</a>
<a href="~/index.html">Home</a>
<a href="pages/tabs/mods.html">Mods</a>
<a href="pages/tabs/aboutme.html">About Me</a>
</div>
<div class="contentAboutme">
<h1>My Mods</h1>
Expand Down
140 changes: 140 additions & 0 deletions pages/mods/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
/* * is a special css element that effects everything */

* {
font-family: "Lucida Grande", "Helvetica", "Arial", sans-serif; /* This sets the font family. Since it is inside a *, it does it for every element */
}

/* things without . do not affect classes, they affect html tags such as <html>, <body> */

html, body {
margin: 0px; /* Margin is the area outside of the box that is padded */
}

body {
background-color: rgb(247 166 166); /* Background-Color sets the background color of an element */
}

/* things with . affect classes. they affect html tags that have class="" inside of them, like this: <body class="namehere"> */

.content {
margin: 8px; /* Margin is the area outside of the box that is padded */
margin-top: 50px;
}

.contentAboutme {
margin: 8px; /* Margin is the area outside of the box that is padded */
margin-top: 50px;
color: rgb(0 0 0); /* Color is text color */
text-align: center;
}

.YTVideo {
width: 420px; /* Width of the element */
/* Padding but on the right of the element */
height: 345px;
border: black;
border-style: solid;
margin-top: 10px;
margin-left: 10px;
border-width: 3px;
border-radius: 3px;
padding: 5px;
background: rgb(156 156 156 / 49%);
}


.modslist {
display: flex; /* flex stuff, confusing */
flex-direction: row;
flex-wrap: wrap;
align-content: flex-start;
justify-content: flex-start;
align-items: center;
padding: 8px;
}

.mod {
width: 200px; /* Width of the element */
/* Padding but on the right of the element */
height: 295px;
border: black;
border-style: solid;
margin-top: 10px;
margin-left: 10px;
border-width: 3px;
border-radius: 3px;
padding: 5px;
background: rgb(156 156 156 / 49%);
}

.navbar {
position: fixed; /* position: fixed makes this always on screen */
height: 20px; /* height sets the height */
top: 0; /* top sets the top position */
width: 100%; /* width: 100% makes this fill the screen */
background-color: rgb(137, 3, 3); /* Background-Color sets the background color of an element */
background: linear-gradient(rgb(191 1 1),rgb(113 8 8)); /* Background can also set the background color of an element, but can do way more. I use it here for just in case browser don't support linear-gradient */
padding: 10px; /* Padding is the area inside of the box that is padded */
box-shadow: 0 0 15px 0 rgb(0 0 0); /* box-shadow makes a drop shadow. confusing */
display: table-cell; /* Changes the way how elemnts are organised */
}

/* things with . affect classes, but if you add a space, that allows you to customise the childs of a class/element only. */

.navbar a {
color: rgb(255, 255, 255); /* Color is text color */
text-decoration: none; /* Text decoration is underlines, etc */
}

.mod img {
width: 180px; /* Width of the element */
margin-left: 0px; /* Margin Left, is the margin for the left side of the content */
height: 180px;
border: black;
border-style: solid;
}

.mod p {
height: 45px;
width: 190px;
text-align: center;
text-overflow: ellipsis;
margin: 0px;
}

.mod p a {
margin-left: 0px !important;
}

.modslist a {
margin-left: 20px;
}

/* a:hover only is used when well, hovering */

.navbar a:hover {
color: rgba(255, 255, 255, 0.747); /* Color is text color */
text-decoration: underline; /* Text decoration is underlines, etc */
}

a {
color: rgb(19, 83, 157);
text-decoration: none;
}

a:hover {
color: rgb(47, 105, 172);
text-decoration: underline;
}

.sociallinks {
display: table;
margin: auto;
}

.sociallinks img {
width: 40px;
height: 40px;
border-radius: 100%;
padding: 3px;
}
File renamed without changes.

0 comments on commit 4797c5f

Please sign in to comment.