User:PavelCheloveckov/PythonProgress: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="width: 220px; background-color: #444; border-radius: 6px; padding: 6px; font-family: Consolas, monospace; color: white; font-size: 13px;">
<div style="width: 280px; background-color: #444; border-radius: 6px; padding: 6px; font-family: Consolas, monospace; color: white; font-size: 13px;">
   <div style="font-weight: bold; font-size: 13px; margin-bottom: 6px;">
   <div style="font-weight: bold; font-size: 13px; margin-bottom: 6px;">
     {{#if: {{{lang|}}} |
     Python Level 0 Beginner course
      {{#ifeq:{{{lang}}}|ru|Прогресс по Python — уровень изучения|Python Progress — learning level}}
      |
      {{#ifeq:{{#language:}}|ru|Прогресс по Python — уровень изучения|Python Progress — learning level}}
    }}
   </div>
   </div>
   <div style="position: relative; height: 20px; background: #888; border-radius: 4px; overflow: hidden;">
   <div style="position: relative; height: 22px; background: #888; border-radius: 4px; overflow: hidden;">
     <div style="
     <div style="
       width: {{{percent|0}}}%;
       width: {{{percent|0}}}%;
Line 28: Line 24:
       transform: translateX(-50%);
       transform: translateX(-50%);
       height: 100%;
       height: 100%;
       line-height: 20px;
       line-height: 22px;
       font-weight: bold;
       font-weight: bold;
       font-size: 12px;
       font-size: 12px;
       user-select: none;
       user-select: none;
       pointer-even
       pointer-events: none;
    ">{{{percent|0}}}%</div>
  </div>
</div>

Latest revision as of 10:39, 28 July 2025

   Python Level 0 — Beginner course
0%