summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNayab W <42422512+nayabw@users.noreply.github.com>2018-10-19 07:33:22 -0500
committerGitHub <noreply@github.com>2018-10-19 07:33:22 -0500
commita85af5a300c69f6c75fe0d26a65edea6807a55d3 (patch)
treed552cd1edfba6cd291a7bdaeeb83288ea233a6bd
parent232ecf443d1b1db92402c39a525a7e90cc188533 (diff)
downloadsilicon-linux-a85af5a300c69f6c75fe0d26a65edea6807a55d3.tar.gz
silicon-linux-a85af5a300c69f6c75fe0d26a65edea6807a55d3.tar.bz2
silicon-linux-a85af5a300c69f6c75fe0d26a65edea6807a55d3.zip
Center the placeholder text
-rw-r--r--index.html4
-rw-r--r--style.css55
2 files changed, 57 insertions, 2 deletions
diff --git a/index.html b/index.html
index 18f51fe..b7ea3bc 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@
<TITLE>Silicon Linux</TITLE>
</HEAD>
<BODY>
-<h1>Silicon Linux</h1>
- <p><i>This website is under construction. Content will come soon.</i></p>
+<h1 class ="title">Silicon Linux</h1>
+ <p class="center"><i>This website is under construction. Content will come soon.</i></p>
</BODY>
</HTML>
diff --git a/style.css b/style.css
index 3aa622a..e41d3f5 100644
--- a/style.css
+++ b/style.css
@@ -3,3 +3,58 @@ body{
background: #333;
color: white
}
+.title{
+ font-size: 50px;
+ text-align: center;
+}
+
+#title{
+ border: solid white 5px;
+}
+
+#navigation{
+ padding-top: 0px;
+ padding-left: 0px;
+ padding-right: 0px;
+ padding-bottom: 15px;
+ margin: -1px;
+}
+
+ul {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ overflow: hidden;
+ background-color: whitesmoke;
+}
+
+li.logo{
+ font-weight: bold;
+ color: black;
+}
+li.nav {
+ float: left;
+ display: block;
+ color: black;
+ text-align: center;
+ padding: 14px 16px;
+ text-decoration: none;
+}
+
+a.nav{
+ color: black;
+ text-decoration: none;
+}
+
+li a:hover {
+ background-color: gray;
+}
+
+.active {
+ background-color: #68a2ff;
+ color: black;
+}
+
+.center {
+ text-align: center;
+} \ No newline at end of file