diff --git a/assets/components/content-types/study-plan/study-plan.scss b/assets/components/content-types/study-plan/study-plan.scss index bcd53c867..04c091d74 100644 --- a/assets/components/content-types/study-plan/study-plan.scss +++ b/assets/components/content-types/study-plan/study-plan.scss @@ -1,17 +1,17 @@ @charset 'utf-8'; -.table-like { - $table-cours-template-columns: minmax(200px, 3fr) minmax(auto, 1fr) minmax(200px, 3fr); - $table-grid-template-columns: 1fr $table-cours-template-columns 2fr 2fr 2fr minmax(200px, 3fr) 1fr; +$table-cours-template-columns: minmax(200px, 3fr) minmax(auto, 1fr) minmax(200px, 3fr); +$table-grid-template-columns: 1fr $table-cours-template-columns 2fr 2fr 2fr minmax(200px, 3fr) 1fr; +.table-like { --table-columns: #{$table-grid-template-columns}; overflow-x: scroll; max-width: 100%; h4 { - font-weight: $font-weight-bold; font-size: $font-size-base; + font-weight: $font-weight-bold; } // Lines @@ -42,10 +42,10 @@ } .first-line { - color: $table-head-color; + font-size: 0.6875 * $font-size-base; font-weight: $font-weight-bold; + color: $table-head-color; text-transform: uppercase; - font-size: 0.6875 * $font-size-base; > div { border-top: $table-border-width solid $table-border-color; @@ -88,7 +88,7 @@ margin-bottom: 0; padding-bottom: $headings-margin-bottom; } - + .line-down + h3, .line-down + h4 { padding-top: 2em;