File tree 2 files changed +52
-4
lines changed
2 files changed +52
-4
lines changed Original file line number Diff line number Diff line change 50
50
51
51
<nav class="breadcrumbs">
52
52
<ul>
53
- <?php if ($ contextType == 'course-index ' ) : ?>
53
+ <?php if ($ contextType == 'course-index ' && $ embedded == true ) : ?>
54
54
<li>Creative Commons</li>
55
55
<?php endif ; ?>
56
- <?php if ($ contextType == 'course-page ' ) : ?>
57
- <li><a href="# ">Creative Commons</a></li>
56
+ <?php if ($ contextType == 'course-index ' && $ embedded == ' ' ) : ?>
57
+ <li><a href="https://creativecommons.org ">Creative Commons</a></li>
58
58
<?php endif ; ?>
59
-
59
+ <?php if ($ contextType == 'course-page ' && $ embedded == '' ) : ?>
60
+ <li><a href="https://creativecommons.org">Creative Commons</a></li>
61
+ <?php endif ; ?>
62
+
63
+ <?php if ($ contextType != 'course-index ' ) : ?>
60
64
<li><a href="#">top title of course</a></li>
65
+ <?php endif ; ?>
66
+
61
67
</ul>
62
68
</nav>
63
69
Original file line number Diff line number Diff line change @@ -480,6 +480,48 @@ main nav.pagination ul li span.current {
480
480
border : 2px solid var (--vocabulary-neutral-color-dark-gray );
481
481
}
482
482
483
+ .course-index > header {
484
+ display : none;
485
+ }
486
+
487
+ .course-index > footer {
488
+ /* display: none; */
489
+ }
490
+
491
+ .course-page > header {
492
+ display : none;
493
+ }
494
+
495
+ .course-page > footer {
496
+ /* display: none; */
497
+ }
498
+
499
+ .course-embedded > header {
500
+ display : none;
501
+ }
502
+
503
+ .course-embedded > footer {
504
+ display : none;
505
+ }
506
+
507
+ .course-embedded nav .breadcrumbs ul , .course-page nav .breadcrumbs ul , .course-index nav .breadcrumbs ul {
508
+ display : flex;
509
+ margin : 0 ;
510
+ justify-content : space-between;
511
+
512
+ list-style : none;
513
+ text-align : left;
514
+ font-size : .9em ;
515
+ }
516
+
517
+ .course-embedded nav .breadcrumbs ul li : after , .course-page nav .breadcrumbs ul li : after , .course-index nav .breadcrumbs ul li : after {
518
+ content : '>' ;
519
+ padding : 0 .5em ;
520
+ }
521
+
522
+ .course-embedded nav .breadcrumbs ul li : last-child : after , .course-page nav .breadcrumbs ul li : last-child : after , .course-index nav .breadcrumbs ul li : last-child : after {
523
+ display : none;
524
+ }
483
525
484
526
@media (min-width : 1500px ) {
485
527
You can’t perform that action at this time.
0 commit comments