Skip to content

Commit 478caf9

Browse files
committed
tweaks for school of data courses
1 parent 72c590d commit 478caf9

File tree

9 files changed

+130
-27
lines changed

9 files changed

+130
-27
lines changed

css/grey.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/okfn-common.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/okfn-wordpress.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.

images/arrow-right-white.png

1.04 KB
Loading

less/grey.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ a.well:hover {
250250
border: 1px solid #e9eaea;
251251
color: #333333;
252252
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
253-
padding:0px 10px;
254253
}
255254
#sidebar .widget h1,
256255
#sidebar .widget h2,

less/okfn-common.less

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,33 @@ input[type="color"]:focus,
185185
max-width: 940px;
186186
}
187187

188+
a.thumbnail:hover {
189+
border-color: #1A988B;
190+
-webkit-box-shadow: 0 1px 4px rgba(26, 152, 139, 0.25);
191+
-moz-box-shadow: 0 1px 4px rgba(26, 152, 139, 0.25);
192+
box-shadow: 0 1px 4px rgba(26, 152, 139, 0.25);
193+
}
194+
195+
a.thumbnail:hover {
196+
text-decoration:none;
197+
}
198+
199+
.thumbnail > .row [class*="span"]:first-of-type {
200+
padding:10px 0px 10px 10px;
201+
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
202+
-moz-box-sizing: border-box; /* Firefox, other Gecko */
203+
box-sizing: border-box; /* Opera/IE 8+ */
204+
}
205+
.thumbnail > .row .caption {
206+
padding: 9px 18px 9px 0px;
207+
}
208+
@media (max-width: 767px) {
209+
.thumbnail > .row [class*="offset"] {
210+
margin-left:9px;
211+
}
212+
}
213+
214+
188215
/* Main CSS */
189216
/* ======== */
190217
html {

less/okfn-wordpress.less

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ ul#members-list {
429429
border: 1px solid #202020;
430430
color: #ebebeb;
431431
margin-bottom:15px;
432+
padding:0px 10px;
432433
}
433434

434435
#sidebar .widget h1,
@@ -1706,6 +1707,10 @@ body {
17061707
margin-left:95px;
17071708
}
17081709

1710+
#content .thumbnail > .row h3 {
1711+
margin-bottom: 2px;
1712+
margin-top: 14px;
1713+
}
17091714

17101715

17111716
/* ==== */
@@ -2902,6 +2907,46 @@ body > .corner.ribbon img {
29022907
}
29032908

29042909

2910+
/* Side Link */
2911+
/* ========= */
2912+
a.sidelink {
2913+
display:block;
2914+
position:relative;
2915+
padding-right:27px;
2916+
display:table;
2917+
}
2918+
@media (min-width: 768px) {
2919+
a.sidelink:after {
2920+
content: '';
2921+
font-size: 40px;
2922+
color: #FFF;
2923+
background-color: #DDDDDD;
2924+
display: block;
2925+
position: absolute;
2926+
top: 0;
2927+
bottom: 0;
2928+
right: 0;
2929+
width: 27px;
2930+
-webkit-border-top-right-radius: inherit;
2931+
-webkit-border-bottom-right-radius: inherit;
2932+
-moz-border-radius-topright: inherit;
2933+
-moz-border-radius-bottomright: inherit;
2934+
border-top-right-radius: inherit;
2935+
border-bottom-right-radius: inherit;
2936+
background-image: url(../images/arrow-right-white.png);
2937+
background-repeat: no-repeat;
2938+
background-position: center center;
2939+
transition: all 0.2s ease-in-out 0s;
2940+
-moz-transition: all 0.2s ease-in-out 0s;
2941+
-webkit-transition: all 0.2s ease-in-out 0s;
2942+
-o-transition: all 0.2s ease-in-out 0s;
2943+
}
2944+
a.sidelink:hover:after {
2945+
background-color: #1A988B;
2946+
}
2947+
}
2948+
2949+
29052950
/* Pull Quote */
29062951
/* ========== */
29072952

