Skip to content

Commit 478ae4d

Browse files
authored
Merge pull request #41 from code4lib/apply-theme
add theme vars and apply initial changes
2 parents 5ab73ed + 15f8f02 commit 478ae4d

File tree

12 files changed

+117
-32
lines changed

12 files changed

+117
-32
lines changed

assets/_scss/_clip-circles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
width: 79px;
99
border-radius: 50%;
1010
margin: 0 auto .2em;
11-
background: $clip-circle-border;
12-
border: 13px solid $clip-circle-border;
11+
background: $icosahedron-color;
12+
border: 13px solid $icosahedron-color;
1313
box-sizing: content-box;
1414
}
1515

assets/_scss/_footer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
========================================================================== */
44

55
.footer {
6-
background-color: #464745;
6+
background-color: $footer-bg;
77
bottom: 0;
88
box-sizing: border-box;
99
color: $footer-color;

assets/_scss/_global.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ html {
99

1010
body {
1111
/* Margin bottom by footer height */
12-
color: $gray-base;
12+
color: $cultured-white;
1313
font-family: $font-family-sans-serif;
1414
font-weight: 300;
1515
margin-bottom: 20.3125em;

assets/_scss/_goingon.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,14 @@
2626
@include link-styles-states;
2727
}
2828
}
29+
30+
.going-on a.btn {
31+
background-color: $btn-bg-color-mid;
32+
color: $btn-color-mid;
33+
border-color: $btn-border-color-mid;
34+
border: 1px solid;
35+
&:hover {
36+
border: 1px solid $btn-border-hover;
37+
//outline-offset: -2px;
38+
}
39+
}

assets/_scss/_homepage.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111

1212
#conferenceInfo {
13-
background-color: $primary;
13+
background-color: $hero-transition;
1414

1515
h1 {
1616
background-color: fade-out($primary-light, .35);
@@ -55,12 +55,12 @@
5555
========================================================================== */
5656

5757
#heroImageAttribution {
58-
background-color: $accent;
58+
background-color: $hero-transition;
5959
color: $primary-dark;
6060
font-size: .9em;
6161

6262
a {
63-
color: $primary-dark;
63+
color: $cultured-white;
6464
}
6565
}
6666

@@ -134,6 +134,9 @@
134134
}
135135

136136
// "Welcome to..." section of the home page
137+
.welcome {
138+
background-color: $oxford-blue;
139+
}
137140
.welcome a {
138141
@include link-styles;
139142

assets/_scss/_links.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
@mixin link-styles {
22
border-bottom: 1px dotted;
3-
color: $primary-dark;
3+
color: $turquoise;
44
text-decoration: none;
55
}
66

77
@mixin link-styles-states {
8-
background-color: $accent;
8+
//background-color: $accent;
9+
color: $link-color-light;
910
border-bottom: 2px solid;
1011
text-decoration: none;
1112
}

assets/_scss/_presentations-workshops.scss

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,26 @@
139139
@include link-styles-states;
140140
}
141141
}
142+
}
143+
144+
#prepared-talks a.btn {
145+
background-color: $btn-bg-color-mid;
146+
color: $btn-color-mid;
147+
border-color: $btn-border-color-mid;
148+
border: 1px solid;
149+
&:hover {
150+
border: 1px solid $btn-border-hover;
151+
//outline-offset: -2px;
152+
}
153+
}
154+
155+
#postconference a.btn {
156+
background-color: $btn-bg-color-mid;
157+
color: $btn-color-mid;
158+
border-color: $btn-border-color-mid;
159+
border: 1px solid;
160+
&:hover {
161+
border: 1px solid $btn-border-hover;
162+
//outline-offset: -2px;
163+
}
142164
}

assets/_scss/_secondary-nav.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,25 @@ ul.secondarynav > li:not(.active):hover {
66
border-left: solid 3px $accent;
77
}
88

9+
ul.secondarynav > li:not(.active) > a:hover {
10+
color: $link-color-light;
11+
}
12+
913
ul.secondarynav > li.active > ul > li {
1014
list-style-type: none;
1115
padding: 5px 0px;
1216
}
1317

18+
ul.secondarynav > li.active > ul > li > a:hover {
19+
color: $link-color-light;
20+
}
21+
1422
ul.secondarynav > li.active > a,
1523
ul.secondarynav > li.active > a:hover,
1624
ul.secondarynav > li.active > a:focus {
1725
background-color: transparent;
1826
font-weight: 700;
19-
color: $primary;
27+
color: $link-color-light;
2028
}
2129

2230
ul.secondarynav > li.active > a > .secondnav-item,
@@ -26,5 +34,5 @@ ul.secondarynav > li.active > a:focus > .secondnav-item {
2634
text-decoration: none;
2735
border-bottom: 3px solid $accent;
2836
margin-bottom: -1px;
29-
color: $primary-dark;
37+
color: $link-color-light;
3038
}

assets/_scss/_sections.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
section {
66
min-height: 200px;
77
padding: 2em 0;
8+
&.welcome {
9+
min-height: 0px;
10+
}
811
}
912

1013
section:nth-of-type(3n+1) {
@@ -13,7 +16,8 @@ section:nth-of-type(3n+1) {
1316
}
1417

1518
section:nth-of-type(3n+2) {
16-
border-top: 2px solid $gray-light;
19+
border-top: 2px solid $crayola-ink;
20+
border-bottom: 2px solid $crayola-ink;
1721
}
1822

1923
section:nth-of-type(3n+3) {
@@ -37,7 +41,7 @@ section:nth-of-type(3n+3) {
3741

3842
section .general-info {
3943
background: none;
40-
color: $gray-base;
44+
//color: $gray-base;
4145
}
4246

4347
section .general-info a {

assets/_scss/_speakers.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
}
1515

1616
a.speaker-info-toggle {
17-
color: $primary-light;
17+
color: $turquoise;
18+
&:hover {
19+
color: $link-color-light;
20+
}
1821
}
1922

2023
p.speaker-title,
@@ -143,10 +146,11 @@ p.speaker-inst {
143146
background-color: $speaker-selected-bg;
144147
border-top-left-radius: 10px;
145148
border-top-right-radius: 10px;
149+
outline: $speaker-selected-outline;
146150
}
147151

148152
.speaker-box.selected a {
149-
color: $white;
153+
color: $speaker-selected-color;
150154

151155
&:active,
152156
&:focus,
@@ -163,7 +167,7 @@ p.speaker-inst {
163167
.arrow-down {
164168
border-left: 140px solid transparent;
165169
border-right: 140px solid transparent;
166-
border-top: 15px solid $speaker-selected-bg;
170+
border-top: 15px solid $speaker-selected-arrow;
167171
height: 0;
168172
margin-top: 15px;
169173
opacity: 0;

0 commit comments

Comments
 (0)