Skip to content

Commit 9e63939

Browse files
committed
Externalising CCS
1 parent 08344ba commit 9e63939

File tree

2 files changed

+18
-20
lines changed

2 files changed

+18
-20
lines changed

css/main.css

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
h1 {
2+
font-family: "Open Sans", sans-serif;
3+
font-size: 48px;
4+
font-weight: normal;
5+
margin: 10px;
6+
text-align: center;
7+
}
8+
#navigation ul{
9+
text-align: center;
10+
list-style: none;
11+
padding: 0;
12+
}
13+
#navigation ul li {
14+
display: inline;
15+
padding-left: 5px;
16+
padding-right: 5px;
17+
}

index.html

+1-20
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,7 @@
1515
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
1616
<![endif]-->
1717
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css" />
18-
<style type="text/css">
19-
h1 {
20-
font-family: "Open Sans", sans-serif;
21-
font-size: 48px;
22-
font-weight: normal;
23-
margin: 10px;
24-
text-align: center;
25-
}
26-
#navigation ul{
27-
text-align: center;
28-
list-style: none;
29-
padding: 0;
30-
}
31-
#navigation ul li {
32-
display: inline;
33-
padding-left: 5px;
34-
padding-right: 5px;
35-
}
36-
37-
</style>
18+
<link href="css/main.css" rel="stylesheet" type="text/css" />
3819
<title>Matthew Warman - matthewwarman.co.uk</title>
3920
</head>
4021
<body>

0 commit comments

Comments
 (0)