@@ -3314,8 +3359,7 @@ body.fluid > .container {
33143359
p:empty {
33153360
display: none;
33163361
}
3317-
a.toc-anchor+br
3318-
{
3362+
a.toc-anchor+br {
33193363
display: none;
33203364
}
33213365

less/school.less

Lines changed: 53 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ input[type="reset"] {
103103
border-color: #0ca9d2;
104104
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
105105
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); /* Not modified, but ie seems to not render radius without it */
106+
border:none;
106107
}
107108
.btn-primary:hover,
108109
.btn-primary:active,
@@ -119,7 +120,6 @@ input[type=reset]:hover {
119120
background-color: #0ca9d2 \9;
120121
}
121122

122-
#sidebar .widget input[type="submit"],
123123
.btn-inverse {
124124
background-color: #FFF;
125125
background-image: -moz-linear-gradient(top, #FFF, #FFF);
@@ -133,14 +133,6 @@ input[type=reset]:hover {
133133
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); /* Not modified, but ie seems to not render radius without it */
134134
color:@primary;
135135
}
136-
#sidebar .widget input[type="submit"] {
137-
border:none;
138-
}
139-
#sidebar .widget input[type="submit"]:hover,
140-
#sidebar .widget input[type="submit"]:active,
141-
#sidebar .widget input[type="submit"].active,
142-
#sidebar .widget input[type="submit"].disabled,
143-
#sidebar .widget input[type="submit"][disabled],
144136
.btn-inverse:hover,
145137
.btn-inverse:active,
146138
.btn-inverse.active,
@@ -149,7 +141,6 @@ input[type=reset]:hover {
149141
background-color: #FFF;
150142
color:@primary;
151143
}
152-
#sidebar .widget .btn.active,
153144
.btn-inverse:active, .btn-info.active {
154145
background-color: #FFF \9;
155146
}
@@ -338,12 +329,30 @@ section.coloured .well p {
338329
}
339330
#sidebar .widget {
340331
background-image:none;
341-
background-color:@primary;
342-
border-color:@primary;
343-
color:#FFF;
332+
background-color:fade(@primary, 13%);
333+
border-color:fade(@primary, 0%);
334+
color: #444444;
344335
}
345336
#sidebar .widget > ul li {
346-
border-top-color:#FFF;
337+
border-top-color:fade(@primary, 35%);
338+
}
339+
340+
#sidebar .widget h1,
341+
#sidebar .widget h2,
342+
#sidebar .widget h3,
343+
#sidebar .widget h4,
344+
#sidebar .widget h5,
345+
#sidebar .widget h6 {
346+
color:@primary;
347+
}
348+
#sidebar .widget a {
349+
color:#333333;
350+
}
351+
#sidebar .widget label {
352+
color: #444444;
353+
}
354+
#sidebar .tb_tweet-info {
355+
color: #444444;
347356
}
348357

349358
.gce-widget-grid .gce-calendar {
@@ -405,7 +414,7 @@ body.home-page,
405414
line-height:22px;
406415
}
407416
.home-page > .container > .row section:nth-of-type(odd) {
408-
background-color:#dbf3fa;
417+
background-color:fade(@primary, 13%);
409418
}
410419
body > .container > .row section > .container {
411420
padding: 20px 0px;
@@ -454,18 +463,14 @@ body.single {
454463
font-size: 14px;
455464
line-height:18px;
456465
}
457-
#sidebar .widget,
458-
#sidebar .widget p {
459-
color:#FFF;
460-
}
461466
#sidebar .widget h1,
462467
#sidebar .widget h2,
463468
#sidebar .widget h3,
464469
#sidebar .widget h4,
465470
#sidebar .widget h5,
466471
#sidebar .widget h6 {
467472
font-size: 18px;
468-
margin:0px;
473+
margin-bottom:0px;
469474
}
470475

471476

@@ -489,3 +494,31 @@ body > .tabbable.mailing-lists .nav li a {
489494
-moz-border-radius: 0px;
490495
border-radius: 0px;
491496
}
497+
498+
499+
/* Thumbnails */
500+
/* ========== */
501+
.thumbnail,
502+
a.thumbnail:hover {
503+
border: none;
504+
box-shadow: none;
505+
-webkit-box-shadow: none;
506+
-moz-box-shadow: none;
507+
}
508+
.thumbnail {
509+
background-color:fade(@primary, 13%);
510+
}
511+
a.thumbnail:hover {
512+
background-color:fade(@primary, 20%);
513+
}
514+
.thumbnail > .row img {
515+
border:solid 3px #FFF;
516+
}
517+
518+
519+
a.sidelink:after {
520+
background-color: @primary;
521+
}
522+
a.sidelink:hover:after {
523+
background-color: @primary;
524+
}

0 commit comments

Comments
 (0)