Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
updated UI
Browse files Browse the repository at this point in the history
  • Loading branch information
potch committed Jul 9, 2014
1 parent 34ac254 commit 6895b10
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 12 deletions.
1 change: 1 addition & 0 deletions index.html
Expand Up @@ -11,6 +11,7 @@
<header>We're Hiring!</header>
<div id="posting">
</div>
<img src="mozillacareerslogo.gif">
<footer>Visit <b>bit.ly/mozjob</b> to refer a candidate</footer>
<script src="main.js"></script>
</body>
Expand Down
Binary file added mozillacareerslogo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 35 additions & 12 deletions style.css
Expand Up @@ -8,7 +8,7 @@ html, body {
overflow: hidden;
height: 100%;
margin: 0;
font-size: 4vmin;
font-size: 4vh;
line-height: 4vmin;
font-family: 'Open Sans';
color: #4D4E53;
Expand All @@ -18,9 +18,10 @@ html, body {
header {
position: absolute;
color: #fff;
font-size: .7em;
background: linear-gradient(#EA3B28, #C13832);
padding: .5em 10em;
transform: translate(-50%, -50%) rotate(-45deg) translate(0, 17vmin);
padding: .3em 10em;
transform: translate(-50%, -50%) rotate(-45deg) translate(0, 12vmin);
}

footer {
Expand All @@ -29,25 +30,38 @@ footer {
right: 1em;
}

#posting * {
display: none;
}

#posting h1,
#posting h2,
#posting p {
display: block;
}

#posting h1 {
text-align: center;
position: absolute;
font-size: 5vw;
top: 15vh;
font-size: 8vh;
top: 11vh;
left: 50vw;
min-width: 85vw;
line-height: 6vw;
min-width: 75vw;
max-width: 80vw;
line-height: 1.2em;
transform: translate(-50%, -50%);
text-shadow: 0 0 1vmin #fff;
}

#posting h2 {
text-align: center;
position: absolute;
font-size: 4vw;
min-width: 85%;
font-size: 6vh;
min-width: 65%;
top: 35vh;
left: 50vw;
font-weight: 500;
line-height: 1.2em;
transform: translate(-50%, -50%);
text-shadow: 0 0 1vmin #fff;
}
Expand All @@ -58,17 +72,26 @@ footer {

#posting p {
position: absolute;
top: 65vh;
top: 62vh;
left: 50vw;
min-width: 70%;
min-width: 80%;
line-height: 1.3em;
text-align: center;
transform: translate(-50%, -50%);
font-size: 4vmin;
max-height: 5.2em;
overflow: hidden;
}

img {
position: absolute;
bottom: .5em;
left: .5em;
height: 3em;
}

footer b {
color: #0095DD;
color: #3953A4;
font-size: 110%;
}

Expand Down

0 comments on commit 6895b10

Please sign in to comment.