X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/a1fc6bb1bbb481ba116d8873ffd7cb3f4f0a6488..c75a826660e072154b4f1f9cdf455cb9765e1fc4:/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 --- 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 { - display: inline-block; + display: table-cell; vertical-align: top; padding: 20*$px; @@ -21,13 +25,20 @@ $px: 0.0625em; margin: 0 0 1em 0; font-size: 1em; } + + img { + float: left; + margin-right: 16*$px; + margin-bottom: 16*$px; + } } .section-type-synthetic { - width: 300*$px - 2 * 20*$px; + width: 340*$px - 2 * 20*$px; } .section-type-course { - width: 340*$px - 2 * 20*$px; + width: 300*$px - 2 * 20*$px; } + .section-type-project { width: 640*$px - 2 * 20*$px; } @@ -90,6 +101,12 @@ $px: 0.0625em; background: white; } } + .section-type-synthetic { + width: 300*$px - 2 * 20*$px; + } + .section-type-course { + width: 340*$px - 2 * 20*$px; + } }