About KrookedSkull.

Why this site?

Things to remember is my personal site to remind myself how to do something that I figured out in the past. The Atlas Dedicated Server, for example, took a lot of work to figure out and get working. However, my atlas server will only last a few months as I play with friends and take it down again. The purpose of this site is to remind myself how to somethign in the future that I spent a lot of time figuring out in the past.

There's also other things on this site. Tips, tricks, and other one-off that I found a need for that I will probably want to come back to at some point in the future.


Drac, here are useful links since you don't know a damn thing about building websites

Code Snippets

CSS; pages, backgrounds, all things

HTML Entities and Special Characters

How to use Layouts

Formatting Special Characters in HTML

HTML Entities Guide

List of all the various classes


Other notes:

P is paragraph. Typically used on the page for sentences and paragraphs.

Pre is preformatted text. 
It will look just like you typed it (returns, spacing, ect) and you can apply a CSS on top of it. 
(Think Poem over Paragraph)

They both have different CSS configurations.

I can use SPAN in the middle of a sentense to have custom mid-sentense formatting. Add CLASS="CSS Definition" to any of the above. My CSS Styles are located in the Shared Layout file. Individual page's can have their own style as well.

Adding new pages to the website

Add new Razor with Layout

Replace the file contents with

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "Manual Driver Load";
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="en-us" http-equiv="Content-Language" />
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <title>Windows 2019 Manual Driver Load Process</title>
</head>

Update the two title blocks; ViewBag.Title and <title>

Update the Title (ViewBag.Title and <title>)

Update the Home Page

    <div>
        <p>@Html.ActionLink("UbuntuVM on Windows Server 2019", "UbuntuVM", "SSG", new { area = "" }, new { @class = "btn btn-primary btn-md" })</p>
    </div>

Update as required, the first block link text, second is the page name, third is the controller name without the work 'controller' (SSGController.cs = SSG)

Create the page

Use Expressions to create the page and format the text between Design and code Mode. Here's the template:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>ADSSG</title>
<style>
        .codeblock {
            font-family: "OCR A Extended";
            font-size: medium;
            color: white;
            letter-spacing: normal;
            background-color: gray;
            margin-left: 2em;
            border: thin;
            border-style: double;
            border-color: red;
        }

        .noteblock {
            font-family: "OCR A Extended";
            font-size: medium;
            color: blue;
            background-color: yellow;
            letter-spacing: normal;
            margin-left: 2em;
            border: thin;
            border-style: double;
        }
        .noteblock-inline {
		font-family: "OCR A Extended";
		font-size: medium;
		color:blue;
		background-color:yellow;
		letter-spacing:normal;
		margin-left:0em;
		border:thin;
		border-style:double;
        }
        table {
            border-collapse: collapse;
            border:dashed;
            width: 100%;
        }

        th, td {
            text-align: left;
            padding: 8px;
        }

        tr:nth-child(even) {
            background-color: #f2f2f2;
        }
</style>
</head>
<body>
<hr />
<h1>Headder</h1>
<p>Text</p>
</body>
</html>

Once done, copy everything below </head>

Note: The styles are already in the _layout file

Note: that becomes everything including and between: <body> to </html>

Paste the results into our new Razor File

Update links, buttons, and other MCV specific settings (typically only buttons calling other pages)

Done.