Luna LMS

Check-in [b4c50c8eeb]
Login

Check-in [b4c50c8eeb]

Overview
Comment:Adjusted course schedule for medium displays.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | view
Files: files | file ages | folders
SHA3-256: b4c50c8eeb6c31524cef4d681feba8fdb9db8152c5566248241d38a49c920bcb
User & Date: florian 2024-04-10 09:25:56
Context
2024-04-12
13:37
Replacing heading font sizes with percent units. check-in: d962ca3cf0 user: florian tags: view
2024-04-10
09:26
Merged changes from view. check-in: 1ab55f43e7 user: florian tags: beta
09:25
Adjusted course schedule for medium displays. check-in: b4c50c8eeb user: florian tags: view
2024-04-09
15:24
Explicitly styled heading sizes. check-in: bcc6f0ea5a user: florian tags: view
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to luna_lms/webapp.py.

334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355

nav.course_navigation p {
	font-weight: 700 ;
	font-size: 0.85rem ;
	line-height: 0.94rem ;
	margin-top: 0px ;
	margin-bottom: 1.9rem ;
	width: 14rem ;
}

nav.course_navigation .bookmark {
	border-bottom:solid 1.5px black;
	font-size: 0.7rem ;
	padding-bottom: 1.25rem ;
	width: 14rem ;
}

nav.course_navigation .bookmark_icon div {
	width: 2.5rem ;
	height: 2.5rem ;
	padding: 0.3rem ;
	border: solid 1.5px black;







<






<







334
335
336
337
338
339
340

341
342
343
344
345
346

347
348
349
350
351
352
353

nav.course_navigation p {
	font-weight: 700 ;
	font-size: 0.85rem ;
	line-height: 0.94rem ;
	margin-top: 0px ;
	margin-bottom: 1.9rem ;

}

nav.course_navigation .bookmark {
	border-bottom:solid 1.5px black;
	font-size: 0.7rem ;
	padding-bottom: 1.25rem ;

}

nav.course_navigation .bookmark_icon div {
	width: 2.5rem ;
	height: 2.5rem ;
	padding: 0.3rem ;
	border: solid 1.5px black;
379
380
381
382
383
384
385





386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450

451
452
453
454
455
456
457
	padding-left: 0px ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > li {
	position: relative ;
	display: block ;
}






nav.course_navigation > .nav_line > .nav_line_offset > ol > li:before {
	content: counter(item) ;
	counter-increment: item ;
	font-family: 'Alata', sans-serif;
	font-size: 1.1rem ;
	display: inline-block ;
	position: relative ;
	top: 0.25rem ;
	border: solid 1.5px black;
	border-radius: 30px ;
	background: white ;
	text-align: center ;
	padding: 0.35rem 0rem 0rem 0rem ;
	width: 2.5rem ;
	height: 2.5rem ;
	margin-right: 0.75rem ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > li > a {
	display: inline-block;
	padding-left: 3.1rem;
	position: relative;
	top: -2.1rem;
	height: 2.6rem;
	padding-top: 0.6rem;
	width: 14rem ;
	margin-bottom: -1.25rem ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > li:nth-of-type(1)::before {
	margin-top: 0px ;
}

nav.course_navigation .nav_line .nav_line_offset ol a, nav.course_navigation ul a {
/*	text-decoration: none ;*/
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul {
	font-weight: normal ;
	padding-left: 0.5rem ;
}

/* Adapted from https://www.geeksforgeeks.org/how-to-set-indent-the-second-line-of-paragraph-using-css/ */

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul li {
	list-style: none;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul li a {
	display: inline-block;
	padding-left: 2.6rem;
	position: relative;
	top: -1.25rem;
	padding-top: 0.38rem;
	width: 12.6rem;
	margin-bottom: -0.6rem;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul > li:nth-of-type(1) {
	margin-top: -0.6rem;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul > li:last-of-type {
	margin-bottom: -0.3rem;

}

/* Adapted from https://stackoverflow.com/a/7990793/1132250 */

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul li:before {
	content: "" ;
	background-image: url(/static/dot_black.svg) ;







>
>
>
>
>




















|
|
|
|
|
|
|



















|



|
|
|
|
|
|
|



|



|
>







377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
	padding-left: 0px ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > li {
	position: relative ;
	display: block ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > li:last-child {
	height: 3rem ;
}


nav.course_navigation > .nav_line > .nav_line_offset > ol > li:before {
	content: counter(item) ;
	counter-increment: item ;
	font-family: 'Alata', sans-serif;
	font-size: 1.1rem ;
	display: inline-block ;
	position: relative ;
	top: 0.25rem ;
	border: solid 1.5px black;
	border-radius: 30px ;
	background: white ;
	text-align: center ;
	padding: 0.35rem 0rem 0rem 0rem ;
	width: 2.5rem ;
	height: 2.5rem ;
	margin-right: 0.75rem ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > li > a {
	display: inline-block ;
	padding-left: 3.1rem ;
	position: relative ;
	top: -2.1rem ;
	height: 2.6rem ;
	padding-top: 0.6rem ;
	width: 100% ;
	margin-bottom: -1.25rem ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > li:nth-of-type(1)::before {
	margin-top: 0px ;
}

nav.course_navigation .nav_line .nav_line_offset ol a, nav.course_navigation ul a {
/*	text-decoration: none ;*/
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul {
	font-weight: normal ;
	padding-left: 0.5rem ;
}

/* Adapted from https://www.geeksforgeeks.org/how-to-set-indent-the-second-line-of-paragraph-using-css/ */

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul li {
	list-style: none ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul li a {
	display: inline-block ;
	padding-left: 2.6rem ;
	position: relative ;
	top: -1.25rem ;
	padding-top: 0.38rem ;
	width: 100% ;
	margin-bottom: -0.6rem ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul > li:nth-of-type(1) {
	margin-top: -0.6rem ;
}

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul > li:last-of-type {
	margin-bottom: -0.3rem ;
	height: 2rem ;
}

/* Adapted from https://stackoverflow.com/a/7990793/1132250 */

nav.course_navigation > .nav_line > .nav_line_offset > ol > ul li:before {
	content: "" ;
	background-image: url(/static/dot_black.svg) ;
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
	background-image: url(/static/diamond_raspberry.svg) ;
}

.nav_line {
	border-left: solid 1.5px black ;
	border-top: solid 1.5px rgba(0,0,0,0) ;
	border-bottom: solid 1.5px rgba(0,0,0,0) ;
	width: 13.5rem ;
	position: relative ;
	left: 1.25rem ;
	margin-top: 1.6rem ;
	margin-bottom: 4.1rem ;
}

.nav_line_offset {







|







500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
	background-image: url(/static/diamond_raspberry.svg) ;
}

.nav_line {
	border-left: solid 1.5px black ;
	border-top: solid 1.5px rgba(0,0,0,0) ;
	border-bottom: solid 1.5px rgba(0,0,0,0) ;
	width: 100% ;
	position: relative ;
	left: 1.25rem ;
	margin-top: 1.6rem ;
	margin-bottom: 4.1rem ;
}

.nav_line_offset {