@@ -1017,47 +1017,49 @@ pre, #app .ace_editor, .stack-view, .subtitles-band-frame {
10171017 border-radius : 10px ;
10181018 padding : 15px ;
10191019 margin-top : 40px ;
1020+
1021+ > h2 :first-child {
1022+ margin-top : 8px ;
1023+ font-size : 22px !important ;
1024+ }
1025+
1026+ > h3 :first-child {
1027+ margin-top : 4px ;
1028+ }
1029+
1030+ > p {
1031+ & :first-child {
1032+ margin-top : 0 ;
1033+ }
1034+ & :last-child {
1035+ margin-bottom : 0 ;
1036+ }
1037+ }
1038+
1039+ & :before {
1040+ float : left ;
1041+ margin : .2em 1em .5em .2em ;
1042+ }
1043+
1044+ em {
1045+ color : #057 ;
1046+ }
10201047}
1048+
10211049.morceau_cours ,
10221050.explanationBlock.course {
10231051 border-color : #405 ;
10241052 background : #FCF8FF ;
1025- }
1026- .morceau_cours :before ,
1027- .explication_commandes :before ,
1028- .correction .histoireCulture :before ,
1029- .explanationBlock :before ,
1030- .correction .explanationBlock :before {
1031- float : left ;
1032- margin : .2em 1em .5em .2em ;
1033- }
1034- .morceau_cours :before ,
1035- .explanationBlock.course .instructions-icon ,
1036- .explanationBlock.courseTips .instructions-icon {
1037- width : 1em ;
1038- height : 1em ;
1039- float : left ;
1040- margin-right : 8px ;
1041- vertical-align : middle ;
1042- color : #405 ;
1043- }
1044- .explanationBlock > h2 :first-child {
1045- margin-top : 8px ;
1046- font-size : 22px !important ;
1047- }
1048- .explication_commandes > h3 :first-child ,
1049- .histoireCulture > h3 :first-child ,
1050- .morceau_cours > h3 :first-child ,
1051- .explanationBlock > h3 :first-child {
1052- margin-top : 4px ;
1053- }
1054- .explanationBlock > p :first-child ,
1055- .morceau_cours > p :first-child {
1056- margin-top : 0 ;
1057- }
1058- .explanationBlock > p :last-child ,
1059- .morceau_cours > p :last-child {
1060- margin-bottom : 0 ;
1053+
1054+ & :before ,
1055+ .instructions-icon {
1056+ width : 1em ;
1057+ height : 1em ;
1058+ float : left ;
1059+ margin-right : 8px ;
1060+ vertical-align : middle ;
1061+ color : #405 ;
1062+ }
10611063}
10621064
10631065.task-mission {
@@ -1079,6 +1081,15 @@ pre, #app .ace_editor, .stack-view, .subtitles-band-frame {
10791081 padding : 0.5rem 0.8rem ;
10801082 }
10811083
1084+ .explanationBlock pre , .explanationBlock .editor {
1085+ background : #f5f3ff !important ;
1086+ border : 1px solid #ccc !important ;
1087+ border-left : 5px solid #405 !important ;
1088+ .ace_editor {
1089+ background : initial !important ;
1090+ }
1091+ }
1092+
10821093 pre .task-example-input {
10831094 background : #ecfdf5 !important ;
10841095 border-left : 5px solid #10b981 !important ;
@@ -1090,13 +1101,4 @@ pre, #app .ace_editor, .stack-view, .subtitles-band-frame {
10901101 border-left : 5px solid #3b82f6 !important ;
10911102 color : #1e3a8a !important ;
10921103 }
1093-
1094- .explanationBlock pre , .explanationBlock .editor {
1095- background : #f5f3ff !important ;
1096- border : 1px solid #ccc !important ;
1097- border-left : 5px solid #405 !important ;
1098- .ace_editor {
1099- background : initial !important ;
1100- }
1101- }
11021104}
0 commit comments