File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,18 +19,6 @@ p kbd {
1919 font-style : normal;
2020}
2121
22- svg .icon {
23- width : 1em ;
24- height : 1em ;
25- transform : translate (0px , 0.1em );
26- overflow : visible;
27- stroke-width : 2.5px ;
28- stroke : currentColor;
29- fill : none;
30- stroke-linecap : butt;
31- stroke-linejoin : miter;
32- }
33-
3422/*** Credits ***/
3523
3624.lesson-attribution {
Original file line number Diff line number Diff line change @@ -127,6 +127,18 @@ a:hover {
127127 margin-top : 1em ;
128128}
129129
130+ svg .icon {
131+ width : 1em ;
132+ height : 1em ;
133+ transform : translate (0px , 0.1em );
134+ overflow : visible;
135+ stroke-width : 2.5px ;
136+ stroke : currentColor;
137+ fill : none;
138+ stroke-linecap : butt;
139+ stroke-linejoin : miter;
140+ }
141+
130142/*************************/
131143
132144pre {
@@ -155,3 +167,21 @@ code {
155167 padding : 2px 4px ;
156168 white-space : pre-wrap;
157169}
170+
171+ /*** Material lists ***/
172+
173+ ul .material-list {
174+ padding : 0 ;
175+ padding-left : 1.5em ;
176+ }
177+
178+ ul .material-list > li {
179+ list-style-type : none;
180+ text-indent : -1.5em ;
181+ }
182+
183+ ul .material-list > li svg .icon {
184+ padding-right : 0.5em ;
185+ box-sizing : content-box;
186+ color : black;
187+ }
Original file line number Diff line number Diff line change 2727{%- endmacro -%}
2828
2929{%- macro material_list(materials, filter_type=None) %}
30- < ul >
30+ < ul class =" material-list " >
3131 {% for mat in materials %}
3232 {% if filter_type == None or mat.url_type == filter_type %}
3333 {{ material_li(mat) }}
Original file line number Diff line number Diff line change 11{% extends "_base.html" %}
2- {% from "_macros .html" import material_list with context %}
2+ {% from "_material_macros .html" import material_list with context %}
33
44{% block content %}
55
Original file line number Diff line number Diff line change 11{% extends "_base.html" %}
2- {% from "_macros .html" import material_list with context %}
2+ {% from "_material_macros .html" import material_list with context %}
33
44{% macro session_heading(session, index, plan) %}
55 {% if plan|length > 1 %}
Original file line number Diff line number Diff line change 11{% extends "_base.html" %}
2- {% from "_macros .html" import material_list with context %}
2+ {% from "_material_macros .html" import material_list with context %}
33
44{% block content %}
55
You can’t perform that action at this time.
0 commit comments