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

Update to match IRL site #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
Binary file added assets/font/moristonpersonal-light-webfont.eot
Binary file not shown.
1,063 changes: 1,063 additions & 0 deletions assets/font/moristonpersonal-light-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/font/moristonpersonal-light-webfont.ttf
Binary file not shown.
Binary file added assets/font/moristonpersonal-light-webfont.woff
Binary file not shown.
Binary file added assets/font/moristonpersonal-semibold-webfont.eot
Binary file not shown.
1,118 changes: 1,118 additions & 0 deletions assets/font/moristonpersonal-semibold-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added assets/img-logo_sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 48 additions & 16 deletions views/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,39 @@ html
head
title #{community} on Slack
meta(name='viewport', content='width=device-width, initial-scale=1',)
link(rel='icon', type='image/png', href='https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2015-07-31/8485729073_8a990e85124097e436cf_132.jpg')
link(rel='icon', type='image/png', size= href='assets/img-logo_sm.png')
style.
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}

@font-face {
font-family: 'moriston_personallight';
src: url('assets/fonts/moristonpersonal-light-webfont.eot');
url('assets/fonts/moristonpersonal-light-webfont.woff') format('woff'),
url('assets/fonts/moristonpersonal-light-webfont.ttf') format('truetype'),
url('assets/fonts/moristonpersonal-light-webfont.svg#moriston_personallight') format('svg');
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: 'moriston_personalsemibold';
src: url('assets/fonts/moristonpersonal-semibold-webfont.eot');
url('assets/fonts/moristonpersonal-semibold-webfont.woff') format('woff'),
url('assets/fonts/moristonpersonal-semibold-webfont.ttf') format('truetype'),
url('assets/fonts/moristonpersonal-semibold-webfont.svg#moriston_personallight') format('svg');
font-weight: 700;
font-style: normal;
}

body {
font-family: monospace;
font-family: 'moriston_personallight';
font-size: 16px;
color: #2f3590;
}

.content {
Expand All @@ -23,16 +45,21 @@ html
}

.join {
border: solid 1px black;
border: solid 1px #2f3590;
padding: 10px 30px 30px 30px;
background-color: #EBECEA;
}

.join-title {
font-weight: bold;
font-family: 'moriston_personalsemibold'
font-weight: 700;
font-size: 24px;
}

.label {
text-align: left;
font-size: 14px;
text-transform: uppercase;
}

input {
Expand All @@ -41,33 +68,38 @@ html
padding: 5px;
font-family: monospace;
margin-top: 10px;
background: #fff;
}

.thanks {
width: 100%;
padding-top: 20px;
margin-top: 30px;
border-top: 1px solid black;
border-top: 1px solid #ea267a;
}

button {
padding: 7px;
font-family: monospace;
font-family: 'moriston_personallight';
letter-spacing: 2px;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
margin-top: 20px;
background: none;
border-radius: 0px;
border: 1px solid black;
font-size: 16px;
font-weight: bold;
border: 2px solid #2dffff;
cursor: pointer;
}

button:hover {
background: #2dffff;
}

.logo {
width: 45px;
height: 45px;
height: 51px;
margin-top: 30px;
border: 1px solid black;
border-radius: 4px;
border: none;
}

.message {
Expand All @@ -85,8 +117,8 @@ html
}
}
body
.content
img(src='https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2015-07-31/8485729073_8a990e85124097e436cf_132.jpg' class='logo')
.content
img(src='assets/img-logo_sm.png' class='logo')
p #{community}
p a friendly chicago slack forum for exchanging web knowledge
.join
Expand All @@ -108,7 +140,7 @@ html
var email = document.getElementById('slack-email')
form.addEventListener('submit', function(evt) {

//prevent default reload behavior
//prevent default reload behavior
evt.preventDefault();

$.ajax({
Expand Down