summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicdob <niclas.dobbertin@gmx.de>2020-10-05 18:49:29 +0200
committernicdob <niclas.dobbertin@gmx.de>2020-10-05 18:49:29 +0200
commit8b4c35e702abbe30f7324f34cc1f1627e9f5a0d3 (patch)
tree587bfcb319f1a6b79e9f090e09d45de0f72ca040
parent21e077b37142f1d1031146a26ccca025aff73535 (diff)
start sidebar
-rw-r--r--index.html6
-rw-r--r--style.css26
2 files changed, 26 insertions, 6 deletions
diff --git a/index.html b/index.html
index 9321280..a2bb797 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,11 @@
<title>Niclas Dobbertins Homepage</title>
<link rel="stylesheet" href="style.css">
</head>
+ <div id="content">
+ <div id="sidebar">
+ <li><a href="sub/">first item</a></li>
+ <li><a href="sub/">second item</a></li>
+ </div>
<body>
<h1>A new website is born!</h1>
<p>... nothing to see here PepeHands ...</p>
@@ -14,4 +19,5 @@
</div>
</body>
+ </div>
</html>
diff --git a/style.css b/style.css
index 5d60524..36f2755 100644
--- a/style.css
+++ b/style.css
@@ -1,17 +1,31 @@
body {
font-family: Arial, sans-serif;
font-size: medium;
- color: thistle;
- background-color: #373b41;
+ color: #ebdbb2;
+ background-color: #3c3836;
}
h1 {
- color: HotPink;
- text-align: center;
+ color: #8ec07c;
+ text-align: left;
}
#box-one {
- background-color: thistle;
- color: black;
+ background-color: #504945;
+ color: #8ec07c;
opacity: 0.5;
}
+
+#content {
+ clear: both;
+ margin: 0;
+ padding: 0;
+ /*background-color: #fff;
+ overflow: hidden;*/
+}
+#sidebar {
+ float: left;
+ margin: 0px 1px 0 0px; /* margins: top, right, bottom, left */
+ padding: 1em 0;
+ width: 200px;
+}