Skip to content

Commit 4e9d326

Browse files
author
Molly Samuels
committed
Add site content and style
1 parent d0a5749 commit 4e9d326

7 files changed

Lines changed: 416 additions & 24 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ py_env
66
node_env
77
*.swp
88
bower_components
9+
.DS_Store
910
build

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
- repo: git@github.com:pre-commit/mirrors-scss-lint
1+
- repo: http://github.com/pre-commit/mirrors-scss-lint
22
sha: d7266131da322d6d76a18d6a3659f21025d9ea11
33
hooks:
44
- id: scss-lint
55
files: scss/.*\.scss$
6-
- repo: git@github.com:pre-commit/pre-commit-hooks
6+
- repo: http://github.com/pre-commit/pre-commit-hooks
77
sha: 7ec485352199e02d608198b0206b0675fa84af73
88
hooks:
99
- id: check-yaml

index.html

Lines changed: 309 additions & 9 deletions
Large diffs are not rendered by default.

logo.png

1.59 KB
Loading

pre-commit-darwin.png

21.1 KB
Loading

scss/_variables.scss

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
1-
$header-color: #1f2d23;
2-
$top-shelf-background: #76877c;
3-
$logo-yellow: #f8b424;
1+
$pc-green-dark: #1f2d23;
2+
$pc-green-light: #76877c;
3+
$pc-yellow: #f8b424;
44

55
// Bootstrap overrides
6+
$brand-primary: $pc-green-light;
67

7-
$link-color: #fff;
8+
// Buttons
9+
$btn-default-color: white;
10+
$btn-default-bg: transparent;
11+
$btn-default-border: $btn-default-color;
812

9-
$btn-default-color: #fff;
10-
$btn-default-bg: $header-color;
11-
$btn-default-border: #fff;
13+
// Navbar
14+
$navbar-default-bg: $pc-green-dark;
15+
$navbar-default-link-active-bg: darken($navbar-default-bg, 2.5%);
16+
$navbar-default-link-hover-bg: $navbar-default-link-active-bg;
1217

18+
$navbar-default-color: white;
19+
$navbar-default-link-active-color: $navbar-default-color;
20+
$navbar-default-link-color: $navbar-default-color;
21+
$navbar-default-link-hover-color: $navbar-default-color;
22+
23+
$navbar-border-radius: 0;
24+
$navbar-default-border: transparent;
1325
$navbar-height: 70px;
1426
$navbar-margin-bottom: 0;
27+
28+
$nav-link-padding: 10px 30px;

scss/main.scss

Lines changed: 83 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,93 @@
11
@import 'scss/variables';
22
@import 'bower_components/bootstrap-sass/lib/bootstrap';
33

4+
45
body {
5-
font-family: arial, helvetica, sans-serif;
6+
position: relative;
7+
}
8+
9+
pre {
10+
margin-bottom: 20px;
11+
}
12+
13+
14+
// Navbar
15+
16+
.pc-navbar-brand {
17+
padding: 13px 15px;
618
}
719

8-
.pre-commit-page-header {
9-
background-color: $header-color;
10-
height: 70px;
11-
margin-bottom: 0;
20+
.logo {
21+
height: 44px;
22+
width: 44px;
23+
display: block;
24+
background: url('../logo.png');
1225
}
1326

27+
.navbar .btn {
28+
margin: 18px 0;
29+
padding: 6px 12px;
30+
}
31+
32+
33+
// Top shelf
34+
1435
.top-shelf {
15-
background-color: $top-shelf-background;
36+
background: $pc-green-light;
37+
color: white;
38+
39+
.container {
40+
position: relative;
41+
}
42+
43+
.pc-darwin {
44+
float: right;
45+
margin: -30px 20px 0 40px;
46+
}
47+
48+
h1 {
49+
margin: 40px 0 20px;
50+
51+
a {
52+
color: $pc-yellow;
53+
54+
&:hover {
55+
text-decoration: none;
56+
}
57+
}
58+
}
59+
60+
p {
61+
margin-bottom: 40px;
62+
font-size: $font-size-h3;
63+
}
64+
}
65+
66+
67+
// Sidebar
68+
69+
.pc-sidebar {
70+
padding-top: 40px;
71+
}
72+
73+
.pc-sidenav.affix {
74+
top: 40px;
75+
}
76+
77+
78+
// Footer
79+
80+
.pc-footer {
81+
margin-top: 40px;
82+
background: $pc-green-dark;
83+
color: white;
84+
text-align: center;
85+
86+
.container {
87+
padding: 40px;
88+
}
89+
90+
a:hover {
91+
color: white;
92+
}
1693
}

0 commit comments

Comments
 (0)