Browse Source

make styles more readable, and tweaks to html and style

pull/1/head
Craig Stewart 4 years ago
parent
commit
c3db7a7771
  1. 21
      about.html
  2. 15
      index.html
  3. 38
      styles/default.css

21
aboutme.html → about.html

@ -2,13 +2,14 @@
<head>
<link href="/styles/default.css" rel="stylesheet" type="text/css" />
<title>
My Website
About Me
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div id="header">
<h1>
New Website
About Me
</h1>
</div>
<div id="navigation">
@ -18,14 +19,24 @@ Home
</a>
</p>
<p>
<a href="/aboutme.html">
About me
<a href="/about.html">
About Me
</a>
</p>
<!--<p>
<a href="/cv.html">
My CV
</a>
</p>-->
<p>
<a href="https:www.craig-james-stewart.co.uk/blog/">
My Blog
</a>
</p>
</div>
<div id="content">
<p>
I'm a person.
I am a person
</p>
</div>
</body>

15
index.html

@ -4,6 +4,7 @@
<title>
My Website
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div id="header">
@ -18,8 +19,18 @@ Home
</a>
</p>
<p>
<a href="/aboutme.html">
Home
<a href="/about.html">
About Me
</a>
</p>
<!--<p>
<a href="/cv.html">
My CV
</a>
</p>-->
<p>
<a href="https:www.craig-james-stewart.co.uk/blog/">
My Blog
</a>
</p>
</div>

38
styles/default.css

@ -1,6 +1,32 @@
body {background-color:#dd66dd;height:100%;width:100%;padding:0;margin:0}
h1 {font-size:45px;text-align:center;margin:0}
p {text-align:left;font-size:18px;margin:5}
#header {height:55px;background-color:#994499}
#navigation {height:calc( 100% - 55px );width:55px;float:left;background-color:#aa55aa}
#content {float:right;width:calc( 100% - 55px )}
body {
background-color:#dddd99;
height:100%;
width:100%;
padding:0;
margin:0;
}
h1 {
font-size:45px;
text-align:center;
margin:0;
}
p {
text-align:left;
font-size:18px;
margin:5;
margin-bottom:15;
}
#header {
height:55px;
background-color:#aaaaff;
}
#navigation {
height:calc( 100% - 55px );
width:95px;
float:left;
background-color:#ffaaff;
}
#content {
float:right;
width:calc( 100% - 95px );
}

Loading…
Cancel
Save