Skip to content

Commit d2eff89

Browse files
committed
Use new HTML5 semantic elements and conventions
1 parent 36330f4 commit d2eff89

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

css/style.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ p {
4848
background: url("images/background.png") no-repeat top center;
4949
}
5050

51-
#header {
51+
header {
5252
position: relative;
5353
height: 370px;
5454
margin-bottom: 20px;
5555
}
56-
#header .tagline {
56+
header .tagline {
5757
text-indent: -9999em;
5858
overflow: hidden;
5959
}
60-
#header .download {
60+
header .download {
6161
font-family: "Comfortaa", sans-serif;
6262
display: block;
6363
position: absolute;
@@ -66,7 +66,7 @@ p {
6666
font-size: 20px;
6767
color: #ff7f2a;
6868
}
69-
#header .current-ver {
69+
header .current-ver {
7070
font-size: 62px;
7171
}
7272

@@ -100,7 +100,7 @@ p {
100100
text-shadow: 0px 0px 5px #111;
101101
}
102102

103-
#footer {
103+
footer {
104104
font-size: 13px;
105105
padding: 20px 0;
106106
}

css/style.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ p {
5656
background: url('images/background.png') no-repeat top center;
5757
}
5858

59-
#header {
59+
header {
6060
position: relative;
6161
height: 370px;
6262
margin-bottom: 20px;
@@ -109,7 +109,7 @@ p {
109109
text-shadow: 0px 0px 5px #111;
110110
}
111111

112-
#footer {
112+
footer {
113113
font-size: 13px;
114114
padding: 20px 0;
115115
}

index.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@
1111
<meta name="author" content="Libvisual team">
1212
<meta name="keywords" content="libvisual,audio,visualization,framework">
1313

14-
<link rel="stylesheet" type="text/css" href="css/reset.css">
15-
<link rel="stylesheet" type="text/css" href="css/960_12_col.css">
16-
<link rel="stylesheet" type="text/css" href="css/style.css">
14+
<link rel="stylesheet" href="css/reset.css">
15+
<link rel="stylesheet" href="css/960_12_col.css">
16+
<link rel="stylesheet" href="css/style.css">
1717

18-
<script type="text/javascript" src="js/modernizr.js"></script>
18+
<script src="js/modernizr.js"></script>
1919
</head>
2020

2121
<body>
2222

2323
<div id="page-wrapper">
2424
<div id="page">
25-
<div id="header" class="container_12">
25+
<header class="container_12">
2626
<div class="grid_12">
2727
<a id="site-name" title="Homepage" href="/"><h1>Libvisual</h1></a>
2828
<p class="tagline">Make your music pretty</p>
2929
<p class="download"><span class="current-ver">0.5.0</span> beta &gt; <a href="https://github.com/Libvisual/libvisual">download</a></p>
3030
<div class="clearfix"></div>
3131
</div>
32-
</div> <!-- header -->
32+
</header> <!-- header -->
3333

3434
<div id="feature" class="container_12">
3535
<div class="block grid_6">
@@ -85,13 +85,13 @@ <h2 class="title">Build <span class="project-name">LV</span></h2>
8585
</div> <!-- column-right -->
8686
</div>
8787

88-
<div id="footer" class="container_12">
88+
<footer class="container_12">
8989
<div class="grid_12">
9090
<span id="credits">Libvisual is Free, Open Source Software.</span>
9191
<span id="copyright">Copyleft 2005-2013 All Rights Preserved.</span>
9292
<div class="clearfix"></div>
9393
</div>
94-
</div> <!-- footer -->
94+
</footer> <!-- footer -->
9595

9696
</div> <!-- page -->
9797
</div> <!-- page-wrapper -->

0 commit comments

Comments
 (0)