Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a proper header #20

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ h6 {
text-align: center;
}

.header-inner {
min-width: 320px;
max-width: 540px;
margin: auto;
.nav {
overflow: hidden;
}

.header-logo {
.nav a {
float: left;
text-align: center;
margin-top: 0.2em;
}

.header-main {
font-size: 150%;
font-weight: bold;
padding: 14px 10px;
text-decoration: none;
font-size: 18px;
}

.header-tagline {
color: #696969;
.nav-right {
float: right;
padding-top: 14px;
margin: 24px 20px 0 10px
}

.download-link a {
Expand Down
29 changes: 15 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,30 @@

<body>
<div id="container">
<header>
<div class="header-logo">
<a href="http://servo.org">
<img
width="200"
src="images/servo-color-positive.png" />
</a>
<div class="nav">
<a href="http://servo.org">
<img
width="200"
src="images/servo-color-positive.png" />
</a>
<div class="nav-right">
<a href="https://servo.org/contributing" target="_blank">Contribute</a>
<a href="https://github.com/servo/servo/wiki" target="_blank">Wiki</a>
<a href="https://github.com/servo/servo" target="_blank">Github</a>
</div>
<div class="header-main">
<h3><strong>The embeddable, independent, memory-safe, modular, parallel web rendering engine.</strong></h3>
</div>
</header>
</div>
<hr />
<main class="experiments-container">
<section class="experiments-group" id="other-experiments">
<h3 class="heading">Servo Experiments (<a href="https://github.com/servo/servo-experiments" target="_blank">Contribute</a>) </h3>
<h2 class="heading">Servo Experiments</h2>
<div class="experiment-previews"></div>
</section>
<section class="experiments-group" id="technical-tests">
<h3 class="heading">Servo Technical Tests (<a href="https://github.com/servo/servo-experiments" target="_blank">Contribute</a>) </h3>
<h2 class="heading">Servo Technical Tests</h2>
<div class="experiment-previews"></div>
</section>
<section class="experiments-group" id="videos">
<h3 class="heading">Servo Videos (<a href="https://github.com/servo/servo-experiments" target="_blank">Contribute</a>) </h3>
<h2 class="heading">Servo Videos</h2>
<div class="experiment-previews"></div>
</section>
</main>
Expand Down