Sfoglia il codice sorgente

:art: 课程标题字号变大

visuddhinanda 5 anni fa
parent
commit
74e9b06de3
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 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;">';
         let summary = "";
         try{

+ 1 - 1
app/course/lesson.php

@@ -85,7 +85,7 @@ echo "</div>";
 
         html+= '<div style="flex:7;">';
         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="">';
         let summary = "";
         try{