Ver Fonte

:art: 课程标题字号变大

visuddhinanda há 5 anos atrás
pai
commit
74e9b06de3
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      app/course/course.php
  2. 1 1
      app/course/lesson.php

+ 1 - 1
app/course/course.php

@@ -86,7 +86,7 @@ echo "</div>";
 
 
         html+= '<div style="flex:7;">';
         html+= '<div style="flex:7;">';
         html+= '<div class="pd-10">';
         html+= '<div class="pd-10">';
-        html+= '<div class="title" style="padding-bottom:5px;font-size:100%;font-weight:600;"><a href="../course/lesson.php?id='+lesson["id"]+'">'+lesson["title"]+'</a></div>';
+        html+= '<div class="title" style="padding-bottom:5px;font-size:200%;font-weight:600;"><a href="../course/lesson.php?id='+lesson["id"]+'" style="color:var(--main-color);">'+lesson["title"]+'</a></div>';
         html += '<div style="overflow-y: scroll;max-height: 20em;">';
         html += '<div style="overflow-y: scroll;max-height: 20em;">';
         let summary = "";
         let summary = "";
         try{
         try{

+ 1 - 1
app/course/lesson.php

@@ -85,7 +85,7 @@ echo "</div>";
 
 
         html+= '<div style="flex:7;">';
         html+= '<div style="flex:7;">';
         html+= '<div class="pd-10">';
         html+= '<div class="pd-10">';
-        html+= '<div class="title" style="padding-bottom:5px;font-size:100%;font-weight:600;">'+lesson["title"]+'</div>';
+        html+= '<div class="title" style="padding-bottom:5px;font-size:200%;font-weight:600;">'+lesson["title"]+'</div>';
         html += '<div style="">';
         html += '<div style="">';
         let summary = "";
         let summary = "";
         try{
         try{