Initial commitment.

main
nightly 2022-10-28 18:36:36 +02:00
parent 55ccb41bd4
commit 634083e027
2 changed files with 32 additions and 24 deletions

View File

@ -8,17 +8,14 @@
<link rel="stylesheet" href="static/nightlycss.css">
</head>
<body>
<div id="sidebar">
<ul>
<li><a class="active" href="#home">Home</a></li>
<li><a href="#news">News</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#about">About</a></li>
</ul>
</div>
<div class="sidenav">
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Clients</a>
<a href="#">Contact</a>
</div>
<div id="content">
<h1>Hello world!</h1>
<h1>Welcome to my website!</h1>
</div>
</body>
</html>

View File

@ -1,31 +1,42 @@
:root {
--bgcolour: #290B57;
--sdbarcolour: #481496;
--bgcolour: #212121;
--sdbarcolour: #6600ff;
--textcolour: #EFF0F1;
}
body {
font-family: 'Helvetica', 'Arial', sans-serif;
background-color: var(--bgcolour);
margin:0;
color: var(--textcolour);
}
#sidebar ul {
margin: 0;
padding: 0;
width:85px;
background-color: var(--sdbarcolour);
overflow: auto;
display: block;
height:100%;
.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);
}
#sidebar li a {
display: block;
color: #000;
padding: 8px 16px;
.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;
}