Skip to content

Commit 99a5dad

Browse files
authored
Merge pull request #20 from servo/improve_page
Implement a proper header
2 parents 3e730a9 + 2b2f964 commit 99a5dad

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

css/style.css

+12-12
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@ h6 {
3636
text-align: center;
3737
}
3838

39-
.header-inner {
40-
min-width: 320px;
41-
max-width: 540px;
42-
margin: auto;
39+
.nav {
40+
overflow: hidden;
4341
}
4442

45-
.header-logo {
43+
.nav a {
44+
float: left;
4645
text-align: center;
47-
margin-top: 0.2em;
48-
}
49-
50-
.header-main {
51-
font-size: 150%;
46+
font-weight: bold;
47+
padding: 14px 10px;
48+
text-decoration: none;
49+
font-size: 18px;
5250
}
5351

54-
.header-tagline {
55-
color: #696969;
52+
.nav-right {
53+
float: right;
54+
padding-top: 14px;
55+
margin: 24px 20px 0 10px
5656
}
5757

5858
.download-link a {

index.html

+15-14
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,30 @@
99

1010
<body>
1111
<div id="container">
12-
<header>
13-
<div class="header-logo">
14-
<a href="http://servo.org">
15-
<img
16-
width="200"
17-
src="images/servo-color-positive.png" />
18-
</a>
12+
<div class="nav">
13+
<a href="http://servo.org">
14+
<img
15+
width="200"
16+
src="images/servo-color-positive.png" />
17+
</a>
18+
<div class="nav-right">
19+
<a href="https://servo.org/contributing" target="_blank">Contribute</a>
20+
<a href="https://github.com/servo/servo/wiki" target="_blank">Wiki</a>
21+
<a href="https://github.com/servo/servo" target="_blank">Github</a>
1922
</div>
20-
<div class="header-main">
21-
<h3><strong>The embeddable, independent, memory-safe, modular, parallel web rendering engine.</strong></h3>
22-
</div>
23-
</header>
23+
</div>
24+
<hr />
2425
<main class="experiments-container">
2526
<section class="experiments-group" id="other-experiments">
26-
<h3 class="heading">Servo Experiments (<a href="https://github.com/servo/servo-experiments" target="_blank">Contribute</a>) </h3>
27+
<h2 class="heading">Servo Experiments</h2>
2728
<div class="experiment-previews"></div>
2829
</section>
2930
<section class="experiments-group" id="technical-tests">
30-
<h3 class="heading">Servo Technical Tests (<a href="https://github.com/servo/servo-experiments" target="_blank">Contribute</a>) </h3>
31+
<h2 class="heading">Servo Technical Tests</h2>
3132
<div class="experiment-previews"></div>
3233
</section>
3334
<section class="experiments-group" id="videos">
34-
<h3 class="heading">Servo Videos (<a href="https://github.com/servo/servo-experiments" target="_blank">Contribute</a>) </h3>
35+
<h2 class="heading">Servo Videos</h2>
3536
<div class="experiment-previews"></div>
3637
</section>
3738
</main>

0 commit comments

Comments
 (0)