Skip to content

Commit 75569f7

Browse files
committed
fixes for new ribbon
1 parent e0db716 commit 75569f7

File tree

8 files changed

+23
-20
lines changed

8 files changed

+23
-20
lines changed

css/blue.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/school.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/turquoise.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

less/blue.less

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,11 @@ a:hover {
8080
}
8181

8282
.okfn-ribbon a {
83-
background-position: center -227px;
84-
}
85-
.okfn-ribbon a:hover {
86-
background-position: center -127px;
83+
background-position: center -200px;
8784
}
88-
#okf-panel {
89-
border-bottom-color:#353535;
85+
#okf-panel,
86+
.okfn-ribbon a {
87+
border-bottom-color:#2D2D2D;
9088
}
9189

9290
header.has-subheader .navbar .nav .active > a {

less/okfn-wordpress.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3831,4 +3831,11 @@ body > footer h3 {
38313831
background-position: 0px -150px;
38323832
}
38333833

3834+
/* Cut ribbon short */
3835+
.okfn-ribbon a {
3836+
height:65px;
3837+
border-bottom:solid #7ab800 5px;
3838+
margin-top:-4px;
3839+
}
3840+
38343841
@import "carousels.less";

less/school.less

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,12 @@ code {
304304
margin-left:10px;
305305
}
306306
.okfn-ribbon a {
307-
background-position: center -227px;
308-
}
309-
.okfn-ribbon a:hover {
310-
background-position: center -127px;
307+
background-position: center -200px;
308+
margin-top:-2px;
311309
}
310+
.okfn-ribbon a,
312311
#okf-panel {
313-
border-bottom-color:#353535;
312+
border-bottom-color:#2D2D2D;
314313
}
315314

316315

less/turquoise.less

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,12 @@ header .dropdown-toggle:after {
168168
margin-left:10px;
169169
}
170170
.okfn-ribbon a {
171-
background-position: center -127px;
172-
}
173-
.okfn-ribbon a:hover {
174-
background-position: center -27px;
171+
background-position: center -200px;
172+
height:100px;
173+
border:none;
175174
}
176175
#okf-panel {
177-
border-bottom-color:#5d5d5d;
176+
border-bottom-color:#2D2D2D;
178177
}
179178

180179
.banner.full-width,

style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)