fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #2904: Infographics support.
[edumed.git]
/
catalogue
/
static
/
catalogue
/
css
/
section_list.scss
diff --git
a/catalogue/static/catalogue/css/section_list.scss
b/catalogue/static/catalogue/css/section_list.scss
index
72e0f96
..
26e5e6c
100755
(executable)
--- a/
catalogue/static/catalogue/css/section_list.scss
+++ b/
catalogue/static/catalogue/css/section_list.scss
@@
-11,8
+11,12
@@
$px: 0.0625em;
}
}
}
}
+.sections-row {
+ display: table;
+}
+
.section-type {
.section-type {
- display:
inline-block
;
+ display:
table-cell
;
vertical-align: top;
padding: 20*$px;
vertical-align: top;
padding: 20*$px;
@@
-21,13
+25,20
@@
$px: 0.0625em;
margin: 0 0 1em 0;
font-size: 1em;
}
margin: 0 0 1em 0;
font-size: 1em;
}
+
+ img {
+ float: left;
+ margin-right: 16*$px;
+ margin-bottom: 16*$px;
+ }
}
.section-type-synthetic {
}
.section-type-synthetic {
- width: 3
0
0*$px - 2 * 20*$px;
+ width: 3
4
0*$px - 2 * 20*$px;
}
.section-type-course {
}
.section-type-course {
- width: 3
4
0*$px - 2 * 20*$px;
+ width: 3
0
0*$px - 2 * 20*$px;
}
}
+
.section-type-project {
width: 640*$px - 2 * 20*$px;
}
.section-type-project {
width: 640*$px - 2 * 20*$px;
}
@@
-90,6
+101,12
@@
$px: 0.0625em;
background: white;
}
}
background: white;
}
}
+ .section-type-synthetic {
+ width: 300*$px - 2 * 20*$px;
+ }
+ .section-type-course {
+ width: 340*$px - 2 * 20*$px;
+ }
}
}