diff options
| author | Nayab W <42422512+nayabw@users.noreply.github.com> | 2018-10-19 07:33:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-19 07:33:22 -0500 |
| commit | a85af5a300c69f6c75fe0d26a65edea6807a55d3 (patch) | |
| tree | d552cd1edfba6cd291a7bdaeeb83288ea233a6bd | |
| parent | 232ecf443d1b1db92402c39a525a7e90cc188533 (diff) | |
| download | silicon-linux-a85af5a300c69f6c75fe0d26a65edea6807a55d3.tar.gz silicon-linux-a85af5a300c69f6c75fe0d26a65edea6807a55d3.tar.bz2 silicon-linux-a85af5a300c69f6c75fe0d26a65edea6807a55d3.zip | |
Center the placeholder text
| -rw-r--r-- | index.html | 4 | ||||
| -rw-r--r-- | style.css | 55 |
2 files changed, 57 insertions, 2 deletions
@@ -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> @@ -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 |
