User:PavelCheloveckov/PythonProgress: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="width: 320px; background-color: #444; border-radius: 6px; padding: 10px; font-family: Consolas, monospace; color: white;">
<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: 16px; margin-bottom: 8px;">
   <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: 30px; background: #888; border-radius: 5px; 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 14: Line 10:
         45deg,
         45deg,
         #4caf50,
         #4caf50,
         #4caf50 10px,
         #4caf50 8px,
         #388e3c 10px,
         #388e3c 8px,
         #388e3c 20px
         #388e3c 16px
       );
       );
       border-radius: 5px 0 0 5px;
       border-radius: 4px 0 0 4px;
       transition: width 0.5s ease-in-out;
       transition: width 0.5s ease-in-out;
     ">
     ">
Line 28: Line 24:
       transform: translateX(-50%);
       transform: translateX(-50%);
       height: 100%;
       height: 100%;
       line-height: 30px;
       line-height: 22px;
       font-weight: bold;
       font-weight: bold;
      font-size: 12px;
       user-select: none;
       user-select: none;
       pointer-events: none;
       pointer-events: none;

Latest revision as of 10:39, 28 July 2025

   Python Level 0 — Beginner course
0%