test #1

Merged
nightlymania merged 2 commits from dev into main 2022-11-03 18:42:27 +01:00
3 changed files with 10 additions and 40 deletions

View File

@ -1,3 +1,3 @@
# nightly.town
website
The website shown at (nightly.town)[https://nightly.town]

View File

@ -8,14 +8,10 @@
<link rel="stylesheet" href="static/nightlycss.css">
</head>
<body>
<div class="sidenav">
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Clients</a>
<a href="#">Contact</a>
</div>
<div id="content">
<h1>Welcome to my website!</h1>
<div id="container">
<div id="header">
<h1>Hello!</h1>
</div>
</div>
</body>
</html>

View File

@ -1,42 +1,16 @@
:root {
--bgcolour: #212121;
--sdbarcolour: #6600ff;
--sdbarcolour: #4c208f;
--textcolour: #EFF0F1;
}
body {
font-family: 'Helvetica', 'Arial', sans-serif;
background-color: var(--bgcolour);
margin:0;
margin: 0;
color: var(--textcolour);
}
.sidenav {
height: 100%;
width: 85px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: var(--bgcolour);
overflow-x: hidden;
padding-top: 20px;
border-right: 2px solid var(--sdbarcolour);
}
.sidenav a {
padding: 6px 6px 6px 10px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
}
.sidenav a:hover {
color: #f1f1f1;
}
#content {
margin-top: 20px;
margin-left:138px;
padding: 1px 16px;
.container {
display: flex;
flex-direction: column;
}