Remaking the site. Pretty bland so far.

This commit is contained in:
Ian Skinner 2021-06-25 23:03:11 -04:00
parent 9abce1b07f
commit 93f0bb3db6
6 changed files with 157 additions and 21 deletions

View File

@ -1,3 +1,5 @@
# IanSkinner1982.github.io
Imagine a making a website that is good. Couln't be me.
Imagine a making a website that is actually good. Couldn't be me.
Some parts of this site (the navbar) have taken from the [NCX Programming Website](https://github.com/NCX-Programming/site).

View File

@ -3,27 +3,22 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<div class="nav">
<nav>
<ul>
<li><img src="" width="50" height="50"></li>
<li><a href="/index">Main Page</a></li>
<li><a href="/cc64.html">Cookie Clicker C64</a></li>
<li><a href="/vice.js_files/tl64.html">C64 Title Loader</a></li>
</ul>
</nav>
</div>
</head>
<body>
<div class="intro">
<h1>Welcome to my site!</h1>
<p>This site doesn't really have any purpose right now, but feel free to look around. While you're here, why not join my Discord server?<br>(link below)</p>
<p align="center">
<iframe src="https://ptb.discordapp.com/widget?id=704065693246685225&theme=dark" height="500" allowtransparency="true" frameborder="0"></iframe></p>
</div>
<div class="media">
<h1>
</body>
<div class="nav">
<nav>
<ul>
<li class="navstd"><a href="/">Home</a></li>
<li class="navstd"><a href="/pages/programs/">Programs</a></li>
<li class="navstd"><a href="/pages/socialmedia/">Social Media</a></li>
<li class="navimg"><a href="https://github.com/IanSkinner1982"><img src="https://raw.githubusercontent.com/NCX-Programming/site/main/files/site/images/github64px.png" style="width:32px;height:32px;"/></a></li>
<li class="navimg"><a href="https://discord.gg/TbPXuFr"><img src="https://raw.githubusercontent.com/NCX-Programming/site/main/files/site/images/discord.png" style="width:30px;height:32px;"/></a></li>
</ul>
</nav>
</div>
<h1>Welcome to my site!</h1>
<p>Hey there. I'm Ian and this is my site. Here you can find some documentation for some of my programs, as well as information on other things I've done.</p>
</body>
</html>

38
pages/programs/cc64.html Normal file
View File

@ -0,0 +1,38 @@
<!DOCTYPE html>
<title>IanSkinner1982's Website</title>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="nav">
<nav>
<ul>
<li class="navstd"><a href="/">Home</a></li>
<li class="navstd"><a href="/pages/programs/">Programs</a></li>
<li class="navstd"><a href="/pages/socialmedia/">Social Media</a></li>
<li class="navimg"><a href="https://github.com/IanSkinner1982"><img src="https://raw.githubusercontent.com/NCX-Programming/site/main/files/site/images/github64px.png" style="width:32px;height:32px;"/></a></li>
<li class="navimg"><a href="https://discord.gg/TbPXuFr"><img src="https://raw.githubusercontent.com/NCX-Programming/site/main/files/site/images/discord.png" style="width:30px;height:32px;"/></a></li>
</ul>
</nav>
</div>
<h1>CC64 docs</h1>
<p>
Adding new buildings in v3:
First, add the new building data to the end of the <code>STOREDAT</code> file. The format should be as follows:
<br>
<br><code>Name (max 14 chars)
<br>Description (max 22 chars)
<br>Gain (cookies per second)
<br>Price</code>
<br>
<br>Now edit the program. You will need to change the maximum number of buildings (written as <code>mb</code>) you want <b>minus one</b>. This is set at the start of line 10.
<br>Next, look at line 2010. These determine the building data that will be displayed on each page. (a range of 0-4 will print data for buildings 0-4, and 5-9 for 5-9 and so on) <code>SS</code> is the page number on which these values will be printed. Make sure you have <code>ifss>{page #}theni</code>. Add/edit ranges as needed.
<br>(notes: page numbers start at 0, and ranges can be no bigger than 5)
<br>
<br>Lastly, edit line 3095 to be <code>ifss={max page #+1}thenss={max page #}</code>.
<br>
<br>If, after doing this, the screen becomes messed up, try changing the amount of <code>{downs}</code> in line 2555. Currently there isn't any code that selects the amount of <code>{down}</code>s needed depending on the number of items printed. (that may come later) Everything <i>should</i> now work. If you are experiencing any problems, try updating your CC64 version and repeating the steps.
</p>
</body>
</html>

26
pages/programs/index.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<title>IanSkinner1982's Website</title>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="nav">
<nav>
<ul>
<li class="navstd"><a href="/">Home</a></li>
<li class="navstd"><a href="/pages/programs/">Programs</a></li>
<li class="navstd"><a href="/pages/socialmedia/">Social Media</a></li>
<li class="navimg"><a href="https://github.com/IanSkinner1982"><img src="https://raw.githubusercontent.com/NCX-Programming/site/main/files/site/images/github64px.png" style="width:32px;height:32px;"/></a></li>
<li class="navimg"><a href="https://discord.gg/TbPXuFr"><img src="https://raw.githubusercontent.com/NCX-Programming/site/main/files/site/images/discord.png" style="width:30px;height:32px;"/></a></li>
</ul>
</nav>
</div>
<h1>Programs I'm working on</h1>
<ul>
<li><a href="/pages/programs/cc64.html">Cookie Clicker C64</a></li>
<li><a href="/pages/programs/tt64.html">C64 Title Loader</a></li>
<li><a href="/pages/programs/"></a></li>
</ul>
</body>
</html>

View File

@ -0,0 +1,22 @@
<!DOCTYPE html>
<title>IanSkinner1982's Website</title>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="nav">
<nav>
<ul>
<li class="navstd"><a href="/">Home</a></li>
<li class="navstd"><a href="/pages/programs/">Programs</a></li>
<li class="navstd"><a href="/pages/socialmedia/">Social Media</a></li>
<li class="navimg"><a href="https://github.com/IanSkinner1982"><img src="https://raw.githubusercontent.com/NCX-Programming/site/main/files/site/images/github64px.png" style="width:32px;height:32px;"/></a></li>
<li class="navimg"><a href="https://discord.gg/TbPXuFr"><img src="https://raw.githubusercontent.com/NCX-Programming/site/main/files/site/images/discord.png" style="width:30px;height:32px;"/></a></li>
</ul>
</nav>
</div>
<h1>Links</h1>
<p></p>
</body>
</html>

View File

@ -1 +1,54 @@
body {
font-family: Calibri, Segoe UI, Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #FCFBF1;
}
.nav ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #0B5EA7;
font-family: 'Montserrat', sans-serif;
}
.navstd {
float: left;
}
.navalt {
float: right;
}
.navstd a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.navalt a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.nav li a:hover {
background-color: #0B4F8A;
}
.navimg {
text-align: center;
float: right;
padding: 6px 14px;
object-fit: scale-down;
}
h1, h2, h3, h4, p {
margin-left: 8px;
margin-right: 8px;
}
code {
font-family: Consolas,"courier new";
color: crimson;
background-color: #f1f1f1;
padding: 2px;
font-size: 70%;
}